issues in building l4re

Adam Lackorzynski adam at os.inf.tu-dresden.de
Sat Jul 18 00:19:36 CEST 2015


Hi,

On Fri Jul 17, 2015 at 11:03:33 +0200, AVK wrote:
> I have been trying to build l4re and have the following issue. I am
> building l4re snapshot with some other modules not included in the package.
> The issue is when i am building moe, and it has not been changed and is the
> one that is included in the package. I am  building it on a virtualbox
> running xubuntu 15.04 (in case it helps to find the issue or could be the
> problem). I am not sure how to move ahead with this problem and am curious
> if anyone has ideas or pointers to look for/at.
> 
> 
> /obj/l4/x86/include/l4/re/error_helper:64:26: error: ‘L4_UNLIKELY’ was not
> declared in this scope
>    if (L4_UNLIKELY(err < 0))
>                           ^
> /home/avk/Thesis/l4re-snapshot-2014092821/obj/l4/x86/include/l4/re/error_helper:
> In function ‘long int L4Re::chksys(const l4_msgtag_t&, const char*,
> l4_utcb_t*, long int)’:
> /home/avk/Thesis/l4re-snapshot-2014092821/obj/l4/x86/include/l4/re/error_helper:86:32:
> error: ‘L4_UNLIKELY’ was not declared in this scope
>    if (L4_UNLIKELY(t.has_error()))
>                                 ^
> /home/avk/Thesis/l4re-snapshot-2014092821/src/l4/mk/binary.inc:818: recipe
> for target 'main.o' failed
> 
> The build output can be seen here : http://pastebin.com/Xuu0eKAY

Strange. Please go to
/home/avk/Thesis/l4re-snapshot-2014092821/obj/l4/x86/pkg/moe/server/src/OBJ-x86_586-l4f
and do "make main.i". Then look at the main.i file and see whether it
properly includes l4/sys/compiler.h as that's the file where L4_UNLIKELY
is defined in (or make the file available to me).


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the l4-hackers mailing list