Thanks for the kind pointer Robert.

Tired eyes skip instructions... totally my fault. The instructions clearly
state the following:
"The directories described in this section are i386 specific. Users of
other architectures must substitute the appropriate directories, see the
subdirectories of src/sys/arch for a list."

I don't really need 64 at this time. For now I've reinstalled the i386
version of NetBSD 7.1 and went through the instructions again. This time it
worked like a charm.

Many thanks!


On Tue, Jul 4, 2017 at 2:24 AM, Robert Swindells <[email protected]> wrote:

>
> Devin Steffler <[email protected]> wrote:
> >I'm trying to compile a NetBSD kernel in a Virtual Box but I'm getting
> >an error. I believe that what I am trying to do is reasonable and should
> >work "out of the box". Let me know if this is a false assumption (for
> >example, if NetBSD is known not to compile in a Virtual Box for some
> >reason).
>
> [snip]
>
> >Steps to reproduce:
> >- Download and install Oracle VM Virtual Box
> >- Create a new virtual machine and add the image NetBSD-7.1-amd64.iso to
> >its storage tree
>
> [snip]
>
> >I am executing these commands after getting the syssrc.tgz file:
> >cd /
> >tar zxf /root/syssrc.tgz
> >cd /usr/src/sys/arch/i386/conf/
> >cp GENERIC MYKERNEL
> >config MYKERNEL
> >cd ../compile/MYKERNEL
> >make depend
>
> You are running NetBSD/amd64 but trying to build a NetBSD/i386 kernel
> using the native tools, that won't work.
>
>

Reply via email to