I have made progress. I built and installed gcc 2.95.2 on the solaris
2.6 machine and built the xerces-c libraries. The build appeared
successful, so I tried building the samples. None of the samples will
build - I get "Symbol referencing errors" with undefined symbols first
referenced in the library file that was just built. Here are the exact
errors:
# gmake^M
mkdir -p /export/home0/xerces-csrc_1_1_0_d15/bin/obj/DOMPrint^M
g++ -DSOLARIS -fpic -L/usr/lib -L/usr/local/lib
/export/home0/xerces-csrc_1_1_0_d15/bin/obj/DOMPrint/DOMPrint.o
/export/home0/xerces-csrc_1_1_0_d15/bin/obj/DOMPrint/DOMTreeErrorReporter.o
-o /export/home0/xerces-csrc_1_1_0_d15/bin/DOMPrint
-L/export/home0/xerces-csrc_1_1_0_d15/lib -lxerces-c1_1 -lc ^M
Undefined
first referenced^M
symbol
in file^M
XMLString::transcode(wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
XMLPlatformUtils::loadAMsgSet(unsigned wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
XMLException type_info function
/export/home0/xerces-csrc_1_1_0_d15/bin/obj/DOMPrint/DOMPrint.o^M
XMLPlatformUtils::getFullPath(unsigned wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
__register_exceptions
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
XMLException type_info node
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
operator+(DOMString const &, wchar_t)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
XMLPlatformUtils::weavePaths(unsigned wchar_t const *,
unsigned wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
XMLString::copyString(wchar_t *, wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
XMLPlatformUtils::openFile(unsigned wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
InMemMsgLoader::InMemMsgLoader(wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
DOMString::DOMString(wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/bin/obj/DOMPrint/DOMPrint.o^M
XMLString::stringLen(wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
CharacterDataImpl type_info node
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
XMLPlatformUtils::isRelative(unsigned wchar_t const *)
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
CharacterDataImpl type_info function
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
.LL387
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
.LL388
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
.LL389
/export/home0/xerces-csrc_1_1_0_d15/lib/libxerces-c1_1.so^M
ld: fatal: Symbol referencing errors. No output written to
/export/home0/xerces-csrc_1_1_0_d15/bin/DOMPrint^M
collect2: ld returned 1 exit status^M
gmake: *** [/export/home0/xerces-csrc_1_1_0_d15/bin/DOMPrint] Error 1^M
Can anyone help me? Did I do something wrong when I built the
libraries? I really don't think so, but anything is possible.
--
Craig Noah INTERNET: [EMAIL PROTECTED]
Software Engineer
Sterling Software ITD
1404 Fort Crook Road South Phone: (402) 291-8300 x 284
Bellevue, NE 68005-2969 FAX: (402) 291-4362