Subject: Re: Problems with updating ipfilter
To: Frank Lingott <frank@lugh.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 11/19/2002 21:31:52
On Fri, Nov 15, 2002 at 01:39:28PM +0100, Frank Lingott wrote:
> Hi all,
>
> I tried to update ipfilter on my netbsd box, following the advices
> in NetBSD Security Advisory 2002-024.
>
> My system:
>
> bash-2.04# uname -a
> NetBSD ariolc 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (GENERIC) #0: Wed Oct 23
> 14:59:09 CEST 2002
> frank@ariolc:/usr/src/sys/arch/i386/compile/GENERIC i386
> bash-2.04#
>
> From the Advisory:
>
> Update the source files:
> # cd src
> # cvs update -d -P -r netbsd-1-5 dist/ipf
> # cvs update -d -P -r netbsd-1-5 usr.sbin/ipf
> # cvs update -d -P -r netbsd-1-5 sys/netinet
>
> Install the updated include files:
> # cd src/sys
> # make includes
>
> Rebuild the userland tools:
> # cd src/usr.sbin/ipf
> # make cleandir dependall
> # make install
>
> Rebuild the LKM:
> # cd src/sys/lkm/netinet
> # make cleandir dependall
> # make install
>
> Rebuild the kernel and reboot:
> # cd src/sys/ARCH/conf
> # config FILENAME
> # cd ../compile/FILENAME
> # make dependall install
> (of course i replaced FILENAME and ARCH with my values)
>
> This is the error message:
>
> LKM -DMAXUSERS=32 -D_KERNEL -Di386 -c ../../../../netinet/ip_input.c
> cc1: warnings being treated as errors
> ../../../../netinet/ip_input.c: In function `ip_sysctl':
> ../../../../netinet/ip_input.c:1718: warning: implicit declaration of
> function `rt_timer_queue_remove_all'
> *** Error code 1
Maybe you need to update the whole kernel sources, not just
sys/netinet ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 23 ans d'experience feront toujours la difference
--