Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2013 16:17:16 +0200
From:      Bodo Kaiser <i@bodokaiser.io>
To:        freebsd-arm@freebsd.org
Subject:   Crochet: Building dev tools from sources fails
Message-ID:  <54FE8A2F-969F-4145-A0B7-75C193FB9C5C@bodokaiser.io>

next in thread | raw e-mail | index | archive | help
Hello,

I want to install FreeBSD on my BeagleBone Black (and start with kernel =
development).

I am currently stuck at building the dev tools from the FreeBSD source =
tree.

What I have done so far:

- installed FreeBSD-9.1 to a Parallels VM
- installed git
- cloned freebsd source tree from github.com/freebsd/freebsd (other =
versions missed BEAGLEBONE kernconf)

and done
cd /usr/src && make XDEV=3Darm XDEV_ARCH=3Darmv6 xdev
I have done this but now I  get three compiler errors:

1. /usr/freebsd-armv6/usr/include/machine/cpuconf.h:108:2: error: =
ARM_NARCH is 0
#error ARM_NARCH is 0

2. /usr/freebsd-armv6/usr/include/machine/cpuconf.h:183:2: error: =
ARM_NMMUS is 0
#error ARM_NMMUS is 0

3. /usr/freebsd-armv6/usr/include/unistd.h:355:16: error: too few =
arguments provided to function-like macro innovaction
int pause(void);

Is this problem caused by:
a) different source versions between /usr/src and system
b) unstable code in git mirror
c) something else

What can I do to solve this errors?

Best Regards,
Bodo





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54FE8A2F-969F-4145-A0B7-75C193FB9C5C>