[AGENT++] Linking errors - need help!

Fedja Jeleskovic mrawd2 at gmail.com
Tue Jan 31 00:28:09 CET 2006


Well, I am just at to point of no more ideas on how to fix this problem. Even though, all three libraries are built and included (libdes, snmp++, and agent++), I am getting those errors from the code that includes those libraries. Apparently, bunch of code from the agent++ lib is not defined (even though I know it is). Anyone have any ideas on what to do to fix this linker problem on Suse Linux OS.

Thanks a lot!


Fedja
ps. here is a part of the error log...

./build/i686-release/HMOAM.o(.gnu.linkonce.t._ZN6Thread5cloneEv+0xe): In function `Thread::clone()':
: undefined reference to `Thread::get_runnable()'
./build/i686-release/HMOAM.o(.gnu.linkonce.t._ZN6Thread5cloneEv+0x2e): In function `Thread::clone()':
: undefined reference to `Thread::Thread(Runnable&)'
./build/i686-release/HMOAM.o(.gnu.linkonce.t._ZN11TaskManager5cloneEv+0x4c): In function `TaskManager::clone()':
: undefined reference to `ThreadPool::ThreadPool(int, int)'
./build/i686-release/HMOAM.o(.gnu.linkonce.t._ZN11TaskManager5cloneEv+0x96): In function `TaskManager::clone()':
: undefined reference to `TaskManager::TaskManager(ThreadPool*, int)'
./build/i686-release/HMOAM.o(.gnu.linkonce.t._ZN7OidListI8MibEntryE3addEPS0_+0xd): In function `OidList<MibEntry>::add(MibEntry*)':
: undefined reference to `MibEntry::key()'
./build/i686-release/HMOAM.o(.gnu.linkonce.t._ZN7OidListI8MibEntryE6removeEPS0_+0xd): In function `OidList<MibEntry>::remove(MibEntry*)':
: undefined reference to `MibEntry::key()'
./build/i686-release/HMOAM.o(.gnu.linkonce.t._ZNK7OidListI8MibEntryE10find_lowerEP4Oidx+0x16): In function `OidList<MibEntry>::find_lower(Oidx*) const':
: undefined reference to `OidxPtrEntryPtrAVLMap::seek_inexact(Oidx*) const'



More information about the AGENTPP mailing list