[AGENT++] what happened with my mib files?

Dario maljur dmaljur at elma.hr
Thu Sep 7 14:24:24 CEST 2006


I have seen this error when compiling agent's examples. 
I don't know why they came out, but I deleted all lines where 
DefaultLog was mentioned and it worked ok.

-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org] On
Behalf Of Jinnee
Sent: Thursday, September 07, 2006 12:23 PM
To: agentpp
Subject: [AGENT++] what happened with my mib files?

hello friends:
when i compile my mib files, it has some error i have never seen before. see
as follows. Please help me what happened?
/////////////////////////////////////////
arm-linux-g++ -g -Wall -c -o bluetop_bmc10_mib.o -I../include
-I../../../include -I../../../../snmp++/include bluetop_bmc10_mib.cpp
arm-linux-g++ -g -Wall -o agent agent.o snmpv2_conf.o snmpv2_smi.o
snmpv2_tc.o bluetop_bmc10_mib.o  -L../../../lib -L../../../../snmp++/lib
-lpthread -lagent++ -lsnmp++ -L../../../../libdes -ldes
bluetop_bmc10_mib.o(.gnu.linkonce.t._ZN7Agentpp10DefaultLog3logEv+0x88):../.
./../include/agent_pp/List.h:168: undefined reference to
`Agentpp::AgentLogImpl::AgentLogImpl[in-charge](_IO_FILE*)'
bluetop_bmc10_mib.o(.gnu.linkonce.t._ZN7Agentpp10DefaultLog3logEv+0x120):../
../../include/agent_pp/List.h:1140: undefined reference to
`Agentpp::DefaultLog::instance'
bluetop_bmc10_mib.o(.gnu.linkonce.t._ZN7Agentpp10DefaultLog16create_log_entr
yEh+0x8c):../../../include/agent_pp/List.h:999: undefined reference to
`Agentpp::DefaultLog::entry'
bluetop_bmc10_mib.o(.gnu.linkonce.t._ZN7Agentpp10DefaultLog9log_entryEv+0x34
):../../../include/agent_pp/List.h:1075: undefined reference to
`Agentpp::DefaultLog::entry'
bluetop_bmc10_mib.o(.gnu.linkonce.t._ZN7Agentpp10DefaultLog16delete_log_entr
yEv+0x64):../../../include/agent_pp/List.h:970: undefined reference to
`Agentpp::DefaultLog::entry'
bluetop_bmc10_mib.o(.gnu.linkonce.t._ZN7Agentpp10DefaultLog4initEPNS_8AgentL
ogE+0x6c):../../../include/agent_pp/List.h:952: undefined reference to
`Agentpp::DefaultLog::instance'
collect2: ld returned 1 exit status
make: *** [agent] Error 1
//////////////////////////////////////////



_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp




More information about the AGENTPP mailing list