Michael Neumann
3/21/2008 10:16:00 AM
7stud -- wrote:
> 7stud -- wrote:
>> Michael Neumann wrote:
>> I tried adding that line to extconf.rb before the create_makefile()
>> line, but I get the same error.
>>
>> ??
>
> Here's the error:
>
> $ ruby extconf.rb
> creating Makefile
>
> $ make
> cc -bundle -L"/usr/lib" -o Test.bundle Test.o -lruby -lpthread -ldl
> -lobjc -lstdc++
> /usr/bin/ld: Undefined symbols:
> __Unwind_Resume
> collect2: ld returned 1 exit status
> make: *** [Test.bundle] Error 1
Try this:
$LIBS << " -lstdc++ -lc"
Regards,
Michael