View Single Post
  #1 (permalink)  
Old 09-30-2005
CAS CAS is offline
Registered User
 
 
Join Date: Sep 2005
Posts: 3
Compiling demos on Mac OS X 10.4.2

I've just started experimenting with Ice for possible use in a robotics project. I successfully compiled and ran the demos on Linux but am having trouble linking under Mac OS X 10.4.2. When I run make in the demo directory, I get the output below. I've set up the environment variables correctly, as far as I can tell, so I don't know why the linker is complaining.

% make
making all in IceUtil
making all in workqueue
rm -f workqueue
c++ -Wl,-executable_path,/Users/claude/Applications/Ice-2.1.2/bin -g -ftemplate-depth-128 -Wall -D_REENTRANT -L/Users/claude/Applications/Ice-2.1.2/lib -o workqueue WorkQueue.o -lIceUtil -lpthread
/usr/bin/ld: Undefined symbols:
typeinfo for IceUtil::NullHandleException
typeinfo for IceUtil::ThreadSyscallException
typeinfo for IceUtil::Thread
typeinfo for IceUtil::Exception
collect2: ld returned 1 exit status
make[2]: *** [workqueue] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
__________________
Claude Sammut
School of Computer Science and Engineering
University of New South Wales
Sydney, Australia
Reply With Quote