Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: building a kernel "the old way"
On Thu, May 25, 2017 at 01:50:23 +0200, Christian Groessler wrote:
> On 05/25/17 01:44, Robert Swindells wrote:
> > Christian Groessler <chris%groessler.org@localhost> wrote:
> > > I should have a complete source tree. 'build.sh', at least, was able to
> > > build the whole system without errors.
[...]
> --------
> [muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/conf]$ rm -rf
> ../compile/GENERIC/
> [muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/conf]$
> /local/netbsd-src/tools/bin/nbconfig GENERIC
> Build directory is ../compile/GENERIC
> Don't forget to run "make depend"
> [muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/conf]$ cd -
> /local/netbsd-src/src/sys/arch/macppc/compile/GENERIC
> [muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC]$
> /local/netbsd-src/tools/bin/nbmake-macppc depend
> depending the kern library objects
> nbmake[1]: cannot open ../../../../../../lib/libkern/Makefile.
>
> nbmake[1]: stopped in /local/netbsd-src/obj/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC/lib/kern
>
> *** Failed target: dependkernlib
> *** Failed command: cd /local/netbsd-src/obj/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC/lib/kern
> && /local/netbsd-src/tools/bin/nbmake ...
Move your /etc/mk.conf out of the way temporarily. I suspect you
might be running into some obscure corner cases of objdir handling.
See (emphasis mine):
nbmake[1]: stopped in /local/netbsd-src/OBJ/.../compile/GENERIC/lib/kern
while
nbmake[1]: cannot open ../../../../../../lib/libkern/Makefile.
seems to indicate it assumes you are running inside the src tree (not
in an objdir).
-uwe
Home |
Main Index |
Thread Index |
Old Index