Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 05-30-2003
Urs Urs is offline
Registered User
 
 
Join Date: Feb 2003
Location: Switzerland
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 05-30-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 962
Hi,

Did you build Xerces yourself, or did you obtain binaries from somewhere?

If you built it yourself, did you build it using gcc 3.2? What options did you specify for runConfigure?
Reply With Quote
  #3 (permalink)  
Old 05-30-2003
Urs Urs is offline
Registered User
 
 
Join Date: Feb 2003
Location: Switzerland
Posts: 3
Quote:
Originally posted by mes
Hi,

Did you build Xerces yourself, or did you obtain binaries from somewhere?

If you built it yourself, did you build it using gcc 3.2? What options did you specify for runConfigure?
Hi Mark

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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 07:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.