From owner-freebsd-questions@FreeBSD.ORG Fri Apr 7 13:57:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2033016A400 for ; Fri, 7 Apr 2006 13:57:39 +0000 (UTC) (envelope-from nalists@scls.lib.wi.us) Received: from mail.scls.lib.wi.us (mail.scls.lib.wi.us [198.150.40.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C04E143D45 for ; Fri, 7 Apr 2006 13:57:38 +0000 (GMT) (envelope-from nalists@scls.lib.wi.us) Received: from [172.26.2.238] ([172.26.2.238]) by mail.scls.lib.wi.us (8.13.1/8.13.1) with ESMTP id k37DvcWb042429; Fri, 7 Apr 2006 08:57:38 -0500 (CDT) (envelope-from nalists@scls.lib.wi.us) Message-ID: <44366FD2.2070206@scls.lib.wi.us> Date: Fri, 07 Apr 2006 08:57:38 -0500 From: Greg Barniskis User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "B. Cook" References: <443668B9.1010701@poklib.org> In-Reply-To: <443668B9.1010701@poklib.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: src upgrade from 4.11-p16 to 5.4 possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 13:57:39 -0000 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) , (608) 266-6348