[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel Compile Fails



On Wednesday 28 March 2001 02:12, calyth@home.com wrote:
> On Wed, Mar 28, 2001 at 01:55:38AM -0600, Scott E. Graves wrote:
> > When doing a make install in /usr/src/linux for kernel 2.4.2 I receive:
> >
> > 	make[1]: Entering directory
> > `/usr/src/kernel-source-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/kernel-source-2.4.2/arch/i386/boot'
> > 	make: *** [install] Error 2
> > 	localhost:/usr/src/linux#
> >
> > What is causing ld to fail? I just recently upgraded to sid on this
> > machine. Prior to this, the compilation worked fine.
> >
> > Scott
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
>
> If you've checked out the #debian irc channel, they say that in the file
> arch/"your architecture"/boot/Makefile, someone misspelled --oformat, and
> wrote -oformat in four different place.
>
> A quick search and replace in vi should fix it:
> :%s/\-oformat/\-\-oformat/g
>
> Calyth

Yeah, I just realized what was happening after consulting the ld manpage. I 
used sed s/-oformat/--oformat/ > Makefile.new to accomplish this. Thanks for 
the quick response, tho.

Scott



Reply to: