Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 11:49:20 -0600
From:      "Andrew L. Gould" <algould@datawok.com>
To:        "Goodleaf, John M" <jgoodlea@fhcrc.org>, "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: buildworld failure 4.9 Stable --> 5.2 Release
Message-ID:  <200401141149.20570.algould@datawok.com>
In-Reply-To: <B1C5649A402DD51190930002B330A181049EC0E9@shemp.fhcrc.org>
References:  <B1C5649A402DD51190930002B330A181049EC0E9@shemp.fhcrc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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