home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!ut-emx!tivoli!TIVOLI.COM!stuart
- From: stuart@TIVOLI.COM (Stuart Jarriel)
- Newsgroups: comp.sys.hp
- Subject: Re: that HPUX ld linker again...
- Message-ID: <3738@tivoli.UUCP>
- Date: 3 Sep 92 01:45:52 GMT
- References: <3280@tivoli.UUCP> <FRANL.92Aug28132400@draco.centerline.com>
- Sender: news@tivoli.UUCP
- Organization: Tivoli Systems, Inc
- Lines: 20
-
- In article <FRANL.92Aug28132400@draco.centerline.com>, franl@centerline.com (Fran Litterio) writes:
- |> stuart@TIVOLI.COM (Stuart Jarriel) writes:
- |>
- |> > ld: R_DATA_ONE_SYMBOL fixup in file ds_common.o for code unsat symbol "stupid_test" - use P' fixup
- |> >
- |> > where stupid_test is the first function in the first .o file that I pass
- |> > to the linker with a -b option (trying to build a shared-lib).
- |> >
- |> > Has anyone seen the R_DATA_ONE_SYMBOL before, or know what at P' fixup
- |> > is? It looks like a nice loader diagnostic.
- |>
- |> I think it's trying to tell you that you can only make shared
- |> libraries out of object modules that are compiled in PIC (position
- |> independant code) mode. Compile your code using the +z swtich.
- |> --
-
- That was part of it, the other part was P' word alignment in the .s
- file. Thanks for the post!!
-
- stuart
-