Compilation of 2.4.0 fails when processing /i386/boot
I am compiling kernel 2.4.0, and I am getting the following error during the 'make install' part of the build:
ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/parport/driver.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
net/network.o \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinuxnm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
ld: cannot open binary: No such file or directory
make[1]: *** [bbootsect] Error 1
make: *** [install] Error 2
I have checked all assembler packages, and they all seem to be installed. I am running Debian sid and all packages are up-to-date.
Can anyone help me with this error?
Thanks in advance
--
Stuart
Are you sure your binutils is up to date? This is eerily reminiscent of the --oformat change documented in 2.10.91.0.2-2 ...
---
Dan Chen [email protected]
GPG key: www.cs.unc.edu/~chenda/pubkey.gpg.asc
Quoted 2 lines · Stuart Luscombe
I am compiling kernel 2.4.0, and I am getting the following error during the 'make install' part of the build:
[...]
Quoted 8 lines
ld -m
elf_i386-Ttext0x0-s -oformat binary bbootsect.o -o bbootsect make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
ld: cannot open binary: No such file or directory
make[1]: *** [bbootsect] Error 1
make: *** [install] Error 2I have checked all assembler packages, and they all seem to be installed. I am running Debian sid and all packages are up-to-date.
Quoted 5 lines · Stuart Luscombe
I am compiling kernel 2.4.0, and I am getting the following error during the 'make install' part of the build:
ld -melf_i386-Ttext0x0-s -oformat binary bbootsect.o -o bbootsect make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
ld: cannot open binary: No such file or directory
New binutils on an old kernel. Change -oformat to --oformat.
Quoted 9 lines · Keith Owens
Quoted 5 lines · Stuart Luscombe
I am compiling kernel 2.4.0, and I am getting the following error during the 'make install' part of the build:
ld -melf_i386-Ttext0x0-s -oformat binary bbootsect.o -o bbootsect make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
ld: cannot open binary: No such file or directoryNew binutils on an old kernel. Change -oformat to --oformat.
Or even better, change v2.4.0 to v2.4.13pre5 or v2.4.12ac3.
/David Weinehall
_ _
// David Weinehall <[email protected]> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky // \> http://www.acc.umu.se/~tao/ </ Full colour fire </