Text relocation remains against symbol

From: Hakan Koçak (hkocak@meteor.gov.tr)
Date: Mon Dec 12 2005 - 07:58:42 EST


Hi managers

 

I am trying to install a shared library on Solaris 9.

and could get around this "Text relocation remains against symbol"

error message I get during compilation.

I searched on the Internet to see some possible solutions.

I implemented one, which is replacing -shared with -G but it did not work.

 

After running configure script, a file

called def.mk is created for platform-specific

compilation. In that file there is

a line that reads LDSHARED = $(CC) -shared

If I compile like that I get "Text relocation remains against symmbol"

error message. If I change it to LDSHARED = $(CC) -G this time

I get "unreferenced symbol, first referenced in file ..." error message.

If there is anyone who came accross this problem and solved it I will be

happy if he/she shares their experince with me.

 

I use gcc 3.2.3 and gnu make 3.80

 

Thanks and regards

 

Hakan
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:37:38 EDT