use +z to recompile

Pat Watson pwatson@creighton.edu
Wed Mar 13 11:21:00 GMT 2002


Hi,

I am using gcc to create a shared object.  I am receiving this error:
/bin/ld: DP relative code in file mesg.o - shared library must be position independent.  Use +z or +Z to recompile.

How do I use +z or +Z to recompile?

Pat Watson                        
Administrative Computing             Email: pwatson@creighton.edu         
Creighton University                     Phone: (402)280-2324           
2500 California Plaza                   Fax:     (402)280-2573 
Omaha, NE
68178-0046 USA



More information about the Gcc mailing list