Skip to contentSkip to conversation

unable to link 2.4.2

DISCUSSION Pierfrancesco Caci 2 participants 3 messages Feb 24, 2001

lore
Share & tools
lore
#0 lore raw

Hi there, can someone please tell me what's going wrong with my compilation of 2.4.2 ?

make[2]: Entering directory `/usr/src/linux/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[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

root@penny:/usr/src # . linux/scripts/ver_linux
-- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux penny 2.4.1 #1 Sat Feb 3 20:43:54 CET 2001 i686 unknown

Kernel modules         2.4.2
Gnu C                  2.95.3
Gnu Make               3.79.1
Binutils               2.10.91.0.2
Linux C Library        2.2.2
Dynamic linker         ldd (GNU libc) 2.2.2
Procps                 2.0.7
Mount                  2.10s
Net-tools              2.05
Console-tools          0.2.3
Sh-utils               2.0.11
Modules Loaded         isofs loop binfmt_misc mousedev hid input nfsd microcode sg ipt_limit iptable_mangle ipt_MASQUERADE iptable_nat ip_conntrack ipt_LOG iptable_filter ip_tables sb sb_lib uart401 nfs ipv6 lockd sunrpc af_packet eepro100 3c509 sound soundcore isa-pnp usbcore

Thanks in advance ....

Pf

Signature · 4 lines
-------------------------------------------------------------------------------
 Pierfrancesco Caci | ik5pvx | mailto:[email protected]  -  http://gusp.dyndns.org
  Firenze - Italia  | Office for the Complication of Otherwise Simple Affairs 
     Linux penny 2.4.1 #1 Sat Feb 3 20:43:54 CET 2001 i686 unknown
#1 lore raw

[Pierfrancesco Caci]

Quoted 2 lines

Hi there, can someone please tell me what's going wrong with my compilation of 2.4.2 ?

Change '-oformat' to '--oformat' 4 places in arch/i386/boot/Makefile.

Quoted 1 line

Binutils 2.10.91.0.2

This version of binutils no longer accepts the old 'ld -oformat' form of '--oformat'.

Peter

#2 lore raw
In reply to Pierfrancesco Caci
Quoted 4 lines · :-> "Peter" == Peter Samuelson <[email protected]> writes:

[Pierfrancesco Caci]

Quoted 2 lines

Hi there, can someone please tell me what's going wrong with my compilation of 2.4.2 ?

Quoted 8 lines

Change '-oformat' to '--oformat' 4 places in arch/i386/boot/Makefile.

Quoted 1 line

Binutils 2.10.91.0.2

This version of binutils no longer accepts the old 'ld -oformat' form of '--oformat'.

Peter

Thanks, almost at the same time as reading your reply, I spotted a similar suggestion in a debian configuration message.... Nice to see helpful people are so frequent here, anyway.

Ciao

Pf

Signature · 4 lines
-------------------------------------------------------------------------------
 Pierfrancesco Caci | ik5pvx | mailto:[email protected]  -  http://gusp.dyndns.org
  Firenze - Italia  | Office for the Complication of Otherwise Simple Affairs 
     Linux penny 2.4.1 #1 Sat Feb 3 20:43:54 CET 2001 i686 unknown