Hi,
I'm using uClinux for Coldfire. When I started I use to have those problems.
I think problem seems to be the way you compile kernel. You HAVE to do
"make xconfig", "make dep", for kernel < 2.4 and "make". This process
will create symbolic links for your architecture, asm files and
others. There's could be your missing files
Regards
--
Francisco Perea
Ing. Electricista
Am Montag, den 04.06.2007, 09:06 +0800 schrieb Neil 林搏宇:
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
There's something wrong with your toolchain installation, stdarg.h is
installed with the toolchain.
Regards,
Erwin
_______________________________________________
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