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 An...@tertio.com on 2001/03/15 17:48:03 UTC

Problem building Xerces1_4_0 with Sun Workshop 5.0

Hi there,

I'm building Xerces 1_4_0 using Sun Workshop 5.0 on a Solaris 2.7 platform
but am seeing slightly strange
behaviour.  It looks as if all the appropriate object files are being
created but the library doesn't seem to be
generated correctly (it is only 3228 bytes in size). I use the following
build command:

./runConfigure -psolaris -ccc -xCC -minmem -nfileonly -tnative; gmake

Looking at the trace of the build process, it seems as if the statement to
build the library is not formed properly
because it doesn't list the object files to include in the library:

CC -DSOLARIS -G -ptr/scratch/xerces-c++/xerces-c-src1_4_0/obj/SOLARIS
                             -o /scratch/xerces-c++/xerces-c-src1_4_0/lib/libxerces-c1_4.so
                      -mt -lm  -lpthread  -L/usr/local/SUNWspro/lib -L/usr/ccs/lib -lc -lgen

I have built the library by hand:

CC -DSOLARIS -G -ptr/scratch/xerces-c++/xerces-c-src1_4_0/obj/SOLARIS
                             -o /scratch/xerces-c++/xerces-c-src1_4_0/lib/libxerces-c1_4.so *.so
                      -mt -lm  -lpthread  -L/usr/local/SUNWspro/lib -L/usr/ccs/lib -lc -lgen

and can then build and run the samples correctly.

Unfortunately, I'm not enough of a Makefile guru to figure out what is
going wrong. Has anyone seen this before or
have any idea what the problem is?

Thanks in advance,
Andy.

Tertio Limited  -  One Angel Square,   Torrens Street,   London  EC1V 1PL
Tel: +44 (0)20 7843 4000 Fax: +44 (0)20 7843 4001 Web http://www.tertio.com
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio
Ltd.


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org