Article View: comp.sys.sun
Article #7474problem linking /usr/lib/libresolv.a with g++-ld
From: Anthony Scott Botham
Date: Wed, 17 Apr 1991 21:14
Date: Wed, 17 Apr 1991 21:14
15 lines
1205 bytes
1205 bytes
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@goanna.cs.rmit.OZ
Technical Details
Message-ID:
<2513@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: asb@wren.cs.rmit.oz.au (Anthony Scott Botham) Newsgroups: comp.sys.sun Subject: problem linking /usr/lib/libresolv.a with g++-ld Keywords: Miscellaneous Message-ID: <2513@brchh104.bnr.ca> Date: 17 Apr 91 21:14:13 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 15 Approved: Sun-Spots@rice.edu X-Original-Date: 16 Apr 91 07:24:04 GMT X-Sun-Spots-Digest: Volume 10, Issue 83, message 16 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu