[AGENT++] Example compilation problem !!!

Peter sobonski at wil.waw.pl
Thu Aug 5 10:35:28 CEST 2004


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



More information about the AGENTPP mailing list