uClinux-dev,hi ^_^
Some problems in compiling.
I use uClinux-dist-20070130.tar.gz to make a 2.6.19 kernel for arm7
S3C44B0X(no mmu).
The first three steps, "make lib_only", "make user_only", "make romfs",
all of them are OK.
But in "make" step, some problems I cannot overcome:
Different cross-compile toolchains I adpoted, differet errors happened.
1. When I used arm-linux-gcc (GCC) 3.4.4 to compile, some information came from
compilation:
neildebian:/home/neil/uClinux-dist# make
make -C tools/ucfront
make[1]: Entering directory `/home/neil/uClinux-dist/tools/ucfront'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/neil/uClinux-dist/tools/ucfront'
ln -sf /home/neil/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/neil/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /home/neil/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make ARCH=arm CROSS_COMPILE=arm-linux- -j1 -C linux-2.6.x || exit 1
make[1]: Entering directory `/home/neil/uClinux-dist/linux-2.6.x'
CHK include/linux/version.h
make[2]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/spinlock.h:53,
from include/linux/capability.h:45,
from include/linux/sched.h:46,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/kernel.h:10:20: stdarg.h: No such file or directory
In file included from include/linux/spinlock.h:53,
from include/linux/capability.h:45,
from include/linux/sched.h:46,
from arch/arm/kernel/asm-offsets.c:13:
include/linux/kernel.h:115: error: parse error before "va_list"
include/linux/kernel.h:119: error: parse error before "va_list"
include/linux/kernel.h:123: error: parse error before "va_list"
include/linux/kernel.h:130: error: parse error before "va_list"
include/linux/kernel.h:145: error: parse error before "va_list"
make[2]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/home/neil/uClinux-dist/linux-2.6.x'
make: *** [linux] Error 1
2. When I used arm-linux-gcc version lower than 3.0:
arm-linux-gcc reported that the cross-compile toolchain is too old, I
can not do "make".
My question is
"include/linux/kernel.h:10:20: stdarg.h: No such file or directory"
I check linux-2.6.x/include/ directory, I cannot find the stdarg.h
header file. why?
Hope, somebody can help me
Best regards!
Neil
[EMAIL PROTECTED]
2007-06-04
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev