xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Boos <cb...@bct-technology.com>
Subject Re: Compling with gcc on HPUX
Date Mon, 19 Jan 2004 18:12:16 GMT
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


Mime
View raw message