I'm building for the ARM target on an x86 host system running Fedora
Core 6 using book Version SVN-0.0.1-20070909.
At step 6.43, sysklogd-1.4.1, I ran into numerous compilation errors:
arm-unknown-linux-gnu-gcc -O3 -DSYSV -fomit-frame-pointer -Wall
-fno-strength-reduce -DFSSTND -c ksym_mod.c
In file included from /mnt/clfs/usr/include/asm/local.h:1,
from /mnt/clfs/usr/include/linux/module.h:15,
from ksym_mod.c:96:
/mnt/clfs/usr/include/asm-generic/local.h:23: error: expected
specifier-qualifier-list before 'atomic_long_t'
In file included from ksym_mod.c:96:
/mnt/clfs/usr/include/linux/module.h:44: error: field 'attr' has
incomplete type
/mnt/clfs/usr/include/linux/module.h:55: error: field 'kobj' has
incomplete type
etc.
For example, looking at the last one, /mnt/clfs/usr/include/linux/module.h:55:
struct kobject kobj;
I can't find any definition of struct kobject anywhere in
linux-headers-2.6.22.6-09032007. Was there an error in sanitizing the
headers?
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support