Archived

This forum has been archived. Please start a new discussion on GitHub.

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.

Comments