[AGENT++] Example compilation problem !!!
Jochen Katz
katz at agentpp.com
Thu Aug 5 20:46:25 CEST 2004
Hi,
> 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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
the presence of this indicate that you have libtomcrypt.a
> ../../../../snmp++/lib/libsnmp++.so: undefined reference to `des_key_sched'
> ../../../../snmp++/lib/libsnmp++.so: undefined reference to
> `des_ncbc_encrypt'
This indicates that snmp++ was compiled with _USE_OPENSSL (or RSAEURO)
defined.
So either rebuild snmp++ with libtomcrypt or remove libtomcrypt and add
-lssl or -lcrypto to the linker command line.
Regards,
Jochen
More information about the AGENTPP
mailing list