From: ara.t.howard@... Date: 2006-03-09T05:35:16+09:00 Subject: Re: Ruby c++ extension on intel mac On Thu, 9 Mar 2006, Steve Peters wrote: > On Thu, Mar 09, 2006 at 05:04:33AM +0900, Gareth Reeves wrote: >> Hey, >> >> I am having trouble building an extension on a new intel mac. The >> extension I have at the moment is simple, basically the example out of >> the big ruby book. >> >> The error I get when building is >> >> macbook:~/projects/extension_shared_ptr_test reevesg$ make >> cc -bundle -L"/usr/lib" -o Extension.bundle extension.o -lruby >> -lpthread -ldl -lobjc >> /usr/bin/ld: Undefined symbols: >> ___gxx_personality_v0 >> collect2: ld returned 1 exit status >> make: *** [Extension.bundle] Error 1 >> macbook:~/projects/extension_shared_ptr_test reevesg$ >> >> I think i may need to build my ruby from scratch because this sounds >> like a gcc incompatibility to me. try CC=g++ make -a -- knowledge is important, but the much more important is the use toward which it is put. this depends on the heart and mine the one who uses it. - h.h. the 14th dali lama