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.
Hi,
On Wed Dec 20, 2006 at 11:05:08 +0900, Wankeun Jo wrote:
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 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.
You cannot do the PXA adaption this way. L4Linux is already adapted to a platform, to the 'L4 platform', so there's only one. If you want to get a specific device running, you could do it like done in mach_integrator.c for example. That works at least for the network card. Other devices should hopefully not be much different but I haven't done much stuff with this yet. Which device(s) do you want to use?
Adam
l4-hackers@os.inf.tu-dresden.de