Setting up an AT91RM9200 based board with FreeBSD

Hans Petter Selasky hselasky at c2i.net
Sun Dec 2 08:33:47 PST 2007


Hi,

I have an AT91RM9200 based board here which I want to load a FreeBSD/ARM 
kernel onto, based on the FreeBSD P4 USB project. I managed to get the kernel 
compiled, but I cannot compile all the other stuff I need, like bootloaders 
and programs ...

I'm using the CVS version of FreeBSD-HEAD (probably 8-current) of today.

For example I get these errors:

===> games/fortune/strfile (obj,depend,all,install)
/usr/obj/arm/usr/7-current/src/tmp/usr/7-current/src/games/fortune/strfile 
creat
ed for /usr/7-current/src/games/fortune/strfile
rm -f .depend
CC='/usr/cross/usr/bin/gcc' 
mkdep -f .depend -a    -I/usr/obj/arm/usr/7-current/
src/tmp/legacy/usr/include /usr/7-current/src/games/fortune/strfile/strfile.c
/usr/7-current/src/games/fortune/strfile/strfile.c:48:23: error: sys/cdefs.h: 
No
 such file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:51:24: error: sys/param.h: 
No
 such file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:52:25: error: sys/endian.h: 
N
o such file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:53:20: error: stdio.h: No 
suc
h file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:54:27: error: stdlib.h: No 
su
ch file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:55:20: error: ctype.h: No 
suc
h file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:56:27: error: string.h: No 
su
ch file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:57:25: error: time.h: No 
such
 file or directory
/usr/7-current/src/games/fortune/strfile/strfile.c:58:27: error: locale.h: No 
su

Any clues ?

--HPS

PS: I'm available on MSN/ICQ/AIM/JABBER/IRC/SIP .


More information about the freebsd-arm mailing list