home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9992 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.2 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!ut-emx!tivoli!TIVOLI.COM!stuart
  2. From: stuart@TIVOLI.COM (Stuart Jarriel)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: that HPUX ld linker again...
  5. Message-ID: <3738@tivoli.UUCP>
  6. Date: 3 Sep 92 01:45:52 GMT
  7. References: <3280@tivoli.UUCP> <FRANL.92Aug28132400@draco.centerline.com>
  8. Sender: news@tivoli.UUCP
  9. Organization: Tivoli Systems, Inc
  10. Lines: 20
  11.  
  12. In article <FRANL.92Aug28132400@draco.centerline.com>, franl@centerline.com (Fran Litterio) writes:
  13. |> stuart@TIVOLI.COM (Stuart Jarriel) writes:
  14. |> 
  15. |> > ld: R_DATA_ONE_SYMBOL fixup in file ds_common.o for code unsat symbol "stupid_test" - use P' fixup
  16. |> > 
  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. |> > 
  20. |> > Has anyone seen the R_DATA_ONE_SYMBOL before, or know what at P' fixup
  21. |> > is?  It looks like a nice loader diagnostic.
  22. |> 
  23. |> I think it's trying to tell you that you can only make shared
  24. |> libraries out of object modules that are compiled in PIC (position
  25. |> independant code) mode.  Compile your code using the +z swtich.
  26. |> --
  27.  
  28. That was part of it, the other part was P' word alignment in the .s
  29. file.  Thanks for the post!!
  30.  
  31. stuart
  32.