Subject: Re: Current make depend fails on 1.5
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: None <stripes@tigerlair.com>
List: port-i386
Date: 12/16/2001 06:57:51
Manuel Bouyer enscribed:
> On Fri, Dec 14, 2001 at 11:09:29PM +0100, Iggy Drougge wrote:
> > I'm not very experienced when it comes to compiling kernels, so I just
> > followed the instructions in "The NetBSD operating system - a short guide"
> > (http://www.mclink.it/personal/MG2508/nbsdeng/netbsd.html):
> > 
> > #   cd /sys/arch/i386/conf/
> > #   cp GENERIC MYKERNEL
> > #   vi MYKERNEL
> > #   config MYKERNEL
> > #   cd ../compile/MYKERNEL
> > #   make depend
> > #   make
> > 
> > Only in this case, I edited GENERIC_PS2TINY
> > (I added another NIC in my PS/2 in order to use it as a router, and found that
> > the kernel didn't have IP forwarding on.)
> > However, in the penultimate step, make depend failed:
> > 
> > ------8<------
> > In file included from ../../../../netinet/in_proto.c:153:
> > stf.h:2: warning: `NINET' redefined
> > opt_inet.h:6: warning: this is the location of the previous definition
> > In file included from ../../../../netinet/udp_usrreq.c:116:
> > faith.h:2: warning: `NINET' redefined
> > opt_inet.h:6: warning: this is the location of the previous definition
> > mkdep: compile failed.
> > *** Error code 1
> > Stop.
> 
> You need to rebuild usr.sbin/config first.
> You may also have assembler issues.

I have similar problems on a single NIC P4 running 1.5.1. How do you rebuild
usr.sbin/config?

Sorry if that seems like a stupid question, but I haven't run across anything
like this when rebuilding kernels.

-Anne

-Anne
--
Time exists solely              (\`--/') _ _______ .-r-.  
for the purpose of               >.~.\ `` ` `,`,`. ,'_'~`.          
preventing everything           (v_," ; `,-\ ; : ; \/,-~) \            
from happening at once.          `--'_..),-/ ' ' '_.>-' )`.`.__.')   
stripes at tigerlair dot com    ((,((,__..'~~~~~~((,__..'  `-..-'fL