I have a compilation issue regarding NET-SNMP 5.3.1, I managed to
compile source code of net-snmp 5.3.1 on redhat 9 and 2.4.25 kernel, but
I got the following errors, please let me know your thoughts.


gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o
../.libs/libnetsnmpmibs.so ./.libs/libn etsnmpagent.so
helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl
/usr/lib/librp m.so /usr/lib/librpmdb.so
-L/usr/src/build/229501-i386/BUILD/rpm-4.2/zlib -L/usr/local/lib -lelf
/us r/lib/librpmio.so -lrt -lpthread -lbz2 /usr/lib/libpopt.so -lz
-lcrypto -lm -Wl,--rpath -Wl,/usr/lo cal/lib
/usr/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/hwang/net-snmp-5.3.1/agent'
make: *** [subdirs] Error 1


Much appreciated for any help!

Hai Wang
Principal Software Engineer
Fine Point Technologies, Inc.
139 Centre Street, 6th Floor
New York, New York 10013-4408
email: hwang@finepoint.com
phone: +1.212.962.7410 x 326
fax: +1.212.962.7404
web: http://www.finepoint.com

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Net-snmp-coders mailing list