R244200 rpi-freebsd.sh build error

Oleksandr Tymoshenko gonzo at bluezbox.com
Fri Dec 14 21:26:21 UTC 2012


On 12/14/2012 12:01 AM, dev, dev wrote:
> use RPI-Bsc kernel config file
> run rpi-freebsd.sh build script, last error message:
>
> rm -f .newdep
> make -V CFILES_NOZFS -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E"
> CC="cc" xargs mkdep -a -f .newdep -O -pipe  -std=c99 -g -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>   -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
> -fdiagnostics-show-option   -nostdinc  -I. -I/usr/src/sys
> -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
> -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal
> -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/cxgb
> -I/usr/src/sys/dev/cxgbe -I/usr/src/sys/contrib/libfdt -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000  -ffreestanding
> /usr/src/sys/dev/random/probe.c:32:21: error: opt_cpu.h: No such file or
> directory
> /usr/src/sys/dev/random/probe.c:46:30: error: machine/cputypes.h: No such
> file or directory
> /usr/src/sys/dev/random/probe.c:48:32: error: machine/specialreg.h: No such
> file or directory
> /usr/src/sys/dev/syscons/schistory.c:49:32: error: machine/pc/display.h: No
> such file or directory
> /usr/src/sys/dev/syscons/syscons.c:69:32: error: machine/pc/display.h: No
> such file or directory
> /usr/src/sys/dev/syscons/scterm-teken.c:47:32: error: machine/pc/display.h:
> No such file or directory
> mkdep: compile failed
> *** [.depend] Error code 1
>
> Stop in /usr/obj-rpi/arm.arm/usr/src/sys/RPI-Bsc.
> *** [buildkernel] Error code 1
>
> Stop in /usr/src.
> *** [buildkernel] Error code 1
>
> Stop in /usr/src.

Looks like kernel-toolchain hasn't been done before buildkernel. If 
you;re using script from this page:
http://c32.no-ip.com/R-PI/ it seems to be obsolete. Please use newer script:
  http://people.freebsd.org/~gonzo/arm/rpi/build-pi-image.sh



More information about the freebsd-arm mailing list