Just want to clarify that when I mentioned all those other libraries, I
was referring to the various libraries needed on various different
versions of HPUX.

 

From: Frederick (Gene) Grinder 
Sent: Friday, May 15, 2009 12:04 PM
To: c-users@xerces.apache.org
Subject: Errors building Xerc 2.8.0 on HP-UX 11.11

 

I'm having a problem building Xerces-c 2.8.0 on HP-UX 11.11 (PA-RISC).

 

 

[hp-src-hub-axle17]uname -a

HP-UX hp-src B.11.11 U 9000/800 144753223 unlimited-user license

[hp-src-hub-axle17]./runConfigure -php-11 -ccc -xaCC

<...snip...>

[hp-src-hub-axle17] make

<...snip...>

  (C++) Base64.o

Error 497: "/usr/include/stdlib.h", line 288 # There can be only one
function 'getopt' with "C" linkage; previous declaration was at

    ["/usr/include/stdio.h", line 520].

           extern int getopt();

                      ^^^^^^

make[1]: *** [Base64.o] Error 2

make: *** [Util] Error 2

 

 

I know others in my organization had to add library arguments to
runConfigure to pick up libraries Csup, Csup_v2, std, std_v2 and stream
when building Xerces-c 2.1.0.  I've tried a lot of combinations of
these, but haven't been completely systematic about it given how many
permutations of these there are and given also that (to my knowledge)
the order in which they're specified is important.  Am I looking in the
wrong direction with the libraries?

 

Anyone have any experience building on this platform, or have other
suggestions?

Thanks in advance

Reply via email to