uniquezhu 发表于 2006-9-23 19:16:51

编译uClinux出错,请帮帮忙!

编译的内核是2.4,一开始是提示binutils版本要大于2.9.5,下了一个2.17的,装了还是提示需要binutils版本大于2.9.5,装了N次后居然没有提示这个错误了,但又出现了新的错误:

make: Leaving directory `/root/skyeye/uClinux-dist/linux-2.4.x/arch/arm/fastfpe'
make: Leaving directory `/root/skyeye/uClinux-dist/linux-2.4.x/arch/arm/fastfpe'
arm-linux-ld -p -X -T arch/arm/vmlinux.lds arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
        --start-group \
        arch/arm/kernel/kernel.o arch/arm/mm/mm.o arch/arm/mach-ks8695/ks8695.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
       drivers/char/char.o drivers/serial/serial.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/mtd/mtdlink.o drivers/media/media.o \
        net/network.o \
        arch/arm/fastfpe/fast-math-emu.o arch/arm/lib/lib.a /root/skyeye/uClinux-dist/linux-2.4.x/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/char/char.o(.text.init+0xc44): In function `ledman_init':
: undefined reference to `ledman_initarch'
make: *** Error 1
make: Leaving directory `/root/skyeye/uClinux-dist/linux-2.4.x'
make: *** Error 1

大家帮帮忙啊,这个搞不定,SKYEYE就不能用了啊!

cockroachzl 发表于 2006-11-25 16:18:47

我也遇到了你的第一个问题,make时提示:
*** 2.4 kernels no longer build correctly with old versions of binutils.
*** Please upgrade your binutils to 2.9.5.
这个binutils的版本不是指本机编译器的binutils吧,而是交叉编译的那个?
请问怎么升级binutils的版本呢?
页: [1]
查看完整版本: 编译uClinux出错,请帮帮忙!