View Single Post
  #1 (permalink)  
Old 11-10-2005
daniell daniell is offline
Registered User
 
 
Join Date: Jul 2005
Posts: 6
Smile Undefined typeinfo on Tiger

I just installed Tiger (Mac OS 10.4) which comes with GCC 4.0 as the default. When linking with the binary Darwin distribution version 2.1.2, I get errors like this:

/usr/bin/ld: Undefined symbols:
typeinfo for IceUtil::NullHandleException
typeinfo for Ice::LocalObject
collect2: ld returned 1 exit status
make: *** [tlogger] Error 1

If anyone else has encountered this, the answer is simple. You have to fall back to the 3.3 version of the compiler to build your projects.

I assume you could download the source distribution and build it with 4.0, but I didn't try that.

Using g++-3.3 makes everything happy.
__________________
Daniel LaFavers
Thomson Gale : www.thomson.com
Reply With Quote