|
|
|
|||||
|
Ice-1.1.0: compile error "undefined reference to xercesc_2_2"
the system is:
debian woody with gcc-3.2/g++-3.2 and xercesc-2.2 I try to compile Ice-1.1.0 and get this error: make[2]: Entering directory `/usr/src/Ice/Ice-1.1.0/src/slice2xsd' g++-3.2 -c -I. -I../../include -I/usr/local/xerces-c/include -g -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT Validate.cpp rm -f ../../bin/xsdvalidate g++-3.2 -g -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT -L../../lib -o ../../bin/xsdvalidate Validate.o -lIceUtil -lpthread -L/usr/local/xerces-c/lib -lxerces-c Validate.o(.text+0x1b): In function `toString(unsigned short const*)': /usr/src/Ice/Ice-1.1.0/src/slice2xsd/Validate.cpp:62: undefined reference to `xercesc_2_2::XMLString::transcode(unsigned short const*)' Validate.o(.text+0x12d): In function `main': /usr/src/Ice/Ice-1.1.0/src/slice2xsd/Validate.cpp:106: undefined reference to `xercesc_2_2::XMLUni::fgXercescDefaultLocale' Validate.o(.text+0x133):/usr/src/Ice/Ice-1.1.0/src/slice2xsd/Validate.cpp:106: undefined reference to `xercesc_2_2::XMLPlatformUtils::Initialize(char const*)' Validate.o(.text+0x46a):/usr/src/Ice/Ice-1.1.0/src/slice2xsd/Validate.cpp:156: undefined reference to `xercesc_2_2::XercesDOMParser::XercesDOMParser[in-charge](xercesc_2_2::XMLValidator*)' [...] Validate.o(.gnu.linkonce.d.DW.ref._ZTIN11xercesc_2 _212DOMExceptionE+0x0): undefined reference to `typeinfo for xercesc_2_2: OMException'collect2: ld returned 1 exit status make[2]: *** [../../bin/xsdvalidate] Error 1 make[2]: Leaving directory `/usr/src/Ice/Ice-1.1.0/src/slice2xsd' make[1]: *** [all] Error 1 make[1]: Leaving directory `/usr/src/Ice/Ice-1.1.0/src' make: *** [all] Error 1 Any ideas? Best regards, Urs |
|
|||||
|
Quote:
Yes this was my mistake, I have compiled Xerces with gcc 2.96 as you say. Now I have compiled Xerces again with gcc 3.2 and it is running. Only one problem the same as in the posting from georgeal "Linker error while building IceBox". So I need only fix the problem with "Berkeley DB". Thank you for your answer! Regards Urs ![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Don't "Ice-3.1.1-VC71.msi " include the "slice2java.exe"? | Jason Gao | Help Center | 4 | 10-26-2006 11:23 AM |
| PermissionDeniedException ,reason is "internal server error" | ewiniar | Help Center | 2 | 05-18-2006 05:55 AM |
| fatal error C1189: #error : "Ice for Visual C++ 6.0 requires STLport" | richardma | Help Center | 4 | 01-13-2006 06:23 AM |
| "Filesystem demo" runtime error | oops | Help Center | 3 | 09-25-2004 08:42 AM |
| Going from "in" to "out" param, using a class as a union | catalin | Help Center | 1 | 04-05-2004 08:55 AM |