[AGENT++] Example compilation problem !!!

OELoo Jerry oyljerry at hotmail.com
Thu Aug 5 10:32:59 CEST 2004


hi Peter
  maybe you should add the libdes file or its library
Regards
                                                        Jerry


>From: Peter <sobonski at wil.waw.pl>
>To: agentpp at agentpp.org
>Subject: [AGENT++] Example compilation problem !!!
>Date: Thu, 05 Aug 2004 10:35:28 +0200
>
>Hi all !
>
>I've some problems with example atm-mib compilation. The output is 
>lited below:
>
>$ make
>rm -f  agent.o
>g++ -g -Wall -c -o agent.o -I../include -I../../../include 
>-I../../../../snmp++/include agent.cpp
>rm -f  atm_mib.o
>g++ -g -Wall -c -o atm_mib.o -I../include -I../../../include 
>-I../../../../snmp++/include atm_mib.cpp
>rm -f  agentpp_notifytest_mib.o
>g++ -g -Wall -c -o agentpp_notifytest_mib.o -I../include 
>-I../../../include -I../../../../snmp++/include 
>agentpp_notifytest_mib.cpp
>rm -f  agentpp_test_mib.o
>g++ -g -Wall -c -o agentpp_test_mib.o -I../include 
>-I../../../include -I../../../../snmp++/include agentpp_test_mib.cpp
>g++ -g -Wall -o agent agent.o atm_mib.o agentpp_notifytest_mib.o 
>agentpp_test_mib.o -L../../../lib -L../../../../snmp++/lib -lpthread 
>-lagent++ -lsnmp++ -L../../../../crypt -ltomcrypt
>../../../../snmp++/lib/libsnmp++.so: undefined reference to 
>`des_key_sched'
>../../../../snmp++/lib/libsnmp++.so: undefined reference to 
>`des_ncbc_encrypt'
>collect2: ld returned 1 exit status
>make: *** [agent] Error 1
>
>I've tried to find out these two symbols using grep inside snmp++ 
>implementation
>but I found nothing. Agent ++ and snmp++ implementation is compiled 
>with
>enabled flag NO_THREAD.
>
>I've tried to compile other example related to dynamic table but the 
>problem was the same.
>The agent++ and snmp++ libs are fresh:
>
>gcc version is 3.3.3
>
>agent++ 3.5.20a
>snmp++ 3.2.13
>
>Regards
>Piotr Sobonski
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  




More information about the AGENTPP mailing list