5.4 -> 6.0 buildworld failure
Markus Buretorp
markus.buretorp at home.se
Sat Nov 5 14:49:33 PST 2005
Peter Jeremy wrote:
>On Sat, 2005-Nov-05 21:17:58 +0100, Markus Buretorp wrote:
>
>
>>I'm trying to upgrade from FreeBSD 5.4-STABLE to 6.0. I've done a cvsup
>>to RELENG_6 and RELENG_6_0, I've ran make cleanworld, make clean, rm -rf
>>/usr/obj/*, etc; but nothing helps.
>>
>>
>...
>
>
>> /usr/src/lib/libkvm/kvm_proc.c:108: error: storage size of 't_cdev'
>> isn't known
>>
>>
>
>I've just done a buildworld of RELENG_6 on 5.3 without problems so I
>suspect it's something you've done. It looks very much like
>kvm_proc.c is being built using the wrong include files - the ones in
>/usr/include/sys rather than the ones in /usr/src/sys/sys.
>
>Where is this error occurring during the buildworld? (What are the
>latest lines beginning '>>>' and '===>')
>What non-standard bits do you have in your command line, /etc/make.conf
>or MAKEOBJDIRPREFIX?
>
>
>
>>> stage 4.2: building libraries
...
===> lib/libkvm (depend,all,install)
make.conf:
WITHOUT_X11=yes
CPUTYPE?=athlon-xp
CFLAGS=-O2 -pipe
COPTFLAGS=-O -pipe
# added by use.perl 2005-06-24 23:01:50
PERL_VER=5.8.7
PERL_VERSION=5.8.7
Note, I've tried without the first four lines.
$ cd lib/libkvm
/usr/src [root at jmb]
$ make
...r/src/lib/libkvm [root at jmb]
cc -O -pipe -DLIBC_SCCS -I/usr/src/lib/libkvm -c
/usr/src/lib/libkvm/kvm_proc.c
/usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
/usr/src/lib/libkvm/kvm_proc.c:108: error: storage size of 't_cdev'
isn't known
/usr/src/lib/libkvm/kvm_proc.c:114: error: storage size of 'pr'
isn't known
/usr/src/lib/libkvm/kvm_proc.c:176: error: structure has no member
named `ki_jid'
/usr/src/lib/libkvm/kvm_proc.c:377: error: structure has no member
named `p_rux'
*** Error code 1
Stop in /usr/src/lib/libkvm.
I found this, http://www.freebsd.org/cgi/query-pr.cgi?pr=77821 , but it
doesn't help me much. I don't now what I've done. I've used cvsup and
buildworld several times.
More information about the freebsd-stable
mailing list