This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Relocation errors on SCO


I'm building a shared library on SCO 3.2v5.0.4 and get:

relocations referenced
        from file(s)
        /usr/local/lib/libm.a(pow.ou)
        /usr/local/lib/libm.a(floor.ou)
        /usr/local/lib/libm.a(modf.ou)
        /usr/local/lib/libm.a(support.ou)
        /usr/local/lib/libm.a(fmodf.ou)
        /usr/local/lib/libm.a(exp.ou)
        /usr/local/lib/libm.a(tr_inf.ou)
        /usr/local/lib/libm.a(tr_of.ou)
        /usr/local/lib/libm.a(tr_uf.ou)
        /usr/ccs/lib/libc.so(bcopy.o)
        /usr/ccs/lib/libc.so(realpath.o)
        /usr/ccs/lib/libc.so(vfork.o)
        /usr/ccs/lib/libc.so(cerror.o)
 fatal error: relocations remain against allocatable but non-writable
section: .text

I can't find any explanation of this in egcs documentation.  Can anyone
direct me to the right place or tell me how to resolved this?

Thanks in advance.
..Theo
--
Theo Petersen           mailto:theo@acsp.com
Did I miss my calling?  Or did it run from me in fear?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]