Hi William,
It could be a similar problem to one I have seen building Xerces 1.4 on
Solaris 2.7 with Workshop 5.0.
Although the build process appears to work correctly and a shared library
is produced, it doesn't contain
all the object files generated under obj/SOLARIS. The library I get is only
~3200 bytes in size.
I build the library by hand from the obj/SOLARIS directory using the
following:
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 *.o
-mt -lm -lpthread -L/usr/local/SUNWspro/lib
-L/usr/ccs/lib -lc -lgen
and can then build and run the samples correctly. I guess you would need to
drop -mt and -lpthread.
I haven't had time yet to figure out why the library isn't being built
properly. My environment looks correct and
all other stages of the build work corectly.
Regards,
Andy.
"Beebe, William H (N-SAIC)" <[EMAIL PROTECTED]> on 21/03/2001
17:11:36
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: Link problems with Xerces 1.4
I have the following environment.
SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-Enterprise
Forte C++ Compiler, V6
The library builds without errors.
The runConfigure switches were
-psolaris -ccc -xCC -minmem -nfileonly -tnative
In addition, -DAPP_NO_THREADS was added to Makefile.incl, '-mt' was
removed,
'-D_REENTRANT' was removed, and '-lpthread' was removed (page 13 of the pdf
documenation).
runConfigure was run in the samples directory.
'-D_REENTRANT' was removed from the local Makefile.incl
When attempting to build any of the samples, I get voluminous linker
errors.
I have attempted to build a static library based on a thread in the
December
archives, but it fails as well. Any suggestions would be appreciated
(especially to my email below).
William Beebe
Software Engineer
WARSIM
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]