Text relocation remains against symbol

2007-12-25 5:38:00

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

Comments

Got something to say?

You must be logged in to post a comment.