2001-10-20 22:11:51

by Stuart Luscombe

[permalink] [raw]
Subject: 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 vmlinux
nm 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


2001-10-20 22:17:31

by Dan Chen

[permalink] [raw]
Subject: Re: Compilation of 2.4.0 fails when processing /i386/boot

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: http://www.cs.unc.edu/~chenda/pubkey.gpg.asc

On Sat, 20 Oct 2001, Stuart Luscombe wrote:

> 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 -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.

2001-10-21 01:15:40

by Keith Owens

[permalink] [raw]
Subject: Re: Compilation of 2.4.0 fails when processing /i386/boot

On Sat, 20 Oct 2001 23:11:31 +0000,
Stuart Luscombe <[email protected]> wrote:
>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 -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

New binutils on an old kernel. Change -oformat to --oformat.

2001-10-21 01:20:40

by David Weinehall

[permalink] [raw]
Subject: Re: Compilation of 2.4.0 fails when processing /i386/boot

On Sun, Oct 21, 2001 at 11:15:39AM +1000, Keith Owens wrote:
> On Sat, 20 Oct 2001 23:11:31 +0000,
> Stuart Luscombe <[email protected]> wrote:
> >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 -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
>
> New 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 </