problem linking /usr/lib/libresolv.a with g++-ld
Anthony Scott Botham
asb at wren.cs.rmit.oz.au
Thu Apr 18 07:14:13 AEST 1991
I am trying to compile the InterViews toolkit using g++ on a Sparc-Server
II. When I link in /usr/lib/libresolv.a, g++-ld complains
gethostnamadr.o: Undefined symbol __GLOBAL_OFFSET_TABLE_ referenced
from text segment
All of the routines in the resolver library contain an undefined global
sysbol __GLOBAL_OFFSET_TABLE_. The table is generated when using the -pic
option to cc.
Does anyone have another version of /usr/lib/libresolv.a, or public domain
source for the resolver library or can offer any hints about what to do
next.
Anthony Botham ACSNET: asb at goanna.cs.rmit.OZ
More information about the Comp.sys.sun
mailing list