🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52606

Re: gcc 2.2.2 linking problem: gethostbyname

#52606
From: Ken Warkentyne
Date: Sat, 27 Jun 1992 18:55
14 lines
1492 bytes
In article <1992Jun26.180228.13566@fwi.uva.nl> casper@fwi.uva.nl (Casper H.S. Dik) wrote:
> Your problem is two fold:
> 	- someone has put libresolv.a in libc.a, ...
> 	- The resolver library is compiled with -pic, so that
> 	  sun users can put it in libc.so.*.
> GNU ld doesn't understand objectfiles compiled with -pic.
> The gcc installation should use collect and the native
> linker, rather than GNU ld.

Yes, this was the problem.  By the way, for those who might be interested in this
matter, the machine is a Sparc IPC running SunOS 4.1.2.
--
Ken Warkentyne - warkent@ltisun.epfl.ch
                 Laboratoire de Teleinformatique, EPFL, Suisse.
Technical Details
Message-ID: <WARKENT.92Jun27205533@ltisun9.epfl.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!chx400!sicsun!disuns2!warkent
References: <WARKENT.92Jun26171407@ltisun9.epfl.ch> <1992Jun26.180228.13566@fwi.uva.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b6bc61d46913c24f
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-27 05:20:42 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!chx400!sicsun!disuns2!warkent
From: warkent@ltisun9.epfl.ch (Ken Warkentyne)
Newsgroups: gnu.gcc.help
Subject: Re: gcc 2.2.2 linking problem: gethostbyname
Message-ID: <WARKENT.92Jun27205533@ltisun9.epfl.ch>
Date: 27 Jun 92 18:55:33 GMT
References: <WARKENT.92Jun26171407@ltisun9.epfl.ch> <1992Jun26.180228.13566@fwi.uva.nl>
Sender: news@disuns2.epfl.ch
Distribution: gnu
Organization: Ecole Polytechnique Federale de Lausanne---Laboratoire de
 Teleinformatique
Lines: 14
Nntp-Posting-Host: ltisun9.epfl.ch
In-reply-to: casper@fwi.uva.nl's message of 26 Jun 92 18:02:28 GMT