You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Dick Smith <DS...@LocateNetworks.com> on 2001/01/31 00:33:11 UTC

Building Xerces-C SAMPLES: Solaris 2.7

Hi -

Working with xerces-c-src1_3_0-SolCC.tar.gz

Followed all the build instructions, including setenv XERCESCROOT
and the LD_LIBRARY_PATH, but still had a problem.

Found and fixed a minor problem with getting the makefiles for the samples
built under Solaris 2.7.  The problem is link references to the old "libC"
form of the C library.  They should be references to "libc".

i.e. "-lc" instead of "-lC" for the LDFLAGS.

I changed the ./samples/runConfigure script as follows:
achilles:samples> diff runConfigure runConfigure.original
197c197
<        LDFLAGS="-lc"; export LDFLAGS
---
>        LDFLAGS="-lC"; export LDFLAGS
205c205
<        LDFLAGS="-lc"; export LDFLAGS
---
>        LDFLAGS="-lC"; export LDFLAGS

then used ./runConfigure -psolaris -cgcc -xCC 

The Makefiles built fine and all the samples compile and run.

Regards - thanks everyone for a great product!

Richard E. Smith,       
Locate Networks, Inc.
email: dsmith@LocateNetworks.com