Current-Users archive

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

building a kernel "the old way"



Hi,

with "old way" I mean not using build.sh.

I ran:

-------------------------
[muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/conf]$ config GENERIC
Build directory is ../compile/GENERIC
Don't forget to run "make depend"
[muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/conf]$ cd ../compile/GENERIC/
[muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC]$ make
making sure the compat library is up to date...
make[1]: cannot open ../../../../../../compat/common/Makefile.

make[1]: stopped in /usr/obj/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC/lib/compat
*** Error code 2

Stop.
make: stopped in /local/netbsd-src/src/sys/arch/macppc/compile/GENERIC
[muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC]$ cat /etc/mk.conf
MKUNPRIVED=yes
#USETOOLS=yes
TOOLDIR=/local/netbsd-src/tools
RELEASEDIR=/local/netbsd-src/release
BSDSRCDIR=/local/netbsd-src/src
BSDOBJDIR=/local/netbsd-src/obj
MKOBJDIRS=yes
MKOBJ=yes
OBJMACHINE=yes
DESTDIR=/local/netbsd-src/dest
#PKG_OPTIONS.emacs=dbus svg x11 xft2 gnutls xaw xml
PKG_OPTIONS.emacs=dbus x11 xft2 gnutls xaw xml
PKG_OPTIONS.firefox+=debug-info
PKGSRC_KEEP_BIN_PKGS=yes
[muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC]$ find . -type d
.
[muc-twinppc:/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC]$
-------------------------


So source code isn't under /usr/src, but /local/netbsd-src/src due to tight space in the /usr partition.
Running "make depend" first doesn't help, it gives a similar message.

It says, "make[1]: stopped in /usr/obj/local/netbsd-src/src/sys/arch/macppc/compile/GENERIC/lib/compat", but there is no "lib/compat" directory there.

I'm using -current from around May-17.

Is building a kernel this way not supported anymore? I have to admit, I don't remember when I did it last time before, probably not for a few years.

regards,
chris



Home | Main Index | Thread Index | Old Index