About Cubieboard buildkernel Error

Ian Lepore ian at FreeBSD.org
Mon Oct 21 02:24:30 UTC 2013


On Mon, 2013-10-21 at 10:05 +0800, John Elder wrote:
> It shows :
> --------------------------------------------------------------
> >>> stage 2.3: build tools
> --------------------------------------------------------------
> cd /usr/obj/arm.armv6/usr/src/sys/CUBIEBOARD;
>  PATH=/usr/obj/arm.armv6/usr/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/usr/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/usr/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin
>  MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm  make SSP_CFLAGS=
> -DNO_CPU_CFLAGS -DNO_CTF -DEARLY_BUILD  -f
> /usr/src/sys/dev/aic7xxx/aicasm/Makefile
> Warning: Object directory not changed from original
> /usr/obj/arm.armv6/usr/src/sys/CUBIEBOARD
> cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99
>  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wno-pointer-sign -c /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
> cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99
>  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wno-pointer-sign -c
> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
> cc -O2 -pipe -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99
>  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wno-pointer-sign -c aicasm_gram.c
> cc1: warnings being treated as errors
> aicasm_gram.c:1539: warning: no previous prototype for 'yyparse'
> *** Error code 1
> 
> Stop in /usr/obj/arm.armv6/usr/src/sys/CUBIEBOARD.

That happens when your build machine is running too old a version of
freebsd.  I used to have that problem on my 8.3 machine and eventually I
just compiled the latest version of yacc and installed it to get around
the problem.  (I have to use 8.x for $work.)

-- Ian




More information about the freebsd-arm mailing list