before 'make buildworld'
need:
cd /usr/src/usr.bin/yacc && make obj && make depend &&
make && make install
2013/8/27 Johan Hendriks <joh.hendriks at gmail.com>
> Hello all
>
> I am running the following version of FreeBSD
>
> uname -a
> FreeBSD beasty.testdomain.local 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0
> r254646: Thu Aug 22 09:46:05 CEST 2013
> root at beasty.testdomain.local:/usr/obj/usr/src/sys/KRNL
> amd64
>
> I have updated the source using the following command.
>
> svn co http://svn.freebsd.org/base/releng/9.2 /usr/src
> Checked out revision 254955.
>
> But when i do a buildworld it errors out.
>
>
> cc -O2 -pipe -march=core2 -DDES -std=gnu99 -fstack-protector
> -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 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -c /usr/src/bin/ed/undo.c
> cc -O2 -pipe -march=core2 -DDES -std=gnu99 -fstack-protector
> -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 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -o ed buf.o cbc.o glbl.o io.o
> main.o re.o sub.o undo.o -lcrypto
> gzip -cn /usr/src/bin/ed/ed.1 > ed.1.gz
> ===> bin/expr (all)
> cc -O2 -pipe -march=core2 -std=gnu99 -fstack-protector -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
> -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -c expr.c
> cc1: warnings being treated as errors
> expr.c:812: warning: redundant redeclaration of 'yyparse'
> /usr/src/bin/expr/expr.y:77: warning: previous declaration of
'yyparse' was
> here
> *** [expr.o] Error code 1
>
> Stop in /usr/src/bin/expr.
> *** [all] Error code 1
>
> Stop in /usr/src/bin.
> *** [bin.all__D] Error code 1
>
> Stop in /usr/src.
> *** [everything] Error code 1
>
> Stop in /usr/src.
> *** [buildworld] Error code 1
>
> Stop in /usr/src.
>
> I deleted /usr/obj/*
> I deleted /usr/src and did a new svn checkout.
>
> But the errors keeps coming.
>
> Is there anything i can do !
>
>
> regards
> Johan
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at
freebsd.org"
>