Hi Gareth,

              Thanx for your reply. It is not with CVS, i am using  xerces
2.3.0 in HP unix 11 platform. My problem is with build  problem, that is
after i set environment variables like,



export XERCESCROOT=/home/kav/xerces-c-src_2_3_0

             I execute runconfigure by giving following option,

       $ ./runConfigure -php-11 -rpthread

then set other variables as,

export TRANSCODER="NATIVE"
export MESSAGELOADER="INMEM"
export NETACCESSOR="Socket"
export THREADS="pthread"
export BITSTOBUILD="32"
export CC=""
export CXX=""
export CXXFLAGS=" -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 "
export CFLAGS=" -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 "
export LDFLAGS=" "
export LIBS=" -lpthread -lnsl"


       After that i give make command as,


      $gmake

     and received following error after some compilation,

  gmake[2]: Leaving directory
`/home/kav/xerces-c-src_2_3_0/src/xercesc/util/regx'
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/xer
ces-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_TRAN
SCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSO
R_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
$

               I am new to linux and unix, so i may made some mistakes any
whare in this two steps, so i couldn't build the product. So please provide
me a good solution to build it.

                          Thanks in advance.


                                  -Kathiravan


----- Original Message -----
From: "Gareth Reakes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 4:31 PM
Subject: Re: Compilation problem in "xerces-c-src_2_3_0" during gmake in
HP-UX-11


> Hi,
> I saw a commit go in for a fix for something on this platform
> recently. Is this with CVS?
>
> Gareth
>
>
> On Fri, 21 Nov 2003, Kathiravan wrote:
>
> > 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/xer
ces-c-src_2_3_0/include -w -O -DPROJ_XMLPARSER  -DPROJ_XMLUTIL  -DPROJ_PARSE
RS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM  -DPROJ_VALIDATORS -DXML_USE_NATIV
E_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETA
CCESSOR_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
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> Gareth Reakes, Head of Product Development  +44-1865-203192
> DecisionSoft Limited                        http://www.decisionsoft.com
> XML Development and Services
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to