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

Re: Kernel compile errors



> I'm running testing/unstable and I found that since one of my recent
> apt-get upgrades I have lost the ability to compile kernels.  This is the
> error I get:
> 
> make[1]: Entering directory
> `/home/shaun/src/linuxsrc-2.4.2/arch/i386/boot'
> gcc -E -D__KERNEL__ -I/home/shaun/src/linuxsrc-2.4.2/include
> -D__BIG_KERNEL__ -traditi
> onal -DSVGA_MODE=NORMAL_VGA  bootsect.S -o bbootsect.s
> as -o bbootsect.o bbootsect.s
> bbootsect.s: Assembler messages:
> bbootsect.s:253: Warning: indirect lcall without `*'
> 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 `/home/shaun/src/linuxsrc-2.4.2/arch/i386/boot'
> make: *** [bzImage] Error 2
> shaun@dalaena:~/src/linuxsrc-2.4.2$
> 
> This error is on a make bzImage as you can see from the output.  Is this a
> new error?  Or is a fix in the works and I just havn't done another
> upgrade recently enough?

You should have seen a warning message when you installed the package
containing the new ld.  You must edit the Makefile and change all
occurances of "-oformat" to "--oformat".

Eric


--  
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: