EtherMage
07-17-2002, 02:17 PM
When the build gets all the way to the link stage, I get tons of undefined reference errors.
Here's a sample:
db3conv.o: In function `DB3Iterator::GetNextKey(Datum&)':
itimerspec/db3conv.cpp:543: undefined reference to `Dbt::Dbt[in-charge]()'
itimerspec/db3conv.cpp:544: undefined reference to `Dbt::Dbt[in-charge]()'
itimerspec/db3conv.cpp:547: undefined reference to `Dbt::get_data() const'
itimerspec/db3conv.cpp:558: undefined reference to `Dbt::set_flags(unsigned)'
itimerspec/db3conv.cpp:559: undefined reference to `Dbt::set_flags(unsigned)'
itimerspec/db3conv.cpp:561: undefined reference to `Dbc::get(Dbt*, Dbt*, unsigned)'
itimerspec/db3conv.cpp:37: undefined reference to `DbEnv::strerror(int)'
itimerspec/db3conv.cpp:572: undefined reference to `Dbt::~Dbt [in-charge]()'
itimerspec/db3conv.cpp:572: undefined reference to `Dbt::~Dbt [in-charge]()'
itimerspec/db3conv.cpp:576: undefined reference to `Dbt::get_data() const'
itimerspec/db3conv.cpp:577: undefined reference to `Dbt::get_size() const'
itimerspec/db3conv.cpp:580: undefined reference to `Dbt::operator=(Dbt const&)'
itimerspec/db3conv.cpp:582: undefined reference to `Dbt::~Dbt [in-charge]()'
itimerspec/db3conv.cpp:582: undefined reference to `Dbt::~Dbt [in-charge]()'
The command was:
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packet.o m_packet.o interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o m_combatlog.o msgdlg.o m_msgdlg.o player.o m_player.o decode.o m_decode.o skilllist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o netdiag.o m_netdiag.o logger.o m_logger.o xmlconv.o xmlpreferences.o m_xmlpreferences.o seqwindow.o m_seqwindow.o seqlistview.o m_seqlistview.o zonemgr.o m_zonemgr.o spawnmonitor.o m_spawnmonitor.o spawnpointlist.o m_spawnpointlist.o spawnlistcommon.o m_spawnlistcommon.o spawnlist2.o m_spawnlist2.o itemdb.o m_itemdb.o gdbmconv.o db3conv.o -L/usr/qt/2/lib -lqt-mt -L/usr/lib -ldb_cxx -lpthread /usr/src/showeq/libEQ.a /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/qt/2/lib -Wl,--rpath -Wl,/usr/X11R6/lib
I'm using Gentoo Linux, gcc 3.1, and I've rebuilt db3 and showeq both multiple times. Suggestions?
-EtherMage
Here's a sample:
db3conv.o: In function `DB3Iterator::GetNextKey(Datum&)':
itimerspec/db3conv.cpp:543: undefined reference to `Dbt::Dbt[in-charge]()'
itimerspec/db3conv.cpp:544: undefined reference to `Dbt::Dbt[in-charge]()'
itimerspec/db3conv.cpp:547: undefined reference to `Dbt::get_data() const'
itimerspec/db3conv.cpp:558: undefined reference to `Dbt::set_flags(unsigned)'
itimerspec/db3conv.cpp:559: undefined reference to `Dbt::set_flags(unsigned)'
itimerspec/db3conv.cpp:561: undefined reference to `Dbc::get(Dbt*, Dbt*, unsigned)'
itimerspec/db3conv.cpp:37: undefined reference to `DbEnv::strerror(int)'
itimerspec/db3conv.cpp:572: undefined reference to `Dbt::~Dbt [in-charge]()'
itimerspec/db3conv.cpp:572: undefined reference to `Dbt::~Dbt [in-charge]()'
itimerspec/db3conv.cpp:576: undefined reference to `Dbt::get_data() const'
itimerspec/db3conv.cpp:577: undefined reference to `Dbt::get_size() const'
itimerspec/db3conv.cpp:580: undefined reference to `Dbt::operator=(Dbt const&)'
itimerspec/db3conv.cpp:582: undefined reference to `Dbt::~Dbt [in-charge]()'
itimerspec/db3conv.cpp:582: undefined reference to `Dbt::~Dbt [in-charge]()'
The command was:
g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packet.o m_packet.o interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o m_combatlog.o msgdlg.o m_msgdlg.o player.o m_player.o decode.o m_decode.o skilllist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o netdiag.o m_netdiag.o logger.o m_logger.o xmlconv.o xmlpreferences.o m_xmlpreferences.o seqwindow.o m_seqwindow.o seqlistview.o m_seqlistview.o zonemgr.o m_zonemgr.o spawnmonitor.o m_spawnmonitor.o spawnpointlist.o m_spawnpointlist.o spawnlistcommon.o m_spawnlistcommon.o spawnlist2.o m_spawnlist2.o itemdb.o m_itemdb.o gdbmconv.o db3conv.o -L/usr/qt/2/lib -lqt-mt -L/usr/lib -ldb_cxx -lpthread /usr/src/showeq/libEQ.a /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/qt/2/lib -Wl,--rpath -Wl,/usr/X11R6/lib
I'm using Gentoo Linux, gcc 3.1, and I've rebuilt db3 and showeq both multiple times. Suggestions?
-EtherMage