Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Nov 2005 23:49:34 +0100
From:      Markus Buretorp <markus.buretorp@home.se>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 5.4 -> 6.0 buildworld failure
Message-ID:  <436D36FE.4020806@home.se>
In-Reply-To: <20051105203723.GQ39882@cirb503493.alcatel.com.au>
References:  <436D1376.5030909@home.se> <20051105203723.GQ39882@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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@jmb]
    $ make                                                 
    ...r/src/lib/libkvm [root@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.



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