failed upgrade from 5.4-STABLE -> 6

Marius Strobl marius at alchemy.franken.de
Wed Nov 16 08:34:52 PST 2005


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.


More information about the freebsd-sparc64 mailing list