Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2013 07:49:55 +1000
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Yan Morozz <yaakovozer@yahoo.de>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: buildkernel for cubieboard failed
Message-ID:  <20130417074955.47f982e0@bender>
In-Reply-To: <1366141061.32460.YahooMailNeo@web172705.mail.ir2.yahoo.com>
References:  <1366141061.32460.YahooMailNeo@web172705.mail.ir2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Apr 2013 20:37:41 +0100 (BST)
Yan Morozz <yaakovozer@yahoo.de> wrote:

> Hi,=A0
> i =A0tried to build a kernel for cubieboard.
> it failed. What do i wrong?
>=20
> me# cd /usr/src
> me# =A0make TARGET_ARCH=3Darmv6  KERNCONF=3DCUBIEBOARD 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130417074955.47f982e0>