I think -fPIC will solve your woes.

-David Waite

>
>Making all in pthsock
>gmake[1]: Entering directory `/a/jabber-1.4.2/pthsock'
>gcc -g -Wall -I. -I.. -I/usr/local/include -I../jabberd/ -shared -o pthsock_client.so 
>client.o -L/usr/local/lib -lpth
>relocations referenced
>       from file(s)
>       client.o
> fatal error: relocations remain against allocatable but non-writable section: .text
>
>collect2: ld returned 1 exit status
>gmake[1]: *** [pthsock_client] Error 1
>gmake[1]: Leaving directory `/a/jabber-1.4.2/pthsock'
>gmake: *** [all-recursive] Error 1
>------------------------------------------------------------------------------
>
>I've built a fair amount of software before, but have never ever seen this
>type of error, and I have no idea how to proceed.
>
>Can anyone provide any guidance on this?
>
>Thanks!
>
>Glen
>_______________________________________________
>jdev mailing list
>[EMAIL PROTECTED]
>http://mailman.jabber.org/listinfo/jdev
>



_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to