Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2006 08:57:38 -0500
From:      Greg Barniskis <nalists@scls.lib.wi.us>
To:        "B. Cook" <bcook@poklib.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: src upgrade from 4.11-p16 to 5.4 possible?
Message-ID:  <44366FD2.2070206@scls.lib.wi.us>
In-Reply-To: <443668B9.1010701@poklib.org>
References:  <443668B9.1010701@poklib.org>

next in thread | previous in thread | raw e-mail | index | archive | help
B. Cook wrote:
[snip]
> Stop in /usr/src/usr.sbin/pcvt/vgaio.
> *** Error code 1
> 
> 
> ===> usr.sbin/pcvt/ispcvt
> cc -O -pipe   -c /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.c
> cc -O -pipe    -o ispcvt ispcvt.o
> gzip -cn /usr/src/usr.sbin/pcvt/ispcvt/ispcvt.8 > ispcvt.8.gz
> ===> usr.sbin/pcvt/vgaio
> cc -O -pipe  -I/usr/obj/usr/src/usr.sbin/pcvt/vgaio 
> -I/usr/src/usr.sbin/pcvt/vgaio  -c vgaio.c
> In file included from /usr/src/usr.sbin/pcvt/vgaio/vgaio.y:56:
> /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax 
> error before "bsfl"
> /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h:60: error: syntax 
> error before "mask"
> /usr/obj/usr/src/i386/usr/include/machine/cpufunc.h: In function `bsfl':
[snip]

I don't have the expertise to get deep into fixing any CPU code 
bugs, but I've seen a roughly similar error in the past and fixed it 
with just basic procedures. Have you tried doing

rm -rf /usr/obj/*

before your buildworld? This step doesn't seem to be in the upgrade 
guide you cited, but it is in the Handbook under general buildworld 
procedures. Section 21.4.6 of:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


-- 
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
<gregb at scls.lib.wi.us>, (608) 266-6348



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44366FD2.2070206>