Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2013 20:24:26 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        John Elder <johnsstephenelder@gmail.com>
Cc:        freebsd-arm <freebsd-arm@FreeBSD.org>
Subject:   Re: About Cubieboard buildkernel Error
Message-ID:  <1382322266.92499.139.camel@revolution.hippie.lan>
In-Reply-To: <CA%2B2R0XNQuwNDM_PdkWqVui4=F0Qi5gQx3L_a3hRE5C4Wu3SPZg@mail.gmail.com>
References:  <CA%2B2R0XNm_mHnMF58yNq8iATaToyEKAGGX0gUfYkJhM0j2RA2TQ@mail.gmail.com> <CA%2B2R0XNQuwNDM_PdkWqVui4=F0Qi5gQx3L_a3hRE5C4Wu3SPZg@mail.gmail.com>

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





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