2001-02-28 23:21:05

by Matthew Fredrickson

[permalink] [raw]
Subject: Errors compiling 2.4.2

When I do a make bzImage I get this problem:

nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw]
\)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
make[1]: Entering directory `/usr/src/linux-2.4.2/arch/i386/boot'
ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect
ld: cannot open binary: No such file or directory
make[1]: *** [bbootsect] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.2/arch/i386/boot'
make: *** [bzImage] Error 2

I don't exactly understand what's the problem but it's located at the ld
line, and I can't seem to identify what binary it can't seem to find.

I'm running debian (unstable) system, 2.4.1, Athlon-1Ghz, Asus A7Pro
board, ld version : GNU ld version 2.10.91 (with BFD 2.10.91.0.2)

Any help would be appreciated. btw, if I just do a regular make, it works
out fine, just that one line seems to be problematic.

Matthew Fredrickson


2001-03-01 01:28:32

by Keith Owens

[permalink] [raw]
Subject: Re: Errors compiling 2.4.2

On Wed, 28 Feb 2001 17:20:35 -0600,
Matthew Fredrickson <[email protected]> wrote:
>make[1]: Entering directory `/usr/src/linux-2.4.2/arch/i386/boot'
>ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect
>ld: cannot open binary: No such file or directory

Please search the l-k archives before mailing a bug report.
http://www.mail-archive.com/linux-kernel%40vger.kernel.org/

2001-03-01 01:29:55

by Matthew Fredrickson

[permalink] [raw]
Subject: Re: Errors compiling 2.4.2

On Wed, Feb 28, 2001 at 05:13:26PM -0700, Jeff Coy wrote:
> Are you by chance using HJ's new binutils? I believe he stated in his
> announcement that -oformat now needs to be --oformat to function.

Thanks very much, I didn't even think about that. Sorry for bugging the
list about it, but the quick response is appreciated _very_ much so.


Matthew Fredrickson