Date: Wed, 16 Nov 2005 17:34:44 +0100 From: Marius Strobl <marius@alchemy.franken.de> To: Jason <jason@monsterjam.org> Cc: sparc@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: failed upgrade from 5.4-STABLE -> 6 Message-ID: <20051116173443.A62864@newtrinity.zeist.de> In-Reply-To: <20051116023315.GA37305@xor.obsecurity.org>; from kris@obsecurity.org on Tue, Nov 15, 2005 at 09:33:15PM -0500 References: <20051116020629.GA30015@monsterjam.org> <20051116023315.GA37305@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 15, 2005 at 09:33:15PM -0500, Kris Kennaway wrote: > On Tue, Nov 15, 2005 at 09:06:29PM -0500, Jason wrote: > > ive got a 5.4 box that im trying to upgrade to 6.. > > all I did was use the RELENG_6 tag and did make world and I error out at > > > > cc -shared -nostdlib hack.c -o hack.So > > rm -f hack.c > > MAKE=/usr/obj/usr/src/make.sparc64/make sh /usr/src/sys/conf/newvers.sh GENERIC > > cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. > > -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > > -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > > -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > > -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medlow > > -msoft-float -ffreestanding -Werror vers.c > > linking kernel > > zs.o(.text+0x488): In function `zstty_attach': > > : undefined reference to `zstty_console' > > zs.o(.text+0x103c): In function `zstty_param': > > : undefined reference to `zstty_set_speed' > > *** Error code 1 > > Your kernel config is incomplete. Go back to GENERIC or carefully > inspect the differences. > Actually you have a superfluous 'device zs' in your kernel config file; zs(4) is no longer supported on sparc64 in FreeBSD 6 and onwards. It's probably a good idea to start with a new kernel config file based on GENERIC in FreeBSD 6 as lots of the console and tty driver related stuff has changed on sparc64 between FreeBSD 5 and 6. Also make sure to update /etc/ttys accordingly. Marius -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051116173443.A62864>