Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 1997 16:29:01 +0000
From:      staylor@mrynet.com (Scott G. Akmentins-Taylor)
To:        freebsd-current@freebsd.org
Subject:   ucd-snmp-3.1.3 doesn't like FreeBSD3?
Message-ID:  <199705312329.QAA01776@mrynet.com>

next in thread | raw e-mail | index | archive | help
Gang-

I may have missed something important, so feel free to flame--but PLEASE
refer me to the pertinant info :)

ucd-snmp-3.1.3 doesn't seem to go well with FreeBSD-CURRENT (aka FreeBSD3).

As evidenced:

[4:22pm] /iron/ports/net/ucd-snmp 
ttyp9:staylor@mrynet (20): make
>> Checksum OK for ucd-snmp-3.1.3.tar.gz.
===>  Building for ucd-snmp-3.1.3
for i in snmplib agent apps local ov man ; do  ( cd $i ; make )  done
cd extensible; make
cc -I.. -I../snmplib -O -Dfreebsd3 -c snmp_vars.c
In file included from snmp_vars.c:123:
/usr/include/netinet/in_var.h:49: field `ia_ifa' has incomplete type
In file included from snmp_vars.c:130:
/usr/include/netinet/if_ether.h:90: field `ac_if' has incomplete type
snmp_vars.c: In function `var_ifEntry':
snmp_vars.c:1718: storage size of `ifnet' isn't known
snmp_vars.c: In function `var_ipAddrEntry':
snmp_vars.c:2481: storage size of `ifnet' isn't known
snmp_vars.c:2481: storage size of `lowin_ifnet' isn't known
snmp_vars.c: In function `Interface_Scan_Next':
snmp_vars.c:3929: storage size of `ifnet' isn't known
snmp_vars.c:3960: structure has no member named `ia_next'
snmp_vars.c:3971: dereferencing pointer to incomplete type
snmp_vars.c:3976: `saveifnet' has an incomplete type
(ad nauseum...)

Poking around, it appears that there is no definition for if_addrlist.
Has convention changed for FreeBSD?  Oversight, or recent buggie?
Or suggestions? :)

If anyone running -CURRENT has compiled this, please drop me a note.

Thanks.


-- 
Scott G. Akmentins-Taylor     InterNet: staylor@mrynet.com
MRY Systems			        staylor@llyene.jpl.nasa.gov
Westlake Village, CA  USA		
    (Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
		----- Labak miris neka sarkans -----



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