buildkernel for cubieboard failed

Andrew Turner andrew at fubar.geek.nz
Tue Apr 16 21:50:09 UTC 2013


On Tue, 16 Apr 2013 20:37:41 +0100 (BST)
Yan Morozz <yaakovozer at yahoo.de> wrote:

> Hi, 
> i  tried to build a kernel for cubieboard.
> it failed. What do i wrong?
> 
> me# cd /usr/src
> me#  make TARGET_ARCH=armv6  KERNCONF=CUBIEBOARD buildkernel
> . . . . . . . . . . . . . . .
> . . . . . . . . . . . . . ..  .
> /usr/src/sys/dev/random/probe.c:32:10: fatal error: 'opt_cpu.h' file
> not found #include "opt_cpu.h"

This error is because you are trying to build for armv6 using an i386 or
amd64 compiler. You need to build one of the kernel-toolchain, toolchain
or buildworld targets before trying to run buildkernel.

Andrew


More information about the freebsd-arm mailing list