You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by RajaSankar K <ra...@integramicro.com> on 2001/04/03 15:50:25 UTC
Compiling Xerces source in solaris 2.6 with g++
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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org