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 Kathiravan <ka...@visolve.com> on 2003/11/21 11:10:18 UTC
Compilation problem in "xerces-c-src_2_3_0" during gmake in HP-UX-11
Hi,
I have received compilation error message during the building of product "xerces-c-src_2_3_0" in HP-UX-11 system.
I executed shell script 'runConfigure' by giving the option as follow:
$ ./runConfigure -php-11 -xg++ -rpthread
Then i run 'gmake' command and received the error message as:
g++ -D_HP_UX -DXERCES_TMPLSINC -DHPUX11 +DAportable +eh +Z -Z +a1 +d -ptr/home/kav/xerces-c-src_2_3_0/obj/HPUX/ptrepository -c -I/home/kav/xerces-c-src_2_3_0/include -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -o /home/kav/xerces-c-src_2_3_0/obj/HPUX/BinInputStream.o BinInputStream.cpp
g++: cannot specify -o with -c or -S and multiple compilations
gmake[1]: *** [BinInputStream.o] Error 1
gmake[1]: Leaving directory `/home/kav/xerces-c-src_2_3_0/src/xercesc/util'
gmake: *** [Util] Error 2
So there is problem in object file creation, i don't where to i make change in 'Make file' to rectify this problem. Can you please provide me a solution.
Thanks and regards,
Kathiravan.V