Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem building a kernel



On Mon, Apr 11, 2011 at 10:59:21PM +0000, Christos Zoulas wrote:
> In article <20110411182718.GA37341%colwyn.zhadum.org.uk@localhost>,
> Matthias Scheler  <tron%zhadum.org.uk@localhost> wrote:
> >
> >     Hello,
> >
> >if I try to build a kernel I get a lot error message like these:
> >
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 14: Missing dependency operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 22: Missing dependency operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 28: Need an operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 29: Need an operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 30: Need an operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 31: Need an operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 32: Need an operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 33: Need an operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 34: Need an operator
> >nbmake: "/src/sys/compile/LYSSA/.depend" line 35: Need an operator
> >
> >If I look at the broken line it looks like this:
> >
> >__asm(".pushsection " ".ident" "\n" ".asciz \"" "$NetBSD:
> >OsdEnvironment.c,v 1.5 2009/08/23 15:16:16 jmcneill Exp $" "\"\n"
> >".popsection");
> >
> >This also happens with the "GENERIC" kernel configuration. I've rebuilt
> >the tools from a clean object directory today.
> 
> Make install in /usr/src/share/mk

That is not necessary with my build script which uses "make -m ...".
For some unknown reason I know to set "DESTDIR" to some random value
before building with "USETOOLS" set to "yes".

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index