From: Alan W. <al...@co...> - 2003-04-21 14:55:02
|
I managed to get tora 1.3.9.2 to build with qt3, but it segfaults on INSERT and UPDATE's. I can't get 1.3.9.2 or 1.2.4 to build with qt2 at all. I've used all manner of configure options, straight from your rpm, and otherwise. I've tried this on RedHat 9 with qt2 and qt3. I rebuilt qt against mysql 4.0.12 libs as that is the database I am using. Here is an example of the typical error I get: /tmp/ccuXbX8W.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' full errors below. tora 1.2.4 on qt2. Thanks, -alan + ./configure --prefix=/usr --without-oracle --without-kde --with-mysql-libs=/usr/lib/mysql --with-qt=/usr/lib/qt2 Trying to configure TOra Using metacompiler /usr/bin/moc2 Using usere interface compiler /usr/lib/qt2/bin/uic Qt includefiles at /usr/lib/qt2/include Qt library directory at /usr/lib/qt2/lib MySQL includefiles at /usr/include/mysql MySQL library directory at /usr/lib Found static MySQL at /usr/lib/mysql/libmysqlclient.a Trying /usr/bin/cc compiler /tmp/ccuXbX8W.o(.text+0x15): In function `test()': : undefined reference to `QApplication::QApplication[in-charge](int&, char**)' /tmp/ccuXbX8W.o(.text+0x39): In function `test()': : undefined reference to `QApplication::~QApplication [in-charge]()' /tmp/ccuXbX8W.o(.text+0x56): In function `test()': : undefined reference to `QApplication::~QApplication [in-charge]()' /tmp/ccuXbX8W.o(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKiiEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS4_j+0x24): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<int const, int> >, std::__default_alloc_template<(bool)1, (int)0> >::deallocate(std::_Rb_tree_node<std::pair<int const, int> >*, unsigned)': : undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*, unsigned)' /tmp/ccuXbX8W.o(.gnu.linkonce.t._ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKiiEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x28): In function `std::__simple_alloc<std::_Rb_tree_node<std::pair<int const, int> >, std::__default_alloc_template<(bool)1, (int)0> >::allocate(unsigned)': : undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::allocate(unsigned)' /tmp/ccuXbX8W.o(.gnu.linkonce.t._ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE14_M_create_nodeERKS2_+0x39): In function `std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_create_node(std::pair<int const, int> const&)': : undefined reference to `__cxa_begin_catch' /tmp/ccuXbX8W.o(.gnu.linkonce.t._ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE14_M_create_nodeERKS2_+0x52): In function `std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_create_node(std::pair<int const, int> const&)': : undefined reference to `__cxa_rethrow' /tmp/ccuXbX8W.o(.gnu.linkonce.t._ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE14_M_create_nodeERKS2_+0x5d): In function `std::_Rb_tree<int, std::pair<int const, int>, std::_Select1st<std::pair<int const, int> >, std::less<int>, std::allocator<std::pair<int const, int> > >::_M_create_node(std::pair<int const, int> const&)': : undefined reference to `__cxa_end_catch' /tmp/ccuXbX8W.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status Trying /usr/bin/g++ compiler /tmp/ccQIDPxh.o(.text+0x15): In function `test()': : undefined reference to `QApplication::QApplication[in-charge](int&, char**)' /tmp/ccQIDPxh.o(.text+0x39): In function `test()': : undefined reference to `QApplication::~QApplication [in-charge]()' /tmp/ccQIDPxh.o(.text+0x56): In function `test()': : undefined reference to `QApplication::~QApplication [in-charge]()' collect2: ld returned 1 exit status |