Debian users --
Last night I tried to recompile a 2.4.1 kernel with make-kpkg, and
got the following errors:
gcc -E -D__KERNEL__ -I/usr/src/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
ld: cannot open binary: No such file or directory
make[2]: *** [bbootsect] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot'
make[1]: *** [bzImage] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Error 2
It looks like the problem is the 'ld' step, where it uses '-oformat binary'
instead of '--oformat binary'. I edited the Makefile in
/usr/src/linux/arch/i386/boot, and it worked. Is this a bug with the
2.4.1 kernel Makefile, or has 'ld' changed very recently in it's behavior?
The system was upgraded to the latest sid on Thursday or Friday.
Here's some version info:
ii libc6 2.2.3-7 GNU C Library: Shared libraries and
ii gcc 2.95.4-5 The GNU C compiler.
ii binutils 2.11.90.0.24-1 The GNU assembler, linker and binary
ii bin86 0.15.4-1 16-bit assembler and loader
ii kernel-package 7.54 Debian Linux kernel package build
ii make 3.79.1-8 The GNU version of the "make" utility.
Thanks!
Chris
--
Christopher S. Swingley 930 Koyukuk Drive
System / Network Manager University of Alaska Fairbanks
IARC -- Frontier Program Fairbanks, AK 99775
phone: 907-474-2689 fax: 907-474-2643
email: cswingle@iarc.uaf.edu GNUPG and PGP2 keys at my web site
web: http://www.frontier.iarc.uaf.edu/~cswingle
Attachment:
pgpUC9jlQWhyd.pgp
Description: PGP signature