Hello,
current cvs version of l4linux does not build (please see attached log). Resolving this by putting the headers manually in the right place gives more errors like that. There must be something broken in the build process.
Thanks for help.
Stefan
Creating asm-l4/api-l4env -> asm/api symlink Creating asm-l4/l4lxapi/impl symlink Creating asm-l4/l4x-i386 -> asm/l4x symlink Creating asm-l4/l4-arch/asm symlink Creating asm-l4/i386-arch/asm symlink CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm -> include/asm-l4 SPLIT include/linux/autoconf.h -> include/config/* CC arch/l4/kernel/asm-offsets.s In file included from include/asm-l4/l4-arch/asm/processor.h:12, from include/asm-l4/i386-arch/asm/thread_info.h:17, from include/linux/thread_info.h:21, from include/linux/preempt.h:10, from include/linux/spinlock.h:50, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/l4/kernel/asm-offsets.c:8: include/asm-l4/l4-arch/asm/segment.h:8:28: l4/sys/segment.h: No such file or directory In file included from include/asm-l4/i386-arch/asm/thread_info.h:17, from include/linux/thread_info.h:21, from include/linux/preempt.h:10, from include/linux/spinlock.h:50, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/l4/kernel/asm-offsets.c:8: include/asm-l4/l4-arch/asm/processor.h:25:26: l4/sys/types.h: No such file or directory In file included from include/asm-l4/i386-arch/asm/thread_info.h:17, from include/linux/thread_info.h:21, from include/linux/preempt.h:10, from include/linux/spinlock.h:50, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/l4/kernel/asm-offsets.c:8: include/asm-l4/l4-arch/asm/processor.h:407: error: syntax error before "l4_threadid_t" include/asm-l4/l4-arch/asm/processor.h:407: warning: no semicolon at end of struct or union include/asm-l4/l4-arch/asm/processor.h:408: error: syntax error before ':' token include/asm-l4/l4-arch/asm/processor.h:409: error: syntax error before ':' token include/asm-l4/l4-arch/asm/processor.h:410: error: syntax error before ':' token include/asm-l4/l4-arch/asm/processor.h:411: error: syntax error before ':' token include/asm-l4/l4-arch/asm/processor.h:412: error: syntax error before ':' token include/asm-l4/l4-arch/asm/processor.h:413: error: syntax error before ':' token include/asm-l4/l4-arch/asm/processor.h:414: error: syntax error before ':' token include/asm-l4/l4-arch/asm/processor.h:426: error: syntax error before '}' token In file included from arch/l4/kernel/asm-offsets.c:8: include/linux/sched.h:804: error: field `thread' has incomplete type In file included from include/asm-l4/l4-arch/asm/suspend.h:6, from include/linux/suspend.h:5, from arch/l4/kernel/asm-offsets.c:11: include/asm-l4/l4-arch/asm/desc.h: In function `write_ldt_entry': include/asm-l4/l4-arch/asm/desc.h:116: warning: implicit declaration of function `fiasco_ldt_set' include/asm-l4/l4-arch/asm/desc.h: In function `load_TLS': include/asm-l4/l4-arch/asm/desc.h:130: warning: implicit declaration of function `fiasco_gdt_set' include/asm-l4/l4-arch/asm/desc.h:130: error: dereferencing pointer to incomplete type include/asm-l4/l4-arch/asm/desc.h:130: error: dereferencing pointer to incomplete type make[1]: *** [arch/l4/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2
On Fri Aug 18, 2006 at 20:15:00 +0200, Stefan Scheler wrote:
current cvs version of l4linux does not build (please see attached log). Resolving this by putting the headers manually in the right place gives more errors like that. There must be something broken in the build process.
Did you build your L4 user land first? This sounds like <objdir>/include is not really populated.
Adam
Did you build your L4 user land first? This sounds like <objdir>/include is not really populated.
Sure. I checked out a fresh l4linux-2.6-env and l4linux-2.6.
I'm currently using both modules in a cvs version from 2006-04-18 which builds just fine in this regard. So this looks like bug to me.
Stefan
On Sat Aug 19, 2006 at 06:40:29 +0000, Stefan Scheler wrote:
Did you build your L4 user land first? This sounds like <objdir>/include is not really populated.
Sure. I checked out a fresh l4linux-2.6-env and l4linux-2.6.
I'm currently using both modules in a cvs version from 2006-04-18 which builds just fine in this regard. So this looks like bug to me.
Yes, that could very well be the case. Unfortunately I cannot comment on anything until you become more specific, like providing a transcript of what you've been doing along with the system you are using (distribution etc.), or just sending a patch to fix the bug. In my environment L4Linux just compiles fine.
Thanks, Adam
l4-hackers@os.inf.tu-dresden.de