Date: Wed, 1 Apr 1998 23:22:29 +0200 From: Andreas Klemm <andreas@klemm.gtn.com> To: current@FreeBSD.ORG Subject: cmu-snmp 3.3.1 compile problems, current changed last recently ? Message-ID: <19980401232229.42895@klemm.gtn.com>
next in thread | raw e-mail | index | archive | help
cc -I../.. -I./../.. -I./../../snmplib -I./.. -I.. -pipe -O -Dfreebsd3
-Dfreebsd2 -c interfaces.c
interfaces.c: In function `Interface_Scan_Next':
interfaces.c:975: structure has no member named `ia_list'
interfaces.c:994: structure has no member named `if_list'
interfaces.c:998: structure has no member named `if_list'
interfaces.c: In function `Interface_Get_Ether_By_Index':
interfaces.c:1072: storage size of `arpcom' isn't known
interfaces.c: In function `Address_Scan_Next':
interfaces.c:1181: structure has no member named `ia_list'
interfaces.c:1194: structure has no member named `if_list'
interfaces.c:
[...]
#if defined(netbsd1) || defined(freebsd3)
#define ia_next ia_list.tqe_next
^^^^^^^
#define if_next if_list.tqe_next
#endif
[...]
while (ia) {
klookup((unsigned long)ia , (char *)&in_ifaddr,
sizeof(in_ifaddr));
if (in_ifaddr.ia_ifp == ifnetaddr) break;
ia = in_ifaddr.ia_next;
^^^^^^^
}
Any idea how to fix this ?
--
Andreas Klemm http://www.FreeBSD.ORG/~andreas
powered by ,,symmetric multiprocessor FreeBSD''
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980401232229.42895>
