lanxin024 发表于 2006-6-3 10:21:17

请教版主:编译patched-for-EP7312错误

我在http://gro.clinux.org/projects/skyeye/ 上下载的linux-2.4.13-patched-for-EP7312.tar.gz,用cross-2.95.3.tar.bz2工具链编译,出现如下错误,请问版主是什么原因,谢谢,很急!

make: Leaving directory `/root/prictice/linux-2.4.13/arch/arm/nwfpe'
make: Leaving directory `/root/prictice/linux-2.4.13/arch/arm/nwfpe'
make CFLAGS="-D__KERNEL__ -I/root/prictice/linux-2.4.13/include -Wall -Wstrict-p
rototypes -Wno-trigraphs -O2 -g-fno-strict-aliasing -fno-common -fno-common -p
ipe -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float " -C
arch/arm/fastfpe
make: Entering directory `/root/prictice/linux-2.4.13/arch/arm/fastfpe'
make all_targets
make: Entering directory `/root/prictice/linux-2.4.13/arch/arm/fastfpe'
rm -f fast-math-emu.o
/usr/local/arm/2.95.3/bin/arm-linux-ar rcs fast-math-emu.o
make: Leaving directory `/root/prictice/linux-2.4.13/arch/arm/fastfpe'
make: Leaving directory `/root/prictice/linux-2.4.13/arch/arm/fastfpe'
/usr/local/arm/2.95.3/bin/arm-linux-ld -p -X -T arch/arm/vmlinux.lds arch/arm/ke
rnel/head-armv.o arch/arm/kernel/init_task.o init/main.o init/version.o \
      --start-group \
      arch/arm/kernel/kernel.o arch/arm/mm/mm.o arch/arm/mach-clps711x/clps711
x.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/serial/serial.o drivers/char/char.o drivers/block/block.o drive
rs/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/mtd/mtdlink.o \
      net/network.o \
      arch/arm/nwfpe/math-emu.o arch/arm/lib/lib.a /root/prictice/linux-2.4.13
/lib/lib.a \
      --end-group \
      -o vmlinux
/usr/local/arm/2.95.3/bin/arm-linux-nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)
\|\( \)\|\(\.\.ng$\)\|\(LASHDI\)' | sort > System.map
arm-linux-objcopy -O binary -S vmlinux vmlinux.bin
make: arm-linux-objcopy: Command not found
make: *** Error 127
#

ksh 发表于 2006-6-15 13:21:35

根据下面的错误信息,需要设置一下arm-linux-objcopy的路径
################################
arm-linux-objcopy: Command not found
页: [1]
查看完整版本: 请教版主:编译patched-for-EP7312错误