Debasis Ray wrote:
Hi Dave,
Thanks for your reply. I have provided my env details below.
Would appreciate your comments.
Cheers
For what it's worth, you're unlikely to be able to build successfully
with static libraries.
I have some questions:
1. What version of Xalan-C are you using? The only way to build with
Xerces-C 3.0 is to use the latest code from the Subversion
repository.[DR] I got the latest source "Xalan-C_1_10_0-src.tar"
You're going to need to check out the head of the SVN repository to get
a clean build.
2. How did you build Xerces-C?
[DR] ./configure --prefix=/nanfs02/home/dray/linux/install/xerces_icu
--with-icu=/nanfs02/home/dray/linux/install/icu/lz_linux
--disable-shared --disable-network
3. What Linux distribution and what version of GCC are you using?
[DR]
[d...@lndus186 install]$ uname -a
Linux lndus186 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686
i686 i386 GNU/Linux
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-56)
4. What output do you get when you run the following command on the
Xerces-C library you built:
[DR]
[d...@lndus186 lib]$ nm libxerces-c.a | grep compareString | c++filt
U xercesc_3_0::XMLString::compareString(unsigned short const*,
unsigned short const*)
U xercesc_3_0::XMLString::compareString(unsigned short const*,
unsigned short const*)
00000408 T xercesc_3_0::XMLString::compareString(char const*, char
const*)
0000133c T xercesc_3_0::XMLString::compareString(unsigned short const*,
unsigned short const*)
Well, that's definition for compareString. I don't know why the linker
isn't finding it.
I would suggest you not try to use static libraries, since Xalan-C won't
build as a static library anyway.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org