Subject: Re: build 1.6.2 from source
To: None <MGorbunov@imbank.ru>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 03/11/2004 21:02:44
On Thu, Mar 11, 2004 at 11:54:25AM +0300, MGorbunov@imbank.ru wrote:
> Hi,
> 
> I'm trying to build NetBSD-1.6.2-i386 from source on NetBSD-1.6.2-i386 
> machine.
> 
> I've got src.tgz, syssrc.tgz, sharesrc.tgz, gnusrc.tgz from 
> ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/source/sets/, upacked them 
> and started /usr/src/build.sh tools. 
> 
> After some time it stopped with the following messages:
> 
> /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'
> /usr/src/sbin/brconfig/brconfig.c: In function `cmd_ifpathcost':
> /usr/src/sbin/brconfig/brconfig.c:793: structure has no member named 
> `ifbr_path_cost'
> /usr/src/sbin/brconfig/brconfig.c:795: `BRDGSIFCOST' undeclared (first use 
> in this function)
> /usr/src/sbin/brconfig/brconfig.c:795: (Each undeclared identifier is 
> reported only once
> /usr/src/sbin/brconfig/brconfig.c:795: for each function it appears in.)
> *** Error code 1
> 
> Can anybody give a hint, what's wrong.

I guess your includes are not up to date. I have BRDGSIFCOST in
/usr/include/net/if_bridgevar.h on my 1.6.2 system.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--