Re: Make Errors During Kernel Build
On Fri, Aug 03, 2001 at 09:52:04AM -0400, David Raeker-Jordan uttered: ld -m elf_i386 -Ttext 0x0 -s --oformat ld: unrecognized option '--oformat' ld: use the --help option for usage information E? [EMAIL PROTECTED]:~$ grep oformat ./linux/arch/i386/boot/Makefile $(LD) -Ttext 0x0 -s --oformat binary -o $@ $ $(LD) -Ttext 0x0 -s --oformat binary $ -o $@ $(LD) -Ttext 0x0 -s --oformat binary -e begtext -o $@ $ $(LD) -Ttext 0x0 -s --oformat binary -e begtext -o $@ $ I think you were a little too brutal to the poor, defenseless Makefile. -- Steve Synthetic Transforming Entity Viable for Exploration and Nocturnal Killing pgpXXq7KptBtG.pgp Description: PGP signature
Make Errors During Kernel Build
I successfully built a 2.4.2 kernel on an old Pentium but forgot a few things, so I am need to rebuild. First, I deleted the /usr/src/linux-2.4.2/ subdirectories and uncompressed and untarred linux-2.4.2.tar.bz2 into /usr/src/linux-2.4.2/ I then ran: make clean make menuconfig make-kpkg kernel_image 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 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 Of course, there is no .deb created. What did I do wrong? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Make Errors During Kernel Build
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 Of course, there is no .deb created. What did I do wrong? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Steve Synthetic Transforming Entity Viable for Exploration and Nocturnal Killing pgpinwjqsRsRE.pgp Description: PGP signature
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:[EMAIL PROTECTED] Harrisburg, PA, USA