Crochet: Building dev tools from sources fails

Bodo Kaiser i at bodokaiser.io
Mon Jun 10 14:17:19 UTC 2013


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=arm XDEV_ARCH=armv6 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




More information about the freebsd-arm mailing list