Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-28-2003
marlowa marlowa is offline
Registered User
 
 
Join Date: Feb 2003
Location: London
Posts: 64
linktime error from xerces 2.1

I get a fatal error trying to link IceBox. Here it is:

CC -I/usr/local/db/include -I/usr/local/include -L../../lib -o ../../bin/icebox ServiceManagerI.o Server.o -lIceBox -lFreeze -lIceXML -lIce -ldl -lbz2 -lIceUtil -lpthread -luuid -lsocket -lrt -L/usr/local/db/lib -ldb
Undefined first referenced
symbol in file
std::basic_ostream<char,std::char_traits<char> >&std::basic_ostream<char,std::char_traits<char> >::write(const char*,long) /usr/local/gnu-stuff/xerces-c-src2_1_0/lib/libxerces-c.so.21
ld: fatal: Symbol referencing errors. No output written to ../../bin/icebox
gmake[2]: *** [../../bin/icebox] Error 1
gmake[2]: Leaving directory `/export/spare/amarlow/development/Ice-1.0.1/src/IceBox'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/export/spare/amarlow/development/Ice-1.0.1/src'
gmake: *** [all] Error 1

Any ideas?

-Andrew M.
__________________
You are in a maze of twisty little passages, all different.
Reply With Quote
  #2 (permalink)  
Old 02-28-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,771
What compiler are you using, and what platform is this?
Reply With Quote
  #3 (permalink)  
Old 02-28-2003
marlowa marlowa is offline
Registered User
 
 
Join Date: Feb 2003
Location: London
Posts: 64
Quote:
Originally posted by marc
What compiler are you using, and what platform is this?
Forte 6.2, Solaris 8.

-apm
__________________
You are in a maze of twisty little passages, all different.
Reply With Quote
  #4 (permalink)  
Old 02-28-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,771
Quote:
Originally posted by marlowa
Forte 6.2, Solaris 8.

-apm
It seems that you try to link a GNU-compiled Xerces-C with Forte. I don't think this works, because the C++ ABIs are different for these two compilers, meaning that you must compile Xerces-C with Forte, too.
Reply With Quote
  #5 (permalink)  
Old 02-28-2003
marlowa marlowa is offline
Registered User
 
 
Join Date: Feb 2003
Location: London
Posts: 64
Quote:
Originally posted by marc
It seems that you try to link a GNU-compiled Xerces-C with Forte. I don't think this works, because the C++ ABIs are different for these two compilers, meaning that you must compile Xerces-C with Forte, too.
Doh! Excuse me while I shoot myself... :-(
__________________
You are in a maze of twisty little passages, all different.
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
fatal error C1189: #error : WINDOWS.H already included delloby Help Center 1 02-05-2006 01:58 AM
Project : error PRJ0019: A tool returned an error code: "Performing Custom Build Step Falagard Help Center 6 04-11-2004 09:12 PM
link error: error LNK2001: unresolved external symbol __imp___assert gmueckl Help Center 2 09-03-2003 02:49 AM
Validate.cpp doesn't compile against xerces 2.2.0 dthomson Bug Reports 6 02-25-2003 02:50 AM


All times are GMT -4. The time now is 07:25 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.