L4linux compile errors..

Wankeun Jo jowkju at postech.ac.kr
Wed Dec 20 03:05:08 CET 2006


Hi, 

I use L4Linux-2.6.18 version on pxa255 board. l4linux boots well and then now tried to

expand my work for device drivers.


I compiled dice and dm_generic, dm_phys packages as well. 

I want to use the file in "l4linux/arch/arm/mach-pxa/*", so I add the files to be compiled in

"l4linux-2.6/arch/l4/Makefile"


And I link all the files of "include/asm-arm/arch-pxa/*.h" in "asm-l4/arch-arm/arch"
for use.


And then I tried to compile l4linux, but failed with the following messages

---------------
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/l4/kernel/asm-offsets.s
In file included from include/linux/sched.h:49,
                 from arch/l4/kernel/asm-offsets.c:93:
include/linux/jiffies.h:211:31: missing binary operator before token "#"
In file included from include/linux/sched.h:49,
                 from arch/l4/kernel/asm-offsets.c:93:
include/linux/jiffies.h: In function `timespec_to_jiffies':
include/linux/jiffies.h:316: error: syntax error at '#' token
include/linux/jiffies.h:316: error: parse error before "Current"
include/linux/jiffies.h:316: error: syntax error at '#' token
include/linux/jiffies.h:316: error: parse error before "Current"
include/linux/jiffies.h:316: error: syntax error at '#' token
include/linux/jiffies.h:316: error: parse error before "Current"
include/linux/jiffies.h:316: error: syntax error at '#' token
include/linux/jiffies.h:316: error: parse error before "Current"
include/linux/jiffies.h:316: error: syntax error at '#' token
include/linux/jiffies.h:316: error: parse error before "Current"

  .   .    .    .

include/linux/jiffies.h:389: error: syntax error at '#' token
include/linux/jiffies.h:389: error: parse error before "Current"
include/linux/jiffies.h:417:6: missing binary operator before token "#"
---------------
The error messages are so long.
What's the problem?? Is it a compiler problem??



Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20061220/1578d8b7/attachment.html>


More information about the l4-hackers mailing list