Can't install in cygwin, gcc and g++ and standard libraries are all installed. #279

Closed
edlebert opened this Issue Nov 19, 2011 · 9 comments

Projects

None yet

2 participants

@edlebert

No description provided.

@edlebert

I get a bunch of undefined referrences related to C++ Is it using gcc instead of g++? I get the same results for 0.12.10 as I do for 1.0.0.beta.4 :(

Admin@desktop /cygdrive/d/Install/ruby
$ gem install eventmachine --pre
Building native extensions.  This could take a while...
ERROR:  Error installing eventmachine:
        ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby.exe extconf.rb
checking for main() in -lssl... yes
checking for main() in -lcrypto... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for sys/event.h... no
creating Makefile

make
compiling binder.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
compiling cmain.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
compiling ed.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
ed.cpp: In member function ‘void EventableDescriptor::_GenericInboundDispatch(const char*, int)’:
ed.cpp:297:19: warning: comparison between signed and unsigned integer expressions
compiling em.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
em.cpp: In member function ‘bool EventMachine_t::_RunSelectOnce()’:
em.cpp:958:6: warning: ‘int rb_thread_select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)’ is deprecated (declared at /usr/local/include/ruby-1.9.1/ruby/intern.h:379)
em.cpp:958:40: warning: ‘int rb_thread_select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)’ is deprecated (declared at /usr/local/include/ruby-1.9.1/ruby/intern.h:379)
compiling kb.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
compiling page.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
compiling pipe.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
compiling rubymain.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
compiling ssl.cpp
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
linking shared-object rubyeventmachine.so
binder.o: In function `_ZNSt17_Rb_tree_iteratorISt4pairIKmP10Bindable_tEEppEi':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:192: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
binder.o: In function `_ZNSt8_Rb_treeImSt4pairIKmP10Bindable_tESt10_Select1stIS4_ESt4lessImESaIS4_EE5eraseESt17_Rb_tree_iteratorIS4_E':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:1400: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
binder.o: In function `_ZNSt17_Rb_tree_iteratorISt4pairIKmP10Bindable_tEEppEi':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:192: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)'
binder.o: In function `_ZNSt8_Rb_treeImSt4pairIKmP10Bindable_tESt10_Select1stIS4_ESt4lessImESaIS4_EE5eraseESt17_Rb_tree_iteratorIS4_E':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:1400: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
binder.o: In function `_ZNSt17_Rb_tree_iteratorISt4pairIKmP10Bindable_tEEmmEv':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:199: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
binder.o: In function `_ZNSt8_Rb_treeImSt4pairIKmP10Bindable_tESt10_Select1stIS4_ESt4lessImESaIS4_EE10_M_insert_EPKSt18_Rb_tree_node_baseSD_RKS4_':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:901: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:901: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
binder.o: In function `_ZNSt23_Rb_tree_const_iteratorISt4pairIKmP10Bindable_tEEmmEv':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:274: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base const*)'
binder.o: In function `_ZNSt8_Rb_treeImSt4pairIKmP10Bindable_tESt10_Select1stIS4_ESt4lessImESaIS4_EE10_M_insert_EPKSt18_Rb_tree_node_baseSD_RKS4_':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:901: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
binder.o: In function `_ZNSt23_Rb_tree_const_iteratorISt4pairIKmP10Bindable_tEEppEv':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:259: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
binder.o: In function `_ZNSt8_Rb_treeImSt4pairIKmP10Bindable_tESt10_Select1stIS4_ESt4lessImESaIS4_EE10_M_insert_EPKSt18_Rb_tree_node_baseSD_RKS4_':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:901: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:901: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:901: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_tree.h:901: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
binder.o: In function `__static_initialization_and_destruction_0':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::Init()'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::~Init()'
binder.o:binder.cpp:(.rdata$_ZTI10Bindable_t[typeinfo for Bindable_t]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
cmain.o: In function `evma_detach_fd':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/cmain.cpp:140: undefined reference to `___dynamic_cast'
cmain.o: In function `evma_get_file_descriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/cmain.cpp:159: undefined reference to `___dynamic_cast'
cmain.o: In function `evma_is_notify_readable':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/cmain.cpp:177: undefined reference to `___dynamic_cast'
cmain.o: In function `evma_set_notify_readable':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/cmain.cpp:189: undefined reference to `___dynamic_cast'
cmain.o: In function `evma_is_notify_writable':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/cmain.cpp:200: undefined reference to `___dynamic_cast'
cmain.o:/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/cmain.cpp:212: more undefined references to `___dynamic_cast' follow
cmain.o: In function `__static_initialization_and_destruction_0':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::Init()'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::~Init()'
cmain.o:cmain.cpp:(.rdata$_ZTI19EventableDescriptor[typeinfo for EventableDescriptor]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
cmain.o:cmain.cpp:(.rdata$_ZTI14PipeDescriptor[typeinfo for PipeDescriptor]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
cmain.o:cmain.cpp:(.rdata$_ZTI20ConnectionDescriptor[typeinfo for ConnectionDescriptor]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
cmain.o:cmain.cpp:(.rdata$_ZTI18DatagramDescriptor[typeinfo for DatagramDescriptor]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
cmain.o:cmain.cpp:(.eh_frame+0x12): undefined reference to `___gxx_personality_v0'
ed.o: In function `_ZNSt11_Deque_baseIN20ConnectionDescriptor12OutboundPageESaIS1_EE15_M_create_nodesEPPS1_S5_':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:615: undefined reference to `___cxa_begin_catch'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:618: undefined reference to `___cxa_rethrow'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:615: undefined reference to `___cxa_end_catch'
ed.o: In function `_ZNSt11_Deque_baseIN20ConnectionDescriptor12OutboundPageESaIS1_EE17_M_initialize_mapEj':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:588: undefined reference to `___cxa_begin_catch'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:593: undefined reference to `___cxa_rethrow'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:588: undefined reference to `___cxa_end_catch'
ed.o: In function `_ZN9__gnu_cxx13new_allocatorIPN18DatagramDescriptor12OutboundPageEE8allocateEjPKv':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/ext/new_allocator.h:87: undefined reference to `std::__throw_bad_alloc()'
ed.o: In function `_ZN17InotifyDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1955: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1955: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1955: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN17InotifyDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1955: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1955: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN17InotifyDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1955: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1955: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN18AcceptorDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1452: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1452: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1452: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN18AcceptorDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1452: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1452: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN18AcceptorDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1452: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1452: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN19LoopbreakDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1331: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1331: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1331: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN19LoopbreakDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1331: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1331: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN19LoopbreakDescriptor5WriteEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1331: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1331: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor11SetTlsParmsEPKcS1_b':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1136: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1136: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1136: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor11SetTlsParmsEPKcS1_b':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1136: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1136: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSsaSEPKc':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:1078: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:1078: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor11SetTlsParmsEPKcS1_b':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1136: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1136: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN19EventableDescriptor14SetProxiedFromEPS_m':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:274: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:274: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:274: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN19EventableDescriptor14SetProxiedFromEPS_m':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:274: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:274: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN19EventableDescriptor14SetProxiedFromEPS_m':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:274: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:274: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor6ResumeEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:684: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:684: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:684: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor6ResumeEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:684: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:684: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor6ResumeEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:684: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:684: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor5PauseEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:669: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:669: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:669: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor5PauseEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:669: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:669: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor5PauseEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:669: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:669: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor13ScheduleCloseEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:500: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:500: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:500: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor13ScheduleCloseEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:500: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:500: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor13ScheduleCloseEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:500: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:500: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor11GetPeerCertEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1158: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1158: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1158: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor11GetPeerCertEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1158: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1158: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor11GetPeerCertEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1158: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1158: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN19EventableDescriptor10StartProxyEmmm':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:242: undefined reference to `___dynamic_cast'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:250: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:250: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:250: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN19EventableDescriptor10StartProxyEmmm':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:250: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:250: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN19EventableDescriptor10StartProxyEmmm':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:250: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:250: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN18DatagramDescriptor16SendOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1709: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1709: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1709: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN18DatagramDescriptor16SendOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1712: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1712: undefined reference to `___cxa_throw'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1712: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1712: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1712: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN18DatagramDescriptor16SendOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1712: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1712: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `EventableDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:91: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:91: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:91: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `EventableDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:91: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:91: undefined reference to `___cxa_throw'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:93: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:93: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:93: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `EventableDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:93: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:93: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `EventableDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:93: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:93: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_Alloc_hider':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:261: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:261: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:261: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:261: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor17SetNotifyReadableEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:513: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:513: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:513: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor17SetNotifyReadableEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:513: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:513: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor17SetNotifyReadableEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:513: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:513: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor17SetNotifyWritableEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:527: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:527: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:527: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor17SetNotifyWritableEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:527: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:527: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor17SetNotifyWritableEb':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:527: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:527: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor20_SendRawOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:592: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:592: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:592: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor20_SendRawOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:595: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:595: undefined reference to `___cxa_throw'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:595: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:595: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:595: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN9__gnu_cxx13new_allocatorIPN20ConnectionDescriptor12OutboundPageEE8allocateEjPKv':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/ext/new_allocator.h:87: undefined reference to `std::__throw_bad_alloc()'
ed.o: In function `_ZN20ConnectionDescriptor20_SendRawOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:595: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:595: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor8StartTlsEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1116: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1116: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1116: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor8StartTlsEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1116: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1116: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor8StartTlsEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1116: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1116: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN20ConnectionDescriptor16SendOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:541: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:541: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:541: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN20ConnectionDescriptor16SendOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:541: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:541: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN20ConnectionDescriptor16SendOutboundDataEPKci':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:541: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:541: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN18AcceptorDescriptor12StopAcceptorEm':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1365: undefined reference to `___dynamic_cast'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1369: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1369: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1369: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN18AcceptorDescriptor12StopAcceptorEm':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1369: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1369: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN18AcceptorDescriptor12StopAcceptorEm':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1369: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1369: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZN18DatagramDescriptor20SendOutboundDatagramEPKciS1_i':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1767: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1767: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1767: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `_ZN18DatagramDescriptor20SendOutboundDatagramEPKciS1_i':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1770: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1770: undefined reference to `___cxa_throw'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1770: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1770: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1770: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZN18DatagramDescriptor20SendOutboundDatagramEPKciS1_i':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1770: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1770: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `InotifyDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1908: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1908: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1908: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `InotifyDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1908: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1908: undefined reference to `___cxa_throw'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `InotifyDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1908: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:1908: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
ed.o: In function `~ConnectionDescriptor':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:393: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/ed.cpp:393: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
ed.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
ed.o: In function `_ZNSt11_Deque_baseIN18DatagramDescriptor12OutboundPageESaIS1_EE15_M_create_nodesEPPS1_S5_':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:615: undefined reference to `___cxa_begin_catch'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:618: undefined reference to `___cxa_rethrow'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:615: undefined reference to `___cxa_end_catch'
ed.o: In function `_ZNSt11_Deque_baseIN18DatagramDescriptor12OutboundPageESaIS1_EE17_M_initialize_mapEj':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:588: undefined reference to `___cxa_begin_catch'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:593: undefined reference to `___cxa_rethrow'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/stl_deque.h:588: undefined reference to `___cxa_end_catch'
ed.o: In function `__static_initialization_and_destruction_0':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::Init()'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:73: undefined reference to `std::ios_base::Init::~Init()'
ed.o:ed.cpp:(.rdata$_ZTV19EventableDescriptor[vtable for EventableDescriptor]+0x10): undefined reference to `___cxa_pure_virtual'
ed.o:ed.cpp:(.rdata$_ZTV19EventableDescriptor[vtable for EventableDescriptor]+0x14): undefined reference to `___cxa_pure_virtual'
ed.o:ed.cpp:(.rdata$_ZTV19EventableDescriptor[vtable for EventableDescriptor]+0x18): undefined reference to `___cxa_pure_virtual'
ed.o:ed.cpp:(.rdata$_ZTV19EventableDescriptor[vtable for EventableDescriptor]+0x1c): undefined reference to `___cxa_pure_virtual'
ed.o:ed.cpp:(.rdata$_ZTV19EventableDescriptor[vtable for EventableDescriptor]+0x20): undefined reference to `___cxa_pure_virtual'
ed.o:ed.cpp:(.rdata$_ZTI17InotifyDescriptor[typeinfo for InotifyDescriptor]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
ed.o:ed.cpp:(.rdata$_ZTI18AcceptorDescriptor[typeinfo for AcceptorDescriptor]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
ed.o:ed.cpp:(.rdata$_ZTI19LoopbreakDescriptor[typeinfo for LoopbreakDescriptor]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
ed.o:ed.cpp:(.rdata$_ZTISt13runtime_error[typeinfo for std::runtime_error]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
ed.o:ed.cpp:(.rdata$_ZTISt9exception[typeinfo for std::exception]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
ed.o:ed.cpp:(.eh_frame+0x12): undefined reference to `___gxx_personality_v0'
em.o: In function `_ZN14EventMachine_t15SetTimerQuantumEi':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:204: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:204: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:204: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
em.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
em.o: In function `_ZN14EventMachine_t15SetTimerQuantumEi':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:204: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:204: undefined reference to `___cxa_throw'
em.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
em.o: In function `_ZN14EventMachine_t15SetTimerQuantumEi':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:204: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:204: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
em.o: In function `_ZN14EventMachine_t12SetuidStringEPKc':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:233: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:233: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
em.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
em.o: In function `_ZN14EventMachine_t12SetuidStringEPKc':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:240: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:240: undefined reference to `___cxa_throw'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:240: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:240: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:240: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
em.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
em.o: In function `_ZN14EventMachine_t12SetuidStringEPKc':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:237: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:237: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
em.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)'
em.o: In function `_ZN14EventMachine_t12SetuidStringEPKc':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:240: undefined reference to `___cxa_free_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:240: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
em.o: In function `_ZN14EventMachine_t22_InitializeLoopBreakerEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:307: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:307: undefined reference to `___cxa_allocate_exception'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:307: undefined reference to `std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
em.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:233: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
em.o: In function `_ZN14EventMachine_t22_InitializeLoopBreakerEv':
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:307: undefined reference to `std::runtime_error::~runtime_error()'
/usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4/ext/em.cpp:307: undefined reference to `___cxa_throw'
em.o: In function `_ZNSs4_Rep10_M_disposeERKSaIcE':
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/basic_string.h:237: undefined reference to `std::basic_strin
@tmm1

Sounds like its not linking libstdc++ correctly. There's a bunch of platform detection logic in extconf.rb to add c++ support (since ruby only supports c extensions natively).

I don't have a working cygwin environment to test with, but if you can tweak extconf.rb to get it working I will gladly accept a patch. There's cygwin logic in there already, but sounds like it broke at some point.

@tmm1

Relevant lines are here.

@edlebert

I added the following case statement to both extconf.rb files (there's another one in the fastfilereader folder). Worked like a charm.

when /cygwin/
# on Unix we need a g++ link, not gcc.
CONFIG['CXX'] = 'g++'
CONFIG['LDSHARED'] = "$(CXX) -shared"

@tmm1

Any chance you can submit a git patch, or pull request on github?

@edlebert
@edlebert

I looked into this some more this morning, trying to answer the question: "Why does $CXX = "CC" for me?". I built my cygwin's ruby 1.9.3 from source (using gcc on cygwin). The ruby source's "configure" script picked "CC" as my C++ compiler (even though it doesn't compile any C++), and that's eventually what ruby uses for building C++ extensions. So I rebuilt my ruby like this:

CXX=g++ ./configure && make && make install

Now my ruby uses g++ instead of CC, and installing eventmachine works. I think ruby should fix their configure script because on cygwin, CC is just a wrapper for gcc, which will compile C++ but it won't link it.

Had we patched eventmachine, some other gem with C++ extensions would have failed anyway. Thanks for the fast response and willingness to patch! But this is a problem with compiling your own ruby on cygwin, not with eventmachine. :)

@edlebert edlebert closed this Nov 19, 2011
@tmm1

Ruby's official policy is that they do not support c++ extensions, which is why all these hacks are in our extconf.rb

This is going to bite other users as well, so I'd appreciate a patch that sets CXX explicitly in extconf.

@edlebert edlebert reopened this Nov 20, 2011
@tmm1

Thanks!

@tmm1 tmm1 closed this Nov 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment