From: "4-JAN-1993 13:42:54.79" <nmp08@rz.uni-kiel.dbp.de> Subject: Re: Re: Where are gethostbyname() & getservbyname()? Date: Mon, 4 Jan 1993 12:57:16 GMT
|From: hlu@luke.eecs.wsu.edu (H.J. Lu)
|Subject: Re: Where are gethostbyname() & getservbyname()?
|Date: 2 Jan 93 18:53:07 GMT
|
|In article <1993Jan2.144136.29452@athena.mit.edu> nmp08@rz.uni-kiel.dbp.de writes:
|>I have a problem with the new gcc-2.3.3 stuff: several packages won't compile
|>anymore (e.g. plp) because of two missing functions: 'gethostbyname()' and
|>'getservbyname()'. ld claims about not finding these symbols.
|>Where are these functions gone?
|>
|>Any hints would be appreciated.
|>Please reply to: nmp08@rz.uni-kiel.dbp.de
|>
|
|Did you use -g? I forget to put ./inet in libg.a and libc_p.a. Please
|use -static instead.
|
|H.J.
No. I just used -O2. And as I've mentioned before plp was not the only
package that won't compile anymore. Ghostscript won't either.
I have also tried to use the -static option during compilation but ld
complains about an unknown option '-static' (I have tried -nojump with
the same result).
But I am definitely using the newest binutils version from tsx-11
(dated nov. 24 as far as I remember).
So what am I doing wrong?
Andreas Wacknitz
Internet: nmp08@rz.uni-kiel.dbp.de