Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 13:26:14 -0800
From:      Oleksandr Tymoshenko <gonzo@bluezbox.com>
To:        "dev, dev" <dev@macdevshanghai.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: R244200 rpi-freebsd.sh build error
Message-ID:  <50CB9976.9000904@bluezbox.com>
In-Reply-To: <CANEJTgBXRJ=Jecm=npaOVGS3%2BpegNbMAUR755DYJ1e0vUeC_0A@mail.gmail.com>
References:  <CANEJTgBXRJ=Jecm=npaOVGS3%2BpegNbMAUR755DYJ1e0vUeC_0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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