Problems upgrading from 4.1.1 to 4_9_RELENG

Ben Schumacher rynok at
Fri Feb 6 15:23:54 PST 2004


I'm trying to upgrade from 4.1.1 via sources to the 4_9_RELENG codebase, 
and I'm getting some compile errors. Any help in figuring out how to 
deal with these would be greatly appreciated.

Here's the output:
$ make buildworld

[ ...clipped a bunch of stuff that worked... ]
===> usr.bin/yacc
/usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc
rm -f .depend
mkdep -f .depend -a    -D__FBSDID=__RCSID 
/usr/src/usr.bin/yacc/closure.c /usr/src/usr.bin/yacc/error.c 
/usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c 
/usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c 
/usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c 
/usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c 
/usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c
echo yacc: /usr/lib/libc.a  >> .depend
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/closure.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/error.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/lalr.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/lr0.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/main.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/mkpar.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/output.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/reader.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/skeleton.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/symtab.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/verbose.c
cc -O -pipe     -D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/warshall.c
cc -O -pipe     -D__FBSDID=__RCSID  -static -o yacc closure.o error.o 
lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o 
verbose.o warshall.o
error.o: In function `print_pos':
error.o(.text+0xf0): undefined reference to `__stderrp'
error.o(.text+0x117): undefined reference to `__stderrp'
error.o(.text+0x14a): undefined reference to `__stderrp'
error.o(.text+0x180): undefined reference to `__stderrp'
error.o(.text+0x1a3): undefined reference to `__stderrp'
error.o(.text+0x1d1): more undefined references to `__stderrp' follow
main.o: In function `getargs':
main.o(.text+0x1dd): undefined reference to `__stdinp'
*** Error code 1

Stop in /usr/src/usr.bin/yacc.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

Here's my uname output:

$ uname -a
FreeBSD 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #2: Thu Oct 
5 04:43:45 MDT 2000     root at 

Sorry to bug the list with this, as it feels rather lame, but I've spent 
two days trying to figure this out and I'm stuck.


Ben Schumacher

More information about the freebsd-questions mailing list