error when make in net-snmp

sonjaya son_jaya at yahoo.com
Thu Nov 4 22:10:44 PST 2004


Dear all 
i try install net-snmp from source with this options
#./configure --prefix=/usr/local/net-snmp 
bla 
bla 
then 
#make 
bla bla 

-I./.. -I.. -g -O2 -Dfreebsd5 -c mibII/tcpTable.c 
-fPIC -DPIC -o mibII/.libs/tcpTable.lo
mibII/tcpTable.c: In function `tcpTable_next_entry':
mibII/tcpTable.c:419: error: structure has no member
named `inp_list'
mibII/tcpTable.c: In function `tcpTable_free':
mibII/tcpTable.c:429: error: structure has no member
named `inp_list'
mibII/tcpTable.c: In function `tcpTable_load':
mibII/tcpTable.c:698: error: structure has no member
named `xt_tp'
mibII/tcpTable.c:702: error: structure has no member
named `xt_inp'
*** Error code 1

Stop in /usr/local/src/net-snmp-5.1/agent/mibgroup.
*** Error code 1

Stop in /usr/local/src/net-snmp-5.1/agent.
*** Error code 1

Stop in /usr/local/src/net-snmp-5.1.
PAG_ROUTER#
---------------------------------------------
i trys use ucd-snmp 4.2.6

same  get error like this bellow 


gcc -g -O2 -Dfreebsd5 -I. -I.. -I. -I./.. -c scapi.c 
-fPIC -DPIC -o .libs/scapi.lo
scapi.c: In function `sc_encrypt':
scapi.c:612: error: incompatible type for argument 1
of `memset'
scapi.c: In function `sc_decrypt':
scapi.c:725: error: incompatible type for argument 1
of `memset'
*** Error code 1

Stop in /usr/local/src/ucd-snmp-4.2.6/snmplib.
*** Error code 1

Stop in /usr/local/src/ucd-snmp-4.2.6.
PAG_ROUTER#

what should i do i do it in linux box is no problem 




=====
SONJAYA



More information about the freebsd-questions mailing list