Hello- 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 home.blahr.com 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #2: Thu Oct 5 04:43:45 MDT 2000 root@ben-gw.mho.net:/usr/src/sys/compile/ROUTER i386 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. Thanks, Ben Schumacher
On Mon, 2004-02-09 at 13:12, Ben Schumacher wrote:> Hello- > > 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. >I managed to upgrade a 4.1 box to 4.9-stable by doing it in steps: First cvsup'ed RELENG_4_3, make buildworld, make buildkernel, installkernel, reboot, installworld ..... then I cvsup'ed to RELENG_4_6 and did the same then I cvsup'ed to RELENG_4_9 and successfully completed the upgrade. A little bit of a long process and if you can get by doing a fresh install rather than trying to upgrade it would probably be quicker ... but upgrading did work in steps for me.
In message: <4027CD9E.4010508@spamcop.net> Ben Schumacher <rynok@spamcop.net> writes: : main.o(.text+0x1dd): undefined reference to `__stdinp' Typically, one would Install the latest compatibility libraries to get around this issue. Warner