Re: [Biosig-general] makefile issues compiling save2gdf on Windows
Brought to you by:
schloegl
From: Owen K. <ok...@bi...> - 2009-12-15 15:35:38
|
Here is the error with static compile: ####################################################### $ g++ -pipe -fPIC -Wall -O2 -Wextra save2gdf.c win32/libbiosig.lib -lws2_32 -o save2gdf.exe save2gdf.c:1: warning: -fPIC ignored for target (all code is position independent) save2gdf.c: In function 'int main(int, char**)': save2gdf.c:424: warning: unknown conversion type character 'L' in format save2gdf.c:424: warning: format '%i' expects type 'int', but argument 6 has type 'nrec_t' save2gdf.c:424: warning: too many arguments for format win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0xcb): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0xe4): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0x261e): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0x44b6): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0x49db): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0x49f4): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0x6bd3): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text+0x7710): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_ZNSt6vectorIS sSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vec tor<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x1f): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_ZNSt6vectorIS sSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vec tor<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x32): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_ZNSt6vectorIS sSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vec tor<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x123): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_ZNSt6vectorIS sSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vec tor<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x47e): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_ZNSt6vectorIS sSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vec tor<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x4b8): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_Z15stringtoke nizerISt6vectorISsSaISsEEEvRT_RKSsPKc[void stringtokenizer<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)]+0x1c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_Z15stringtoke nizerISt6vectorISsSaISsEEEvRT_RKSsPKc[void stringtokenizer<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)]+0x2f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_Z15stringtoke nizerISt6vectorISsSaISsEEEvRT_RKSsPKc[void stringtokenizer<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)]+0x20b): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_Z15stringtoke nizerISt6vectorISsSaISsEEEvRT_RKSsPKc[void stringtokenizer<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)]+0x2fc): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_Z15stringtoke nizerISt6vectorISsSaISsEEEvRT_RKSsPKc[void stringtokenizer<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)]+0x323): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(sopen_hl7aecg.obj):sopen_hl7aecg.c:(.text$_Z15stringtoke nizerISt6vectorISsSaISsEEEvRT_RKSsPKc[void stringtokenizer<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)]+0x34a): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x5ec): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x5ff): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x688): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x879): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0xd8c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0xd9f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0xf0f): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0xfaf): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x13ac): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x13bf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x13f2): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x158d): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x174c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x175f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x1952): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x19ca): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x1c4c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x1c5f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x1d3f): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x2155): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x217f): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x2192): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x21ee): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x26a3): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x2701): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxmlparser.obj):tinyxmlparser.cpp:(.text+0x275f): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x1c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x2f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0xa1): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x11c): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x13c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x14f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x1b6): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x227): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x2ac): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x2bf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x329): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x371): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x39c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x3af): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x41e): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x466): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x48c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x49f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x50e): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinystr.obj):tinystr.cpp:(.text+0x556): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x17cc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x17df): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x184b): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1898): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x18bc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x18cf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1922): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1978): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x199c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x19af): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x19f8): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1a4e): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1a7c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1a8f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1ad8): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1b2e): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1b5c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1b6f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1be3): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1c30): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1c5c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1c6f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1cdb): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1d28): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1d4c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1d5f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1dd1): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1e98): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1ebc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1ecf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x1fd6): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2217): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x223c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x224f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x231a): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x23ba): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x240c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x241f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2492): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x24e5): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x250c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x251f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2592): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x25e5): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x260c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x261f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x269f): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x26fc): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x279c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x27af): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x284d): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x28f0): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x291c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x292f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x29ce): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2a2b): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2a4c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2a5f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2afd): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2ba0): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2c1c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2c2f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2c7e): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2cb4): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2d3c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2d4f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2db3): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2de9): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2e3c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2e4f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2e9f): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2f42): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2f6c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2f7f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x2fcf): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3072): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x30cc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x30df): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x314f): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x319e): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x31dc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x31ef): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x323e): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3274): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x32cc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x32df): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x331a): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3354): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x337c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x338f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x33ca): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3404): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x34ac): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x34bf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3523): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3559): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x35ac): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x35bf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x360f): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x366c): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x368c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x369f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x36ef): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x374c): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x37dc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x37ef): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3844): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3976): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3a2c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3a3f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3ab3): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3ae9): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3b3c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3b4f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3bb0): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3c03): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3c2c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3c3f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3ca0): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3cf3): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3dac): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3dbf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3e3f): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3e9c): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3ebc): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3ecf): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3f6e): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3fcb): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3fec): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x3fff): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x4136): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x4234): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x437c): undefined reference to `__gxx_personality_sj0' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x438f): undefined reference to `_Unwind_SjLj_Register' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x446d): undefined reference to `_Unwind_SjLj_Unregister' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x45cd): undefined reference to `_Unwind_SjLj_Resume' win32/libbiosig.lib(tinyxml.obj):tinyxml.cpp:(.text+0x45fd): undefined reference to `_Unwind_SjLj_Resume' collect2: ld returned 1 exit status ####################################################### Here is the message with a successful DLL compile: $ g++ -pipe -fPIC -Wall -O2 -Wextra save2gdf.c win32/libbiosig.dll -lws2_32 -o save2gdf.exe save2gdf.c:1: warning: -fPIC ignored for target (all code is position independent) save2gdf.c: In function 'int main(int, char**)': save2gdf.c:424: warning: unknown conversion type character 'L' in format save2gdf.c:424: warning: format '%i' expects type 'int', but argument 6 has type 'nrec_t' save2gdf.c:424: warning: too many arguments for format d:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs. ####################################################### -----Original Message----- From: Dipl.-Ing. Dr.techn. Univ.-Doz., Alois Schlögl [mailto:alo...@tu...] Sent: Tuesday, December 15, 2009 5:18 AM To: Owen Kelly Cc: bio...@li... Subject: RE: [Biosig-general] makefile issues compiling save2gdf on Windows Fine. I guess you just need to move libbiosig.dll into some directory where it is found. Does linking with the static library win32/libbiosig.lib also work ? If not, what's the error message. Alois Quoting Owen Kelly <ok...@bi...>: > The suggestion to link to the DLL was successful: > > g++ -pipe -fPIC -Wall -O2 -Wextra save2gdf.c win32/libbiosig.dll > -lws2_32 -o save2gdf.exe > > When I compiled against win32/libbiosig.dll from biosig4c++0.90 it was > successful. > save2gdf.exe can run if it is in the same folder as libbiosig.dll. > > Thank you. > > Regards, > > Owen > > -----Original Message----- > From: Dipl.-Ing. Dr.techn. Univ.-Doz., Alois Schlögl > [mailto:alo...@tu...] > Sent: Saturday, December 12, 2009 11:37 AM > To: oe...@ie... > Cc: bio...@li... > Subject: Re: [Biosig-general] makefile issues compiling save2gdf on > Windows > > Quoting Owen Kelly <oe...@ie...>: > >> Hello all, >> >> >> >> I am trying to compile save2gdf.exe on Windows XP. >> >> I have installed a new setup of MinGW with gcc4 and including g++, >> and > libz. >> >> I have installed MSYS which provides 'gunzip' and 'touch' that are >> used in the makefiles. >> >> >> >> Project A: My goal is to write an executable to convert my own format >> into GDF without using Matlab. I understand that biosig.c is a good >> example to modify to achieve that goal. >> >> >> >> I had thought it would a good idea to get the biosig4c++ build >> environment working before attempting Project A, which leads me to >> >> Project B: compile save2gdf.exe on Windows >> >> >> >> Should I be using make -f Makefile OR make -f Makefile.win32 ?? >> >> Makefile.win32 would seem to be the right thing, however it is not >> included in biosig4c++-0.89.zip, I did manage to get it from the svn head. >> > > Use of Makefile.win32 is ok. It is not tested, suggestions for > improvement are welcome. > > >> >> >> ======================= >> >> mingw32-make -f Makefile.win32 gives many warnings and the following >> is the first error >> >> "biosig-network.c:61: error: 'isdigit' was not declared in this scope" >> >> And the final statement is: "mingw32-make: *** [biosig-network.o] Error 1" >> > > Thanks, that's fixed in the SVN repository. > >> >> >> ====================== >> >> A less ambitious make is here: >> >> >> >> $ make -f Makefile.win32 save2gdf >> >> g++ -pipe -fPIC -Wall -O2 -Wextra save2gdf.c libbiosig.a -lws2_32 -o >> save2gdf >> >> save2gdf.c:1: warning: -fPIC ignored for target (all code is position >> independent) >> >> save2gdf.c: In function 'int main(int, char**)': >> >> save2gdf.c:424: warning: unknown conversion type character 'L' in >> format >> >> save2gdf.c:424: warning: format '%i' expects type 'int', but argument >> 6 has type 'nrec_t' >> >> save2gdf.c:424: warning: too many arguments for format >> >> libbiosig.a(biosig.o):biosig.c:(.text+0x5890): undefined reference to >> `CRCEvaluate' >> >> libbiosig.a(biosig.o):biosig.c:(.text+0x5968): undefined reference to >> `CRCEvaluate' >> >> libbiosig.a(biosig.o):biosig.c:(.text+0x599b): undefined reference to >> `CRCEvaluate' >> >> libbiosig.a(biosig.o):biosig.c:(.text+0x1586b): undefined reference >> to `CRCEvaluate' >> >> libbiosig.a(sopen_scp_write.o):sopen_scp_write.c:(.text+0x23f): >> undefined reference to `CRCEvaluate' >> >> libbiosig.a(sopen_scp_read.o):sopen_scp_read.c:(.text+0x86d): more >> undefined references to `CRCEvaluate' follow >> >> collect2: ld returned 1 exit status >> >> make: *** [save2gdf] Error 1 >> > > The problem might be an incorrect order of the function names. > The order is now changed, see latest Makefile.win32 > > if this does not work, try linking to win32/libbiosig.dll from v0.89. > > g++ -pipe -fPIC -Wall -O2 -Wextra save2gdf.c win32/libbiosig.dll > -lws2_32 -o save2gdf.exe > > > win32/libbiosig.dll was built with the mingw cross compiler on linux: > > $ i586-mingw32msvc-g++ -v > Using built-in specs. > Target: i586-mingw32msvc > Configured with: > /build/buildd/mingw32-4.2.1.dfsg/build_dir/src/gcc-4.2.1-2-dfsg/config > ure -v --prefix=/usr --target=i586-mingw32msvc > --enable-languages=c,c++ --enable-threads --enable-sjlj-exceptions > --disable-multilib --enable-version-specific-runtime-libs > Thread model: win32 > gcc version 4.2.1-sjlj (mingw32-2) > > > >> >> >> Also curious that the output is 'save2gdf' not 'save2gdf.exe'. > > That's fixed in Makefile.win32, too. > >> >> ===================== >> >> >> >> Your suggestions would be appreciated. >> >> >> >> Regards, >> >> >> >> Owen Kelly >> >> >> > > > Regards, > Alois > > > > > > > ---------------------------------------------------------------------- > ------ > -- > Return on Information: > Google Enterprise Search pays you back Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Biosig-general mailing list > Bio...@li... > https://lists.sourceforge.net/lists/listinfo/biosig-general > > |