tech-kern archive

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

Re: Can't compile NetBSD kernel in Virtual Box due to assym.h error



Devin Steffler <devinsteffler%gmail.com@localhost> 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.



Home | Main Index | Thread Index | Old Index