"Stuart Denning" <[EMAIL PROTECTED]> writes:

> I hope you can help, or advise where I can go for help.

Will do the best we can.

> I am running on Solaris 9. I have Sun studio 8 compiler and gcc
> compiler. Perl v5.6.1. Solaris and gnu make's.
>
> I have installed xerces-c v2.5.0 using the ready built distribution
> files from apache.org.

That's your problem. C++ is very finicky - there is no standard ABI as
there is for C, so each compiler makes radically different output. You
*must* use the same compiler for all libraries that you use.

The pre-built binaries for Solaris are *not* built with gcc (I
believe). So you are going to have to build Xerces-C from source using
gcc.

> # make
> make -C Handler static
> make[1]: Entering directory `/live/stuart/XML-Xerces-2.5.0-0/Handler'
> cc -c -I. -IHandler -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS
> =64 -xO3 -xdepend   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -KPIC
> -I/usr/perl5/
> 5.6.1/lib/sun4-solaris-64int/CORE  PerlCallbackHandler.cpp
> cc: No input file specified, no output generated

Yup, that's the error. 

Use the source luke ;-)

Cheers,
jas.

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

Reply via email to