You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by Mario Dörr <m....@iq-work.de> on 2004/01/19 17:21:50 UTC
Compling with gcc on HPUX
Hi all!
I want to compile xerces c++ on my HPUX 11.0 machine. To do that, i've
installed gnu 3.3.2, autoconf 2.57 and automake 1.7.4. If i run the
'make' command, i getting:
g++ -D_HP_UX -DXERCES_TMPLSINC -DHPUX11 +DAportable +eh +Z -Z +a1 +d
-ptr//gnu/xerces-c-src2_4_0/obj/HPUX/ptrepository -c
-I//gnu/xerces-c-src2_4_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
//gnu/xerces-c-src2_4_0/obj/HPUX/Base64.o Base64.cpp
g++: cannot specify -o with -c or -S and multiple compilations
Why are wrong options in the makefile and how do i fix this?
Thank you!
Greetings
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
Re: Compling with gcc on HPUX
Posted by Mario Dörr <m....@iq-work.de>.
> Uhm, this seems horribly broken... +DAportable, +Z and such are all options
> for HP-UX's aCC compiler, not g++. Therefore, g++ interprets some
> of those options as sources, think you are doing multiple compilation and
> fails (for compiling a single file, there's no problem mixing -c and -o)
>
> Did you run "./configure" before attempting to do "make"?
> In any case, take the time to read at least the "README" and "INSTALL"
> files that come with any package.
Yes, i have run "./configure" and i have read the build instruction...
What can i do? Where is the right place to start modifing or searching
for the bug.
Sorry for the basic question, but i'm quite new the Unix environment....
Thank you!
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
Re: Compling with gcc on HPUX
Posted by Christian Boos <cb...@bct-technology.com>.
Mario Dörr wrote:
> Hi all!
>
> I want to compile xerces c++ on my HPUX 11.0 machine. To do that, i've
> installed gnu 3.3.2, autoconf 2.57 and automake 1.7.4. If i run the
> 'make' command, i getting:
>
> g++ -D_HP_UX -DXERCES_TMPLSINC -DHPUX11 +DAportable +eh +Z -Z +a1 +d
> -ptr//gnu/xerces-c-src2_4_0/obj/HPUX/ptrepository -c
> -I//gnu/xerces-c-src2_4_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
> //gnu/xerces-c-src2_4_0/obj/HPUX/Base64.o Base64.cpp
> g++: cannot specify -o with -c or -S and multiple compilations
>
> Why are wrong options in the makefile and how do i fix this?
>
Uhm, this seems horribly broken... +DAportable, +Z and such are all options
for HP-UX's aCC compiler, not g++. Therefore, g++ interprets some
of those options as sources, think you are doing multiple compilation and
fails (for compiling a single file, there's no problem mixing -c and -o)
Did you run "./configure" before attempting to do "make"?
In any case, take the time to read at least the "README" and "INSTALL"
files that come with any package.
-- Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org