SHARE
TWEET

Untitled

a guest Apr 21st, 2018 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. g++ -lodb-2.4 -lodb-oracle -o odbtest.run obj/test.o
  2. obj/test.o: In function `main':
  3. test.cpp:(.text+0x27d): undefined reference to `odb::oracle::database::database(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned short, unsigned short, OCIEnv*, odb::details::transfer_ptr<odb::oracle::connection_factory>)'
  4. test.cpp:(.text+0x34a): undefined reference to `odb::transaction::reset(odb::transaction_impl*, bool)'
  5. test.cpp:(.text+0x401): undefined reference to `odb::oracle::query_base::query_base(odb::oracle::query_base const&)'
  6. test.cpp:(.text+0x417): undefined reference to `odb::access::object_traits_impl<XVorgang, (odb::database_id)3>::query(odb::database&, odb::oracle::query_base const&)'
  7. test.cpp:(.text+0x46d): undefined reference to `odb::transaction::~transaction()'
  8. test.cpp:(.text+0x4e5): undefined reference to `odb::transaction::commit()'
  9. test.cpp:(.text+0x509): undefined reference to `odb::transaction::~transaction()'
  10. test.cpp:(.text+0x6cb): undefined reference to `odb::oracle::database::print_usage(std::ostream&)'
  11. obj/test.o: In function `_GLOBAL__sub_I_main':
  12. test.cpp:(.text+0x75e): undefined reference to `odb::access::object_traits_impl<XVorgang, (odb::database_id)3>::table_name'
  13. obj/test.o: In function `odb::oracle::query_param_impl<int, (odb::oracle::database_type_id)0>::~query_param_impl()':
  14. test.cpp:(.text._ZN3odb6oracle16query_param_implIiLNS0_16database_type_idE0EED2Ev[_ZN3odb6oracle16query_param_implIiLNS0_16database_type_idE0EED5Ev]+0xf): undefined reference to `odb::oracle::query_param::~query_param()'
  15. obj/test.o: In function `odb::oracle::query_param_impl<int, (odb::oracle::database_type_id)0>::~query_param_impl()':
  16. test.cpp:(.text._ZN3odb6oracle16query_param_implIiLNS0_16database_type_idE0EED0Ev[_ZN3odb6oracle16query_param_implIiLNS0_16database_type_idE0EED5Ev]+0xf): undefined reference to `odb::oracle::query_param::~query_param()'
  17. obj/test.o: In function `odb::oracle::query_base::~query_base()':
  18. test.cpp:(.text._ZN3odb6oracle10query_baseD2Ev[_ZN3odb6oracle10query_baseD5Ev]+0xb0): undefined reference to `odb::details::shared_base::_dec_ref_callback()'
  19. obj/test.o: In function `std::vector<odb::details::shared_ptr<odb::oracle::query_param>, std::allocator<odb::details::shared_ptr<odb::oracle::query_param> > >::~vector()':
  20. test.cpp:(.text._ZNSt6vectorIN3odb7details10shared_ptrINS0_6oracle11query_paramEEESaIS5_EED2Ev[_ZNSt6vectorIN3odb7details10shared_ptrINS0_6oracle11query_paramEEESaIS5_EED5Ev]+0x63): undefined reference to `odb::details::shared_base::_dec_ref_callback()'
  21. obj/test.o: In function `odb::details::bits::counter_ops<odb::details::shared_base, odb::object_result_impl<XVorgang> >::dec(odb::object_result_impl<XVorgang>*)':
  22. test.cpp:(.text._ZN3odb7details4bits11counter_opsINS0_11shared_baseENS_18object_result_implI8XVorgangEEE3decEPS6_[_ZN3odb7details4bits11counter_opsINS0_11shared_baseENS_18object_result_implI8XVorgangEEE3decEPS6_]+0x1c): undefined reference to `odb::details::shared_base::_dec_ref_callback()'
  23. obj/test.o: In function `odb::oracle::query_column<int, (odb::oracle::database_type_id)0>::greater(odb::oracle::val_bind<int>) const':
  24. test.cpp:(.text._ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE[_ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE]+0xaa): undefined reference to `odb::oracle::query_base::append(char const*, char const*)'
  25. test.cpp:(.text._ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE[_ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE]+0x128): undefined reference to `odb::oracle::query_base::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  26. test.cpp:(.text._ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE[_ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE]+0x188): undefined reference to `odb::oracle::query_base::append(odb::details::shared_ptr<odb::oracle::query_param>, char const*)'
  27. test.cpp:(.text._ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE[_ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE]+0x1ca): undefined reference to `odb::details::shared_base::_dec_ref_callback()'
  28. test.cpp:(.text._ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE[_ZNK3odb6oracle12query_columnIiLNS0_16database_type_idE0EE7greaterENS0_8val_bindIiEE]+0x25c): undefined reference to `odb::details::shared_base::_dec_ref_callback()'
  29. obj/test.o:(.data.rel.ro._ZTIN3odb6oracle16query_param_implIiLNS0_16database_type_idE0EEE[_ZTIN3odb6oracle16query_param_implIiLNS0_16database_type_idE0EEE]+0x10): undefined reference to `typeinfo for odb::oracle::query_param'
  30. collect2: error: ld returned 1 exit status
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top