[再次求救]uClinux编译不通过!跪求解法~~
哪位大哥救救俺哪,万谢了!情况说明:skyeye安装成功,arm-elf-tools也安装完毕,编译uClinux时,make xconfig后显示:
***End of linux kenel configuration.
***Check the top-level Makefile for additional configuration.
***Next,you must run"make dep"
于是make dep;make 报错!
make ARCH=arm CROSS_COMPILE=arm-linux-ARCH=arm CROSS_COMPILE=arm-linux- -C linux-2.6.x dep
make: arm-linux-gcc: Command not found
make: Entering directory `/root/uClinux-dist/linux-2.6.x'
cho' Install using (your) ~/bin/installkernel or'
echo' (distribution) /sbin/installkernel or'
echo?*** Warning: make dep is unnecessary now.
make: Leaving directory `/root/uClinux-dist/linux-2.6.x'
关键是Image下只有一个文件!boot.rom有人告诉我说是Makefile错误,我的skyeye在root下,而arm-elf-tools在usr/local下,可能是链接错误,但是打开uClinux-dist下makefile,不知道怎么改,各位高手,救救我啊! make dep 成功
make 失败
arm-linux-gcc,command not found
安装的arm-elf-gcc,文件中根本没有arm-linux-gcc,如何修改? 安装arm-linux-gcc后,make依旧失败:
如下:
# make
make -C tools/ucfront
make: Entering directory `/root/uClinux-dist/tools/ucfront'
make: Nothing to be done for `all'.
make: Leaving directory `/root/uClinux-dist/tools/ucfront'
ln -sf /root/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /root/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /root/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make -C tools/sg-cksum
make: Entering directory `/root/uClinux-dist/tools/sg-cksum'
make: `cksum' is up to date.
make: Leaving directory `/root/uClinux-dist/tools/sg-cksum'
ln -sf /root/uClinux-dist/tools/sg-cksum/cksum tools/cksum
make ARCH=armnommu CROSS_COMPILE=arm-linux-ARCH=armnommu CROSS_COMPILE=arm-linux- -j1 -C linux-2.4.x|| exit 1
make: Entering directory `/root/uClinux-dist/linux-2.4.x'
. scripts/mkversion > .tmpversion
arm-linux-gcc -D__KERNEL__ -I/root/uClinux-dist/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi-msoft-float-DUTS_MACHINE='"armnommu"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
make: Entering directory `/root/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make: Nothing to be done for `all'.
make: Leaving directory `/root/uClinux-dist/linux-2.4.x/arch/armnommu/tools'
make CFLAGS="-D__KERNEL__ -I/root/uClinux-dist/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi-msoft-float " -Ckernel
make: Entering directory `/root/uClinux-dist/linux-2.4.x/kernel'
make all_targets
make: Entering directory `/root/uClinux-dist/linux-2.4.x/kernel'
arm-linux-gcc -D__KERNEL__ -I/root/uClinux-dist/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi-msoft-float -nostdinc -iwithprefix include -DKBUILD_BASENAME=sched-fno-omit-frame-pointer -c -o sched.o sched.c
In file included from /root/uClinux-dist/linux-2.4.x/include/linux/wait.h:13,
from /root/uClinux-dist/linux-2.4.x/include/linux/fs.h:12,
from /root/uClinux-dist/linux-2.4.x/include/linux/capability.h:17,
from /root/uClinux-dist/linux-2.4.x/include/linux/binfmts.h:4,
from /root/uClinux-dist/linux-2.4.x/include/linux/sched.h:9,
from /root/uClinux-dist/linux-2.4.x/include/linux/mm.h:4,
from sched.c:23:
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:10:20: stdarg.h:没有那个文件或目录 In file included from /root/uClinux-dist/linux-2.4.x/include/linux/wait.h:13,
from /root/uClinux-dist/linux-2.4.x/include/linux/fs.h:12,
from /root/uClinux-dist/linux-2.4.x/include/linux/capability.h:17,
from /root/uClinux-dist/linux-2.4.x/include/linux/binfmts.h:4,
from /root/uClinux-dist/linux-2.4.x/include/linux/sched.h:9,
from /root/uClinux-dist/linux-2.4.x/include/linux/mm.h:4,
from sched.c:23:
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:76: error: parse error before "va_list"
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:77: warning: function declaration isn't a prototype
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:80: error: parse error before "va_list"
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:81: warning: function declaration isn't a prototype
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:85: error: parse error before "va_list"
/root/uClinux-dist/linux-2.4.x/include/linux/kernel.h:86: warning: function declaration isn't a prototype
make: *** Error 1
make: Leaving directory `/root/uClinux-dist/linux-2.4.x/kernel'
make: *** Error 2
make: Leaving directory `/root/uClinux-dist/linux-2.4.x/kernel'
make: *** Error 2
make: Leaving directory `/root/uClinux-dist/linux-2.4.x'
make: *** Error 1
各位大虾,救救俺吧!!!!!!!!!! 我也是!明明arm-elf-gcc找得到的,是不是那里还要设置路径什么的 换一个安装路径,今天稀里糊涂的就搞定了,不知道怎么回事 LZ问题解决了吗?教教我,怎么解决的啊?aocus,
页:
[1]