in RH9, under the net-snmp-5.1.1 directory  I type the following comand
[EMAIL PROTECTED] net-snmp-5.1.1]# ./configure --with-mib-modules="host
smux  tunnel agentx/subagent agentx/master agentx examples/example"
--enable-debugging --enable-mibs --enable-developer --enable-reentrant

--with-mibs="IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:AGENTX-MIB:SNMP-PROXY-MIB:SNMP-TARGET-MIB:SNMP-FRAMEWORK-MIB:SNMP-COMMUNITY-MIB:SNMP-VIEW-BASED-ACM-MIB:IANA-LAGUAGE-MIB:SNMP-NOTIFICATION-MIB:SNMP-USER-BASED-SM-MIB:IPv6-TCP-MIB:IPv6-ICMP-MIB:HOST-RESOURCES-MIB:TUNNEL-MIB:INET-ADDRESS-MIB:IP-FORWARD-MIB:IANA-ADDRESS-FAMILY-NUMBERS-MIB:AGENTX-MIB:RMON-MIB:DISMAN-EVENT-MIB:DISMAN-SC

EDULE-MIB:DISMAN-SCRIPT-MIB:EtherLike-MIB:IANAifType-MIB:IF-INVERTED-STACK-MIB:IPV6-UDP-MIB:NETWORK-SERVICES-MIB:NOTIFICATION-LOG-MIB:SMUX-MIB:SNMP-MPD-MIB:IPV6-MIB"



after this command, while execute make command, error occured. the
error info is:

/bin/sh ../libtool --mode=link gcc -I/usr/include/rpm -g -O2 -Dlinux
-I/usr/include/rpm -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-Wcast-qual -Wno-char-subscripts -o snmpd snmpd.lo libnetsnmpagent.la libnetsnmpmibs.la helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm
gcc -I/usr/include/rpm -g -O2 -Dlinux -I/usr/include/rpm -Wall
-Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual
-Wno-char-subscripts -o snmpd snmpd.o ./.libs/libnetsnmpagent.a
./.libs/libnetsnmpmibs.a helpers/.libs/libnetsnmphelpers.a
../snmplib/.libs/libnetsnmp.a -ldl /usr/lib/librpm.so
/usr/lib/librpmdb.so -L/usr/src/build/229501-i386/BUILD/rpm-4.2/zlib
-L/usr/local/lib -lelf /usr/lib/librpmio.so -lrt -lpthread -lbz2
/usr/lib/libpopt.so -lz -lcrypto -lm
/usr/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/net-snmp-5.1.1/agent'


how can I resolve it? thanks for any hints.

I am not so familar with RH9 as WindowZ, so details is much appreciated.

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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

Reply via email to