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



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 <rjs%fdy2.co.uk@localhost> wrote:

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