*BSD News Article 29479


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!bsdtest.ensta.fr!bouyer
From: bouyer@bsdtest.ensta.fr (Manuel Bouyer)
Newsgroups: comp.os.386bsd.questions
Subject: Re: NetBSD-current and kernel source
Date: 18 Apr 1994 15:59:47 GMT
Organization: Ecole Nationale Superieure de Techniques Avancees, Paris
Lines: 42
Distribution: world
Message-ID: <2ouapj$hi4@homea.ensta.fr>
References: <2ottp1$glg@aggedor.rmit.EDU.AU>
NNTP-Posting-Host: bsdtest.ensta.fr
Keywords: NetBSD-current,kernel

In article <2ottp1$glg@aggedor.rmit.EDU.AU>, rxtgep@geppc.xx.rmit.edu.au (Glen Pill) writes:
|> I just sup'd the kernel sources from sun-lamp and am experiencing a
|> problem when recompiling a new kernel.  Here's a small excerpt from a make
|> on GENERICAHA.
|> 
|> ioconf.c:77: `ttymask' undeclared here (not in a function)
|> ioconf.c:78: `ttymask' undeclared here (not in a function)
|> ioconf.c:79: `ttymask' undeclared here (not in a function)
|> 
|> ioconf.c:84: `biomask' undeclared here (not in a function)
|> ioconf.c:87: `biomask' undeclared here (not in a function)
|> ioconf.c:90: `biomask' undeclared here (not in a function)
|> 
|> ioconf.c:121: `netmask' undeclared here (not in a function)
|> ioconf.c:122: `netmask' undeclared here (not in a function)
|> ioconf.c:123: `netmask' undeclared here (not in a function)
|> 
|> ioconf.c:130: warning: initialization of `isa_devtab[50].id_unit' makes
|> integer from pointer without a cast
|> ioconf.c:130: warning: excess elements in aggregate initializer after
|> `isa_devta b[50]'
|> ioconf.c:130: warning: initialization of `isa_devtab[51].id_unit' makes
|> integer from pointer without a cast
|> 
|> Is Config generating weird files, or am I doing something wrong?
|> 
|>

What wersion of NetBSD are you currently running ?
If it is NetBSD 0.9, i think you won't be able to recompile current kernel,
to many things have changed. You certainly will have problems with system calls.

In all cases, you have tou reinstall /usr/include, /usr/share/mk,
/usr/sbin/config,  and then you will be able to compile the kernel.

Another solution is to get the current binaries from 
ftp.iastate.edu:/pub/netbsd/NetBSD-current/binaries

--
Manuel Bouyer, Ecole Nationale Superieure de Techniques Avancees, Paris
email: bouyer@ensta.fr
--