home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9811 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!centerline!franl
  3. From: franl@centerline.com (Fran Litterio)
  4. Subject: Re: that HPUX ld linker again...
  5. In-Reply-To: stuart@TIVOLI.COM's message of 26 Aug 92 18:57:20 GMT
  6. Message-ID: <FRANL.92Aug28132400@draco.centerline.com>
  7. Sender: news@centerline.com
  8. Nntp-Posting-Host: draco
  9. Organization: CenterLine Software, Inc.
  10. References: <3280@tivoli.UUCP>
  11. Date: Fri, 28 Aug 1992 18:24:00 GMT
  12. Lines: 17
  13.  
  14. stuart@TIVOLI.COM (Stuart Jarriel) writes:
  15.  
  16. > ld: R_DATA_ONE_SYMBOL fixup in file ds_common.o for code unsat symbol "stupid_test" - use P' fixup
  17. > where stupid_test is the first function in the first .o file that I pass
  18. > to the linker with a -b option (trying to build a shared-lib).
  19. > Has anyone seen the R_DATA_ONE_SYMBOL before, or know what at P' fixup
  20. > is?  It looks like a nice loader diagnostic.
  21.  
  22. I think it's trying to tell you that you can only make shared
  23. libraries out of object modules that are compiled in PIC (position
  24. independant code) mode.  Compile your code using the +z swtich.
  25. --
  26. franl@centerline.com   || Fran Litterio                               
  27. uunet!centerline!franl || CenterLine Software R&D                     
  28. 617-498-3255           || 10 Fawcett St, Cambridge, MA, USA 02138-1110
  29.