From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 09:49:27 2004 Return-Path: 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 A555816A4CE for ; Wed, 14 Jan 2004 09:49:27 -0800 (PST) Received: from razorbill.mail.pas.earthlink.net (razorbill.mail.pas.earthlink.net [207.217.121.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE15343D46 for ; Wed, 14 Jan 2004 09:49:22 -0800 (PST) (envelope-from algould@datawok.com) Received: from 22-15.lctv-b4.cablelynx.com ([24.204.22.15] helo=yoda.datawok.com) by razorbill.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 1Agp8p-00042Y-00; Wed, 14 Jan 2004 09:49:19 -0800 From: "Andrew L. Gould" To: "Goodleaf, John M" , "'freebsd-questions@freebsd.org'" Date: Wed, 14 Jan 2004 11:49:20 -0600 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401141149.20570.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4b83bfe44c2446e5ed2fed9807963ebcec350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: Re: buildworld failure 4.9 Stable --> 5.2 Release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 17:49:27 -0000 On Wednesday 14 January 2004 11:30 am, Goodleaf, John M wrote: > Hello, > > I'm trying to upgrade a system from 4.9 (Stable) to 5.2 release. I get a > buildworld failure with aand error that reads like this: > > In file included from /usr/src/lib/libkvm/kvm.c:62: > /usr/src/lib/libkvm/kvm.h:41:24: sys/_types.h: No such file or directory > In file included from /usr/src/lib/libkvm/kvm.c:62: > /usr/src/lib/libkvm/kvm.h:49: error: syntax error before "size_t" > /usr/src/lib/libkvm/kvm.h:49: warning: useless keyword or type name in > empty declaration > /usr/src/lib/libkvm/kvm.h:49: warning: empty declaration > /usr/src/lib/libkvm/kvm.h:54: error: syntax error before "ssize_t" > /usr/src/lib/libkvm/kvm.h:54: warning: useless keyword or type name in > empty declaration > /usr/src/lib/libkvm/kvm.h:54: warning: empty declaration > > Any ideas how to fix this? > > Thanks, > John > > PS My make.conf file looks like this: > > MODULES_WITH_WORLD=true > USA_RESIDENT=YES > CFLAGS= -O -pipe > NOGAMES= true > NOINFO= true > NOFORTRAN= true > NO_LPR= true > KERNCONF=CLYDE > NO_SENDMAIL= true > COPTFLAGS= -O -pipe > CPUTYPE= pentium4 > CXXFLAGS+= -fmemoize-lookups -fsave-memoized > PERL_VER=5.8.1 > PERL_VERSION=5.8.1 > PERL_ARCH=mach > NOPERL=yo > NO_PERL=yo > NO_PERL_WRAPPER=yo A common piece of advice is to do clean installations (not updates) when upgrading from 4.* to 5.*. Best of luck, Andrew Gould