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

Re: Make Errors During Kernel Build



Steve, 

I tried changing -oformat to --oformat in
/usr/src/linux-2.4.2/linux/arch/i386/boot/Makefile but I get the following
new error:

make[2]: Entering directory /usr/src/linux-2.4.2/linux/arch/i386/boot'
gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.2/linux/include -D__BIG_KERNEL__
-traditional -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
gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.2/linux/include -D__BIG_KERNEL__
-traditional -DSVGA_MODE=NORMAL_VGA  setup.S -o bsetup.s
as -o bsetup.o bsetup.s
bsetup.s: Assembler messages:
bsetup.s:1356: Warning: indirect lcall without *'
ld -m elf_i386 -Ttext 0x0 -s --oformat
ld: unrecognized option '--oformat'
ld: use the --help option for usage information
make[2]: *** [bsetup] Error 1
make[2]: Leaving directory /usr/src/linux-2.4.2/linux/arch/i386/boot'
make[1]: *** [bzImage] Error 2
make[1]: Leaving directory /usr/src/linux-2.4.2/linux'
make: *** [stamp-build] Error 2



Steve Kowalik wrote:
> On Fri, Aug 03, 2001 at 07:52:53AM -0400, David Raeker-Jordan uttered:
> > Things seem to be going fine until the end of the build, when I get:
> > (Please excuse any typos, e.g., I can't get the ' to swing the other way ;) )
> > 
> > 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
> New binutils.
> You need to edit /usr/src/linux-2.4.2/linux/arch/i386/boot/Makefile, and
> replace '-oformat' with '--oformat'
> Then run make-kpkg clean; make-kpkg <whatever> kernel_image
> 
> > make [2]: *** [bbootsect] Error 1
> > make [2]: Leaving directory '/usr/src/linux-2.4.2/linux/arch/i386/boot'
> > make [1]: *** [bzImage] Error 2
> > make [1]: Leaving directory '/usr/src/linux-2.4.2/linux'
> > make: *** [stamp-build] Error 2
> > 


-- 
David Raeker-Jordan
mailto:rkrjrdn@epix.net
Harrisburg, PA, USA



Reply to: