kernel compilation error

thorsten fly_a320 at gmx.de
Tue Nov 29 03:06:28 PST 2005


> OBJCOPY arch/i386/boot/compressed/vmlinux.bin
> /bin/sh: objcopy: command not found
> make: *** [bzImage] Error 2

Well looks like you don't have the program /usr/bin/objcopy. You could
verify this by doing ls /usr/bin. If it is there, your path is not set
correctly. Do echo $PATH to check, if /usr/bin is included. If you don't
have objcopy, then something got messed up with the binutils install in
chapter06. You could check, if you have other binutils programs
installed, such as:
/usr/bin/size
/usr/bin/objdump
/usr/bin/ar
/usr/bin/strings
/usr/bin/ranlib
/usr/bin/objcopy
/usr/bin/addr2line
/usr/bin/readelf
/usr/bin/nm
/usr/bin/strip
/usr/bin/c++filt
/usr/bin/as
/usr/bin/gprof
/usr/bin/ld
If you are missing those programs, you could try to redo the binutils
install in chaper 06, however since binutils is an important package
(including the linker), I am not shure if this is going to work.

Thorsten



More information about the lfs-support mailing list