Hi all,
I've used Soci a few weeks ago for my private project with mysql in Windows 7.
I've tried to compile soci with CMake but without success. But by using the
classic Makefiles, I did it (got two libs : libsoci_core.a and libsoci_mysql.a).
Then I started my test project (with Mingw) with the very first example from
website and I got some thing unexplainable (see below)
I would appreciate very much for any suggestion
C:\CodeBlocks\libs\soci\libsoci_core.a(into-type.o):into-type.cpp:(.text+0x69):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(into-type.o):into-type.cpp:(.text+0x1ff):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(into-type.o):into-type.cpp:(.text$_ZNSt6vectorIN4soci9indicatorESaIS1_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS1_S3_EEjRKS1_[std::vector<soci::indicator,
std::allocator<soci::indicator>
>::_M_fill_insert(__gnu_cxx::__normal_iterator<soci::indicator*,
std::vector<soci::indicator, std::allocator<soci::indicator> > >, unsigned int,
soci::indicator const&)]+0x382): undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(into-type.o):into-type.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(use-type.o):use-type.cpp:(.text+0x89):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(use-type.o):use-type.cpp:(.text+0x2ad):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(use-type.o):use-type.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(session.o):session.cpp:(.text+0x172):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(session.o):session.cpp:(.text+0x1e1):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(session.o):session.cpp:(.text+0x2b7):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(session.o):session.cpp:(.text+0x3a0):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(session.o):session.cpp:(.text+0x4b2):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(session.o):session.cpp:(.text+0x5e2):
more undefined references to `_Unwind_Resume' follow
C:\CodeBlocks\libs\soci\libsoci_core.a(session.o):session.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(once-temp-type.o):once-temp-type.cpp:(.text+0x9a):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(once-temp-type.o):once-temp-type.cpp:(.text+0xc0):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(once-temp-type.o):once-temp-type.cpp:(.text$_ZN4soci9statementC1ERNS_7sessionE[soci::statement::statement(soci::session&)]+0x45):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(once-temp-type.o):once-temp-type.cpp:(.text$_ZN4soci7details26ref_counted_statement_base7dec_refEv[soci::details::ref_counted_statement_base::dec_ref()]+0x5e):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(once-temp-type.o):once-temp-type.cpp:(.text$_ZN4soci7details21ref_counted_statementC1ERNS_7sessionE[soci::details::ref_counted_statement::ref_counted_statement(soci::session&)]+0x4c):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(once-temp-type.o):once-temp-type.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(ref-counted-statement.o):ref-counted-statement.cpp:(.text+0xef):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(ref-counted-statement.o):ref-counted-statement.cpp:(.text$_ZN4soci7details21ref_counted_statementD1Ev[soci::details::ref_counted_statement::~ref_counted_statement()]+0x55):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(ref-counted-statement.o):ref-counted-statement.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(statement.o):statement.cpp:(.text+0x153):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(statement.o):statement.cpp:(.text+0x32a):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(statement.o):statement.cpp:(.text+0x410):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(statement.o):statement.cpp:(.text+0x718):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(statement.o):statement.cpp:(.text+0x944):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(statement.o):statement.cpp:(.text+0x1168):
more undefined references to `_Unwind_Resume' follow
C:\CodeBlocks\libs\soci\libsoci_core.a(statement.o):statement.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(backend-loader.o):backend-loader.cpp:(.text+0x2b4):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(backend-loader.o):backend-loader.cpp:(.text+0x322):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(backend-loader.o):backend-loader.cpp:(.text+0x748):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(backend-loader.o):backend-loader.cpp:(.text+0x79b):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(backend-loader.o):backend-loader.cpp:(.text+0x7b2):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(backend-loader.o):backend-loader.cpp:(.text+0x7e6):
more undefined references to `_Unwind_Resume' follow
C:\CodeBlocks\libs\soci\libsoci_core.a(backend-loader.o):backend-loader.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(connection-pool.o):connection-pool.cpp:(.text+0x259):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(connection-pool.o):connection-pool.cpp:(.text+0x26d):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(connection-pool.o):connection-pool.cpp:(.text+0x281):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(connection-pool.o):connection-pool.cpp:(.text+0x2d2):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(connection-pool.o):connection-pool.cpp:(.text+0x46d):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(connection-pool.o):connection-pool.cpp:(.text+0x65e):
more undefined references to `_Unwind_Resume' follow
C:\CodeBlocks\libs\soci\libsoci_core.a(connection-pool.o):connection-pool.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(ref-counted-prepare-info.o):ref-counted-prepare-info.cpp:(.text$_ZN4soci7details24ref_counted_prepare_infoD1Ev[soci::details::ref_counted_prepare_info::~ref_counted_prepare_info()]+0x75):
undefined reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(ref-counted-prepare-info.o):ref-counted-prepare-info.cpp:(.eh_frame+0x12):
undefined reference to `__gxx_personality_v0'
C:\CodeBlocks\libs\soci\libsoci_core.a(row.o):row.cpp:(.text+0x8a): undefined
reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(row.o):row.cpp:(.text+0x124): undefined
reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(row.o):row.cpp:(.text+0x281): undefined
reference to `_Unwind_Resume'
C:\CodeBlocks\libs\soci\libsoci_core.a(row.o):row.cpp:(.text+0x598): undefined
reference to `_Unwind_Resume'
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users