Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 22:10:43 -0800 (PST)
From:      sonjaya <son_jaya@yahoo.com>
To:        freebsd-quest <freebsd-questions@freebsd.org>
Subject:   error when make in net-snmp
Message-ID:  <20041105061043.12224.qmail@web40907.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041105061043.12224.qmail>