make uclinux 出错。请高手帮忙!
uclinux-dist-20051110.tar.gz 解压后make menuconifg选linux2.4,intel IXDP2800, uClibc lib后再make dep一切正常。接着make时就出错了,如下:# make
make -C tools/ucfront
make: Entering directory `/usr/src/uClinux-dist/tools/ucfront'
make: `ucfront' is up to date.
make: Leaving directory `/usr/src/uClinux-dist/tools/ucfront'
ln -sf /usr/src/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /usr/src/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
make ARCH=arm CROSS_COMPILE=arm-linux- -C linux-2.4.x zImage || exit 1
make: Entering directory `/usr/src/uClinux-dist/linux-2.4.x'
scripts/split-include include/linux/autoconf.h include/config
arm-linux-gcc -mbig-endian -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -g -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
. scripts/mkversion > .tmpversion
arm-linux-gcc -mbig-endian -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -g -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm-DUTS_MACHINE='"arm"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
arm-linux-gcc -mbig-endian -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -g -mapcs-32 -D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes -msoft-float -Uarm -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o init/do_mounts.c
In file included from init/do_mounts.c:18:
/usr/src/uClinux-dist/linux-2.4.x/include/linux/cramfs_fs.h:129:2: warning: #warning "__BYTE_ORDER == __BIG_ENDIAN"
*** 2.4 kernels no longer build correctly with old versions of binutils.
*** Please upgrade your binutils to 2.9.5.
make: *** Error 1
make: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** Error 1
请高手帮我分析一下。(我去uclinux.org上怎么没看到binutils2.9.5的tar包?) 高手啊,你在哪里? 我也出现此问题 如错误提示,可以下载比较新的编译器。uClinux提供的 arm的交叉编译器下载地址应该为
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/ *** 2.4 kernels no longer build correctly with old versions of binutils.
*** Please upgrade your binutils to 2.9.5.
写的很清楚,但似乎很多人就是不会看输出提示。这是很无奈的事情。
页:
[1]