I am trying to build the source for net-snmp on debian wheezy
(net-snmp-5.4.3~dfsg) and am getting the following error during building of
snmpusm. Everything builds clean upto this point. My agent needs to support
MD5 authentication but will not use encryption. My configure line looks like:
./configure --disable-privacy --disable-des
--with-mib-modules="ctifSoftwareVersion ctifBaseHardwareVersion
ctifPortConfigTable"
--with-mibdirs="$HOME/.snmp/mibs:/usr/share/mibs/site:/usr/local/share/snmp/mibs"
I get the same error if I remove these from configure: --disable-privacy
--disable-des
Heres the error snippet. Any ideas on what is causing this??? Thanks!
gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup
-I../snmplib -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -c
snmpusm.c -fPIC -DPIC -o .libs/snmpusm.o
gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup
-I../snmplib -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -c
snmpusm.c -o snmpusm.o >/dev/null 2>&1
/bin/bash ../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl/5.14/CORE -o snmpusm snmpusm.lo -L../snmplib/.libs
-L../snmplib -L../agent/.libs -L../agent -L../agent/helpers/.libs
-L../agent/helpers ../snmplib/libnetsnmp.la @LIBCRYPTO@
gcc -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o
.libs/snmpusm .libs/snmpusm.o @LIBCRYPTO@
-L/home/doughe_j/gitRepos/atip_sit/net-snmp-5.4.3~dfsg/snmplib/.libs
-L/home/doughe_j/gitRepos/atip_sit/net-snmp-5.4.3~dfsg/snmplib
-L/home/doughe_j/gitRepos/atip_sit/net-snmp-5.4.3~dfsg/agent/.libs
-L/home/doughe_j/gitRepos/atip_sit/net-snmp-5.4.3~dfsg/agent
-L/home/doughe_j/gitRepos/atip_sit/net-snmp-5.4.3~dfsg/agent/helpers/.libs
-L/home/doughe_j/gitRepos/atip_sit/net-snmp-5.4.3~dfsg/agent/helpers
../snmplib/.libs/libnetsnmp.so -lcrypto
gcc: error: @LIBCRYPTO@: No such file or directory
make[1]: *** [snmpusm] Error 1
make[1]: Leaving directory
`/home/doughe_j/gitRepos/atip_sit/net-snmp-5.4.3~dfsg/apps'
make: *** [subdirs] Error 1
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users