LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 897|回复: 7

困惑,link出错,请帮忙!!

[复制链接]
发表于 2004-9-25 09:31:10 | 显示全部楼层 |阅读模式
我用g++ -c -E -S 时都没有任何错误,但是不用这些参数想生成exe文件时,就出现:
/tmp/ccdYmPgS.o(.text+0x20): In function

`AAASampleAuthAnswerMessage::AAASampleAuthAnswerMessage[not-in-charge]
/usr/include/c++/3.2.2/bits/stl_algobase.h:517: undefined reference

/tmp/ccdYmPgS.o(.text+0x2bd):/usr/include/c++/3.2.2/bits/stl_vector.h:1000: undefined reference

之类的好多错误,很是困惑,不知怎么回事,也不知道怎么解决,请各位大虾出手帮帮小弟我啊,项目很急的,我先行谢过啦!!!
发表于 2004-9-25 10:21:35 | 显示全部楼层
有可能的原因是找不到你所调用的函数。检查一下确保可以找到调用的函数。
发表于 2004-9-25 10:46:46 | 显示全部楼层
能不能把问题说的更详细一点?
 楼主| 发表于 2004-9-25 11:01:32 | 显示全部楼层
在编译的时候,所需要的文件不都能找到,为什么link时却找不到函数呢,如是确实这样的话,应该在g++时添加什么参数呢?谢谢这个大哥!!
 楼主| 发表于 2004-9-25 11:02:59 | 显示全部楼层
下面时出错代码:
/tmp/ccdYmPgS.o(.text+0x20): In function `AAASampleAuthAnswerMessage::AAASampleAuthAnswerMessage[not-in-charge](AAASampleServer&, unsigned)':
/usr/include/c++/3.2.2/bits/stl_algobase.h:517: undefined reference to `AAASessionMessageHandler::AAASessionMessageHandler[not-in-charge](AAAApplicationCore&, unsigned)'
/tmp/ccdYmPgS.o(.text+0xa0): In function `AAASampleAuthAnswerMessage::AAASampleAuthAnswerMessage[in-charge](AAASampleServer&, unsigned)':
/root/opendiameter/ACE/ACE_wrappers/ace/OS_NS_Thread.inl:3001: undefined reference to `AAASessionMessageHandler::AAASessionMessageHandler[not-in-charge](AAAApplicationCore&, unsigned)'
/tmp/ccdYmPgS.o(.text+0x21c): In function `AAASampleAuthAnswerMessage::HandleMessage(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:77: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x224): In function `AAASampleAuthAnswerMessage::HandleMessage(AAAMessage&)':
/usr/include/c++/3.2.2/bits/stl_vector.h:992: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x23e):/usr/include/c++/3.2.2/bits/stl_vector.h:993: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x256):/usr/include/c++/3.2.2/bits/stl_vector.h:993: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x286): In function `AAASampleAuthAnswerMessage::HandleMessage(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:92: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x28e):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:92: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x2a8): In function `AAASampleAuthAnswerMessage::HandleMessage(AAAMessage&)':
/usr/include/c++/3.2.2/bits/stl_vector.h:999: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x2bd):/usr/include/c++/3.2.2/bits/stl_vector.h:1000: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x30b):/usr/include/c++/3.2.2/bits/stl_vector.h:1004: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x313):/usr/include/c++/3.2.2/bits/stl_vector.h:1004: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x32d):/usr/include/c++/3.2.2/bits/stl_vector.h:1005: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x351):/usr/include/c++/3.2.2/bits/stl_vector.h:1006: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x37f): In function `AAASampleAuthAnswerMessage::HandleMessage(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:107: undefined reference to `AAAServerSession::Abort()'
/tmp/ccdYmPgS.o(.text+0x3a2): In function `AAASampleServer::AAASampleServer[not-in-charge](AAAApplicationCore&, unsigned)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:118: undefined reference to `AAAServerSession::AAAServerSession[not-in-charge](AAAApplicationCore&, unsigned)'
/tmp/ccdYmPgS.o(.text+0x454):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:134: undefined reference to `AAAServerSession::~AAAServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.text+0x482): In function `AAASampleServer::AAASampleServer[in-charge](AAAApplicationCore&, unsigned)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:118: undefined reference to `AAAServerSession::AAAServerSession[not-in-charge](AAAApplicationCore&, unsigned)'
/tmp/ccdYmPgS.o(.text+0x534):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:134: undefined reference to `AAAServerSession::~AAAServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.text+0x555): In function `AAASampleServer::HandleMessage(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:152: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x55d):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:152: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x57a):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:152: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x592):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:152: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x5a7): In function `AAASampleServer::HandleDisconnect()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:159: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x5af):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:159: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x5cc):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:159: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x5e4):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:159: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x5f9): In function `AAASampleServer::HandleSessionTimeout()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:181: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x601):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:181: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x61e):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:181: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x636):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:181: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x64b): In function `AAASampleServer::HandleAuthLifetimeTimeout()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:193: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x653):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:193: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x670):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:193: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x688):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:193: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x69d): In function `AAASampleServer::HandleAuthGracePeriodTimeout()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:205: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x6a5):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:205: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x6c2):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:205: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x6da):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:205: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x6ef): In function `AAASampleServer::HandleAbort()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:213: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x6f7):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:213: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x714):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:213: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x72c):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:213: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x753): In function `AAASampleServer::SendTestAuthAnswer(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:238: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0x76a):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:239: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0x781):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:240: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0x795):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:243: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0x7ba):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:246: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0x7df):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:249: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0x8ad):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:267: undefined reference to `AAAMessageControl::AAAMessageControl[in-charge](AAASession*)'
/tmp/ccdYmPgS.o(.text+0x8cb):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:268: undefined reference to `AAAMessageControl::SetResultCode(AAAMessage&, AAAMessage&, unsigned)'
/tmp/ccdYmPgS.o(.text+0x8e4):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:269: undefined reference to `AAAMessageControl::Send(AAAMessage&)'
/tmp/ccdYmPgS.o(.text+0x8f4):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:270: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x8ff):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:270: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x925):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:270: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x940):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:270: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x952):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:271: undefined reference to `AAAMessageControl::~AAAMessageControl [in-charge]()'
/tmp/ccdYmPgS.o(.text+0x97b):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:274: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x986):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:274: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x9ac):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:274: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x9c4):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:274: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x9d6):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:277: undefined reference to `AAAMessageControl::~AAAMessageControl [in-charge]()'
/tmp/ccdYmPgS.o(.text+0xa12):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:277: undefined reference to `AAAMessageControl::~AAAMessageControl [in-charge]()'
/tmp/ccdYmPgS.o(.text+0xa76): In function `AAASampleAccountingServer::AAASampleAccountingServer[not-in-charge](AAAApplicationCore&, unsigned)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:283: undefined reference to `AAAAccountingServerSession::AAAAccountingServerSession[not-in-charge](AAAApplicationCore&, unsigned)'
/tmp/ccdYmPgS.o(.text+0xadc):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:287: undefined reference to `AAAAccountingServerSession::~AAAAccountingServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.text+0xb0a): In function `AAASampleAccountingServer::AAASampleAccountingServer[in-charge](AAAApplicationCore&, unsigned)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:283: undefined reference to `AAAAccountingServerSession::AAAAccountingServerSession[not-in-charge](AAAApplicationCore&, unsigned)'
/tmp/ccdYmPgS.o(.text+0xb70):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:287: undefined reference to `AAAAccountingServerSession::~AAAAccountingServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.text+0xbb2): In function `AAASampleAccountingServer::~AAASampleAccountingServer [not-in-charge]()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:293: undefined reference to `AAAAccountingServerSession::~AAAAccountingServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.text+0xbfe): In function `AAASampleAccountingServer::~AAASampleAccountingServer [in-charge]()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:293: undefined reference to `AAAAccountingServerSession::~AAAAccountingServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.text+0xc4a): In function `AAASampleAccountingServer::~AAASampleAccountingServer [in-charge deleting]()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:293: undefined reference to `AAAAccountingServerSession::~AAAAccountingServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.text+0xc7b): In function `AAASampleAccountingServer::SendAcctAnswer(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:304: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0xc83):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:304: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0xca0):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:304: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0xcb5):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:304: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0xcc9):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:309: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0xce0):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:310: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0xcf7):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:311: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0xd0e):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:312: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0xd25):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:313: undefined reference to `AAAAvpContainerManager::acquire(char const*)'
/tmp/ccdYmPgS.o(.text+0xd3c):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:314: more undefined references to `AAAAvpContainerManager::acquire(char const*)' follow
/tmp/ccdYmPgS.o(.text+0xe08): In function `AAASampleAccountingServer::SendAcctAnswer(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:326: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0xe2d):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:329: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0xe52):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:332: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0xe77):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:335: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0xe9c):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:338: undefined reference to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)'
/tmp/ccdYmPgS.o(.text+0xed8):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:342: more undefined references to `AAAAvpContainerEntryManager::acquire(AAA_AVPDataType)' follow
/tmp/ccdYmPgS.o(.text+0x133d): In function `AAASampleAccountingServer::SendAcctAnswer(AAAMessage&)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:415: undefined reference to `AAAMessageControl::AAAMessageControl[in-charge](AAASession*)'
/tmp/ccdYmPgS.o(.text+0x135b):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:416: undefined reference to `AAAMessageControl::SetResultCode(AAAMessage&, AAAMessage&, unsigned)'
/tmp/ccdYmPgS.o(.text+0x1374):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:417: undefined reference to `AAAMessageControl::Send(AAAMessage&)'
/tmp/ccdYmPgS.o(.text+0x1384):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:418: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x138f):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:418: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x13b5):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:418: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x13d0):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:418: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x13e2):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:419: undefined reference to `AAAMessageControl::~AAAMessageControl [in-charge]()'
/tmp/ccdYmPgS.o(.text+0x140b):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:422: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x1416):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:422: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x143c):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:422: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x1454):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:422: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x1466):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:425: undefined reference to `AAAMessageControl::~AAAMessageControl [in-charge]()'
/tmp/ccdYmPgS.o(.text+0x14a2):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:425: undefined reference to `AAAMessageControl::~AAAMessageControl [in-charge]()'
/tmp/ccdYmPgS.o(.text+0x14f9): In function `AAASampleXMLTrans::OutputRecord(AAAMessage*)':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:430: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x1501):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:430: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x151e):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:430: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x1533):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:430: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x1548):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:433: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x1550):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:433: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x156d):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:433: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x1585):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:433: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x158d):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:434: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x1595):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:434: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x15b2):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:434: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x15ca):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:434: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x15db):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:448: undefined reference to `AAAAccountingXMLRecTransformer::OutputRecord(AAAMessage*)'
/tmp/ccdYmPgS.o(.text+0x15e3):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:451: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x15eb):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:451: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x1608):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:451: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x161d):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:451: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x1652): In function `main':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:473: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x165a):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:473: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x1677):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:473: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x168c):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:473: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x16a0):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:477: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x16a8):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:477: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x16c5):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:477: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x16da):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:477: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x1702):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:480: undefined reference to `AAAApplicationCore::Open(char*, AAA_Task*)'
/tmp/ccdYmPgS.o(.text+0x170e):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:481: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x1716):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:481: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x1733):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:481: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x174b):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:481: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x181a):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:500: undefined reference to `AAAApplicationCore::RegisterServerSessionFactory(AAAServerSessionFactory*)'
/tmp/ccdYmPgS.o(.text+0x182d):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:501: undefined reference to `AAAApplicationCore::RegisterServerSessionFactory(AAAServerSessionFactory*)'
/tmp/ccdYmPgS.o(.text+0x1857):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:511: undefined reference to `AAAApplicationCore::RemoveServerSessionFactory(AAAServerSessionFactory*)'
/tmp/ccdYmPgS.o(.text+0x186a):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:512: undefined reference to `AAAApplicationCore::RemoveServerSessionFactory(AAAServerSessionFactory*)'
/tmp/ccdYmPgS.o(.text+0x1872):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:514: undefined reference to `ACE_Log_Msg::last_error_adapter()'
/tmp/ccdYmPgS.o(.text+0x187a):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:514: undefined reference to `ACE_Log_Msg::instance()'
/tmp/ccdYmPgS.o(.text+0x1897):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:514: undefined reference to `ACE_Log_Msg::conditional_set(char const*, int, int, int)'
/tmp/ccdYmPgS.o(.text+0x18ac):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:514: undefined reference to `ACE_Log_Msg::log(ACE_Log_Priority, char const*, ...)'
/tmp/ccdYmPgS.o(.text+0x1ccb): In function `__static_initialization_and_destruction_0':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:47: undefined reference to `ACE_Semaphore::ACE_Semaphore[in-charge](unsigned, int, char const*, void*, int)'
/tmp/ccdYmPgS.o(.text+0x1dd7): In function `__tcf_0':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/test/sample_server.cxx:47: undefined reference to `ACE_Semaphore::~ACE_Semaphore [in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN28AAAServerSessionClassFactoryI15AAASampleServerEC1Ej14AAASessionType+0x13): In function `AAAServerSessionClassFactory<AAASampleServer>::AAAServerSessionClassFactory[in-charge](unsigned, AAASessionType)':
/usr/include/c++/3.2.2/bits/stl_alloc.h:238: undefined reference to `AAAServerSessionFactory::AAAServerSessionFactory[not-in-charge](unsigned, AAASessionType)'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN28AAAServerSessionClassFactoryI25AAASampleAccountingServerEC1Ej14AAASessionType+0x13): In function `AAAServerSessionClassFactory<AAASampleAccountingServer>::AAAServerSessionClassFactory[in-charge](unsigned, AAASessionType)':
/usr/include/c++/3.2.2/bits/stl_alloc.h:238: undefined reference to `AAAServerSessionFactory::AAAServerSessionFactory[not-in-charge](unsigned, AAASessionType)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV25AAASampleAccountingServer+0x2c):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiamparser/diameter_parser_api.h:684: undefined reference to `AAASession::SetTimeout(long)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV25AAASampleAccountingServer+0x30):/root/opendiameter/boost/boost_1_31_0/boost/detail/shared_count.hpp:149: undefined reference to `AAASession::RegisterMessageHandler(AAASessionMessageHandler*)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV25AAASampleAccountingServer+0x34):/usr/include/c++/3.2.2/bits/stl_list.h:433: undefined reference to `AAASession::RemoveMessageHandler(AAASessionMessageHandler*)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV25AAASampleAccountingServer+0x38):/usr/include/c++/3.2.2/bits/stl_algobase.h:516: undefined reference to `AAAAccountingSession::Update(AAASession::EVENT)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV17AAASampleXMLTrans+0x10):/root/opendiameter/ACE/ACE_wrappers/ace/INET_Addr.i:14: undefined reference to `AAAAccountingXMLRecTransformer::Convert(AAAMessage*)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV15AAASampleServer+0x2c):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiamparser/diameter_parser_api.h:684: undefined reference to `AAASession::SetTimeout(long)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV15AAASampleServer+0x30):/root/opendiameter/boost/boost_1_31_0/boost/detail/shared_count.hpp:149: undefined reference to `AAASession::RegisterMessageHandler(AAASessionMessageHandler*)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV15AAASampleServer+0x34):/usr/include/c++/3.2.2/bits/stl_list.h:433: undefined reference to `AAASession::RemoveMessageHandler(AAASessionMessageHandler*)'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTV15AAASampleServer+0x38):/usr/include/c++/3.2.2/bits/stl_algobase.h:516: undefined reference to `AAAServerSession::Update(AAASession::EVENT)'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN15AAASampleServerD1Ev+0x4c): In function `AAASampleServer::~AAASampleServer [in-charge]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:517: undefined reference to `AAAServerSession::~AAAServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN15AAASampleServerD0Ev+0x4c): In function `AAASampleServer::~AAASampleServer [in-charge deleting]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:517: undefined reference to `AAAServerSession::~AAAServerSession [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN10AAAMessageC1Ev+0x44): In function `AAAMessage::AAAMessage[in-charge]()':
/root/opendiameter/boost/boost_1_31_0/boost/detail/shared_count.hpp:150: undefined reference to `ACE_INET_Addr::ACE_INET_Addr[in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN10AAAMessageC1Ev+0x56): In function `AAAMessage::AAAMessage[in-charge]()':
/root/opendiameter/ACE/ACE_wrappers/ace/OS_NS_Thread.inl:466: undefined reference to `ACE_INET_Addr::ACE_INET_Addr[in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN10AAAMessageC1Ev+0xaa):/root/opendiameter/ACE/ACE_wrappers/ace/OS_NS_Thread.inl:3002: undefined reference to `AAAAvpContainerList::~AAAAvpContainerList [in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN10AAAMessageD1Ev+0x47): In function `AAAMessage::~AAAMessage [in-charge]()':
/usr/include/c++/3.2.2/bits/stl_list.h:435: undefined reference to `AAAAvpContainerList::~AAAAvpContainerList [in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN18AAAApplicationCoreD1Ev+0xd): In function `AAAApplicationCore::~AAAApplicationCore [in-charge]()':
/root/opendiameter/ACE/ACE_wrappers/ace/OS_NS_Thread.inl:2974: undefined reference to `AAAApplicationCore::Close()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN17AAASampleXMLTransD0Ev+0x16): In function `AAASampleXMLTrans::~AAASampleXMLTrans [in-charge deleting]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:538: undefined reference to `AAAAccountingXMLRecTransformer::~AAAAccountingXMLRecTransformer [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN17AAASampleXMLTransD1Ev+0x16): In function `AAASampleXMLTrans::~AAASampleXMLTrans [in-charge]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:538: undefined reference to `AAAAccountingXMLRecTransformer::~AAAAccountingXMLRecTransformer [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN17AAASampleXMLTransC1ER25AAASampleAccountingServer+0xd): In function `AAASampleXMLTrans::AAASampleXMLTrans[in-charge](AAASampleAccountingServer&)':
/root/opendiameter/ACE/ACE_wrappers/ace/OS_NS_Thread.inl:2974: undefined reference to `AAAAccountingXMLRecTransformer::AAAAccountingXMLRecTransformer[not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN28AAAServerSessionClassFactoryI15AAASampleServerED0Ev+0x16): In function `AAAServerSessionClassFactory<AAASampleServer>::~AAAServerSessionClassFactory [in-charge deleting]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:538: undefined reference to `AAAServerSessionFactory::~AAAServerSessionFactory [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN28AAAServerSessionClassFactoryI15AAASampleServerED1Ev+0x16): In function `AAAServerSessionClassFactory<AAASampleServer>::~AAAServerSessionClassFactory [in-charge]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:538: undefined reference to `AAAServerSessionFactory::~AAAServerSessionFactory [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN28AAAServerSessionClassFactoryI25AAASampleAccountingServerED0Ev+0x16): In function `AAAServerSessionClassFactory<AAASampleAccountingServer>::~AAAServerSessionClassFactory [in-charge deleting]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:538: undefined reference to `AAAServerSessionFactory::~AAAServerSessionFactory [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN28AAAServerSessionClassFactoryI25AAASampleAccountingServerED1Ev+0x16): In function `AAAServerSessionClassFactory<AAASampleAccountingServer>::~AAAServerSessionClassFactory [in-charge]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:538: undefined reference to `AAAServerSessionFactory::~AAAServerSessionFactory [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTI15AAASampleServer+0x8):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/include/diameter_api.h:237: undefined reference to `typeinfo for AAAServerSession'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTI17AAASampleXMLTrans+0x8):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/include/diameter_api.h:237: undefined reference to `typeinfo for AAAAccountingXMLRecTransformer'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTI25AAASampleAccountingServer+0x8):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/include/diameter_api.h:237: undefined reference to `typeinfo for AAAAccountingServerSession'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTI28AAAServerSessionClassFactoryI15AAASampleServerE+0x8):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/include/diameter_api.h:237: undefined reference to `typeinfo for AAAServerSessionFactory'
/tmp/ccdYmPgS.o(.gnu.linkonce.d._ZTI28AAAServerSessionClassFactoryI25AAASampleAccountingServerE+0x8):/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/include/diameter_api.h:237: undefined reference to `typeinfo for AAAServerSessionFactory'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN13ACE_INET_AddrD1Ev+0xb): In function `ACE_INET_Addr::~ACE_INET_Addr [in-charge]()':
/root/opendiameter/opendiameter-1.0.7/opendiameter-1.0.7-b/libdiameter/include/diameter_api.h:237: undefined reference to `vtable for ACE_INET_Addr'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN13ACE_INET_AddrD1Ev+0x16): In function `ACE_INET_Addr::~ACE_INET_Addr [in-charge]()':
/usr/include/c++/3.2.2/bits/stl_algobase.h:538: undefined reference to `ACE_Addr::~ACE_Addr [not-in-charge]()'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN6ACE_OS9sema_waitEP10ACE_sema_t+0x14): In function `ACE_OS::sema_wait(ACE_sema_t*)':
/root/opendiameter/ACE/ACE_wrappers/ace/Semaphore.inl:29: undefined reference to `ace_mutex_lock_cleanup_adapter'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN6ACE_OS9sema_waitEP10ACE_sema_t+0x1d): In function `ACE_OS::sema_wait(ACE_sema_t*)':
/usr/include/c++/3.2.2/bits/stl_uninitialized.h:76: undefined reference to `_pthread_cleanup_push'
/tmp/ccdYmPgS.o(.gnu.linkonce.t._ZN6ACE_OS9sema_waitEP10ACE_sema_t+0xa1): In function `ACE_OS::sema_wait(ACE_sema_t*)':
/root/opendiameter/ACE/ACE_wrappers/ace/OS_NS_Thread.inl:3001: undefined reference to `_pthread_cleanup_pop'
collect2: ld returned 1 exit status
发表于 2004-9-25 16:39:00 | 显示全部楼层
你的那些错误代码基本上就是一个问题,没有什么大用,我看这个也看不懂阿。
我说让你详细一点是说,你的程序怎么布局,调用的函数是不是在其他的文件中,你在编译的时候是怎么编译的,等等你认为会对解决问题有帮助的信息!
sigh!

我也不一定能给你解决,我只是遇到过类似的问题,我最后发现仅仅是因为找不到调用的函数,你再仔细检查一下。至于编译选项,多看看说明吧。
 楼主| 发表于 2004-9-25 20:32:44 | 显示全部楼层
对啊,我知道就是同一个问题,我是编译别人的程序,它需要好多库,在编译时,我用g++ -I选项将他所要的库都加进去了,那么那些函数都应该在调用的文件中定义了的阿,不加的话,编译是过不去的,现在问题的编译没问题了,link出错。
发表于 2004-9-25 21:19:35 | 显示全部楼层
你在联接的时候也要把库加进去
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表