Issue on compiling 5.3.1 on redhat 9
"Hai Wang" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <DE026503646E7F40AF97BAB98334333B01549318@uss-republic.finepoint.com> |
Hello,
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: [email protected]
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users