From owner-freebsd-current@FreeBSD.ORG Fri Dec 19 09:28:23 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E04B1065679 for ; Fri, 19 Dec 2008 09:28:23 +0000 (UTC) (envelope-from qingli@speakeasy.net) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 781ED8FC23 for ; Fri, 19 Dec 2008 09:28:23 +0000 (UTC) (envelope-from qingli@speakeasy.net) Received: (qmail 6292 invoked from network); 19 Dec 2008 09:01:43 -0000 Received: from dsl081-051-194.sfo1.dsl.speakeasy.net (HELO qm8nwm5acsx) ([64.81.51.194]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Dec 2008 09:01:43 -0000 From: "Qing Li" To: "'Julian Elischer'" Date: Fri, 19 Dec 2008 01:01:44 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <494B55B3.4030201@elischer.org> Thread-Index: AclhtH+gezQK7+bZT0a4xkQvdvzLmgAAdggg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Message-Id: <20081219092823.781ED8FC23@mx1.freebsd.org> X-Mailman-Approved-At: Fri, 19 Dec 2008 14:07:38 +0000 Cc: 'Qing Li' , 'Octavian Ionescu' , freebsd-current@freebsd.org, kuriyama@freebsd.org Subject: RE: Problem with snmp build after update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2008 09:28:23 -0000 > > I think it may be worth re-introducing this > flag in some way for compatibility or at > least in a way that produces an error that > explains what to do... > We discussed about the option of keeping this flag around for application compatibility reasons. Since this flag is completely ignored in the kernel, and there are cases where RTF_LLINFO has to be returned back to the applications, we felt the better approach is to remove the flag completely to avoid hiding runtime problems. -- Qing > > ----------------------------------------- > 689,693c689 > < #ifdef RTF_LLINFO > < mib[5] = RTF_LLINFO; > < #else > < mib[5] = 0; > < #endif > --- >> mib[5] = RTF_LLINFO; > ----------------------------------------- > > I assume you have not defined CHECK_RT_FLAGS, if so, more bits need to > be updated. > > I have cc:'d the maintainer kuriyama@freebsd.org here for the actual > commit. > > Thanks, > > -- Qing > > >> -----Original Message----- >> From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd- >> current@freebsd.org] On Behalf Of Octavian Ionescu >> Sent: Wednesday, December 17, 2008 2:44 PM >> To: freebsd-current@freebsd.org >> Subject: Problem with snmp build after update >> >> hi, >> >> >> when i tried to compile net-snmp after the last update it gives me >> the following error >> >> cc -I../../include -I. -I../../agent -I../../agent/mibgroup >> -I../../snmplib -DNETSNMP_ENABLE_IPV6 -O -pipe -Ufreebsd8 >> -Dfreebsd8=freebsd8 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN >> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe >> -Wdeclaration-after-statement -I/usr/local/include >> -I/usr/local/lib/perl5/5.8.8/mach/CORE -c mibII/at.c -fPIC -DPIC -o >> mibII/.libs/at.o >> mibII/at.c: In function 'ARP_Scan_Init': >> mibII/at.c:689: error: 'RTF_LLINFO' undeclared (first use in this >> function) >> mibII/at.c:689: error: (Each undeclared identifier is reported only >> once >> mibII/at.c:689: error: for each function it appears in.) >> *** Error code 1 >> >> Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp- >> 5.4.2.1/agent/mibgroup. >> *** Error code 1 >> >> Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent. >> *** Error code 1 >> >> Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1. >> *** Error code 1 >> >> Stop in /usr/ports/net-mgmt/net-snmp. >> >> after i have read in UPDATING i found: >> >> 20081214: >> __FreeBSD_version 800059 incorporates the new arp-v2 rewrite. >> RTF_CLONING, RTF_LLINFO and RTF_WASCLONED flags are > eliminated. >> >> -- >> Best regards, >> Octavian >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current- >> unsubscribe@freebsd.org" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"