Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 11:01:13 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Beech Rintoul <akbeech@anchoragerescue.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Build Failure (libkvm)
Message-ID:  <Pine.BSF.4.21.0202221058010.74100-100000@InterJet.elischer.org>
In-Reply-To: <20020222170928.9D2EFAA@nebula.anchoragerescue.org>

next in thread | previous in thread | raw e-mail | index | archive | help
the probkem is that phk didn't test a buildworld before making the
following change to proc.h:
----------------------------
revision 1.204
date: 2002/02/22 13:32:01;  author: phk;  state: Exp;  lines: +1 -1
Convert p->p_runtime and PCPU(switchtime) to bintime format.
----------------------------

Any change to proc.h needs an appropriate change to
/usr/src/lib/libkvm/kvm_proc.c to convert the new value to th old stable
type. (we will continue to export the old type so that ps doesn't
need to be recompiled all the time).
Slightly humourous because this is EXACTLY the same breakage (same file ,
about 10 lines away) that he was ragging me about doing last week :-)


On Fri, 22 Feb 2002, Beech Rintoul wrote:

> Last night's build for -current failed with the following:
> 
> mkdep -f .depend -a    -DLIBC_SCCS -I/usr/src/lib/libkvm  
> /usr/src/lib/libkvm/kvm.c /usr/src/lib/libkvm/kvm_i386.c 
> /usr/src/lib/libkvm/kvm_file.c /usr/src/lib/libkvm/kvm_getloadavg.c 
> /usr/src/lib/libkvm/kvm_getswapinfo.c /usr/src/lib/libkvm/kvm_proc.c
> cd /usr/src/lib/libkvm; make _EXTRADEPEND
> cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c /usr/src/lib/libkvm/kvm.c 
> -o kvm.o
> cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
> /usr/src/lib/libkvm/kvm_i386.c -o kvm_i386.o
> cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
> /usr/src/lib/libkvm/kvm_file.c -o kvm_file.o
> cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
> /usr/src/lib/libkvm/kvm_getloadavg.c -o kvm_getloadavg.o
> cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
> /usr/src/lib/libkvm/kvm_getswapinfo.c -o kvm_getswapinfo.o
> cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
> /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
> /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
> /usr/src/lib/libkvm/kvm_proc.c:316: incompatible types in assignment
> *** Error code 1
> 
> Stop in /usr/src/lib/libkvm.
> *** Error code 1 
> 
> Tried all the usual, rm  -R /usr/obj, fresh cvsup etc....
> 
> Beech
> -- 
> -------------------------------------------------------------------
> Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org
> /"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
> \ / - NO HTML/RTF in e-mail  | P.O. Box 230510
>  X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
> / \ -----------------------------------------------------------------
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0202221058010.74100-100000>