Hello community,
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
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
Okay, I just started clean and built everything again and it worked. Not sure why i had that issue in the first place. I am trying to build dde (because ankh is dependent on it) and get the issue
fatal error: asm/posix_types.h: No such file or directory #include <asm/posix_types.h>
AFAIK, the pkg linux-26-headers should have these headers. Is there another package that should be compiled as well ? I have all the dependencies compiled as listed out on the Control file.
Is there an active IRC channel for l4/fiasco/l4re ?
On 18 July 2015 at 00:19, Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
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@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
This issue has been fixed. Apparently I had a buggy/old version of one of the dependencies (most probably linux-26-headers). Sorry for spamming the mailing list with number of emails.
On 20 July 2015 at 12:18, AVK avinash@avinash.com.np wrote:
Okay, I just started clean and built everything again and it worked. Not sure why i had that issue in the first place. I am trying to build dde (because ankh is dependent on it) and get the issue
fatal error: asm/posix_types.h: No such file or directory #include <asm/posix_types.h>
AFAIK, the pkg linux-26-headers should have these headers. Is there another package that should be compiled as well ? I have all the dependencies compiled as listed out on the Control file.
Is there an active IRC channel for l4/fiasco/l4re ?
On 18 July 2015 at 00:19, Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
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@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
--
Avinash Kundaliya avinash@avinash.com.np http://avinash.com.np
l4-hackers@os.inf.tu-dresden.de