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 05/24/17 20:16, Valery Ushakov wrote:
On Wed, May 24, 2017 at 16:59:58 +0200, Christian Groessler wrote:

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 USETOOLS=no

should work - if the sources are ~the same as the host you build on
(config is compatible, etc, etc).


Doesn't help:

-------
[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 USETOOLS=no
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]$
-------


regards,
chris



Home | Main Index | Thread Index | Old Index