2001-02-24 08:44:07

by Pierfrancesco Caci

[permalink] [raw]
Subject: unable to link 2.4.2


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


--

-------------------------------------------------------------------------------
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


2001-02-24 09:46:32

by Peter Samuelson

[permalink] [raw]
Subject: Re: unable to link 2.4.2


[Pierfrancesco Caci]
> 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.

> Binutils 2.10.91.0.2

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

Peter

2001-02-24 10:09:05

by Pierfrancesco Caci

[permalink] [raw]
Subject: Re: unable to link 2.4.2

:-> "Peter" == Peter Samuelson <[email protected]> writes:

> [Pierfrancesco Caci]
>> 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.

>> 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




--

-------------------------------------------------------------------------------
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