Subject: Re: brconfig troubles after applying SA2003-011 (xs4)
To: Rogier Krieger <rogier@virgiel.nl>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 08/07/2003 12:15:21
On Thu, Aug 07, 2003 at 05:43:35AM +0200, Rogier Krieger wrote:
> Hi everyone,
> 
> while trying to rebuild the libc-based binaries after applying the realpath
> advisory fixes, I seem to find a broken brconfig.
> 
> Upon running 'make USETOOLS=no cleandir dependall' in [ /usr/src/sbin/ ],
> make starts its magic on the brconfig program and then quits as follows:
> 
> dependall ===> brconfig
> mkdep -a    /usr/src/sbin/brconfig/brconfig.c
> cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-uninitialized -Wreturn-type -Wpointer-arith -Wswitch -Wshadow  -Werror
>    -c /usr/src/sbin/brconfig/brconfig.c
> /usr/src/sbin/brconfig/brconfig.c: In function `show_interfaces':
> /usr/src/sbin/brconfig/brconfig.c:430: structure has no member named
> `ifbr_path_cost'

You need to install src/sys/net/if_bridgevar.h first.
Or use build.sh, it will take care of all these problems for you.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--