Hi,

I am trying to compile xerces source in solaris 2.6 with
g++ 2.95.2

It compiles all the .c files and creates the .o files in the ${XERCESROOT}/obj/SOLARIS

But while "Building ${XERCESROOT}/lib/libxerces-c1_4.so",
the following error occurs.

The command is:

g++ -DSOLARIS -shared  -o /opt/kraja/soft/xml/XERCES/lib/libxerces-c1_4.so  <snipped 
is the list of object files>   -lm  -lpthread -lnsl -lsocket -L/usr/lib 
-L/usr/local/lib -L/usr/ccs/lib -lm  -lgen

The output is:

Text relocation remains                         referenced
    against symbol                  offset      in file
        fflush                              0x20        
/usr/local/lib/libgcc.a(_eprintf.o)
        __iob                               0x8         
/usr/local/lib/libgcc.a(_eprintf.o)
        __iob                               0x4         
/usr/local/lib/libgcc.a(_eprintf.o)
        __iob                               0x24        
/usr/local/lib/libgcc.a(_eprintf.o)
        fprintf                             0x18        
/usr/local/lib/libgcc.a(_eprintf.o)
        abort                               0x28        
/usr/local/lib/libgcc.a(_eprintf.o)
        ld: fatal: relocations remain against allocatable but non-writable sections


Can somebody show me some direction to proceed?


Thanks.

--Raja.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to