Re: libkvm broken in current?

From: Cyrille Lefevre <clefevre-lists_at_9online.fr>
Date: Mon, 5 Jul 2004 14:18:02 +0200
<gnarlie_at_ihku.org> wrote:
> failed to compile on two i386 boxes of mine.
>
> root_at_mutka:/usr/src/lib/libkvm# make
> Warning: Object directory not changed from original /usr/src/lib/libkvm
> /usr/bin/cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c kvm.c
> /usr/bin/cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c kvm_i386.c
> /usr/bin/cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c kvm_file.c
> /usr/bin/cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c kvm_getloadavg.c
> /usr/bin/cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c kvm_getswapinfo.c
> /usr/bin/cc -O -pipe  -DLIBC_SCCS -I/usr/src/lib/libkvm  -c kvm_proc.c
> kvm_proc.c: In function `kvm_proclist':
> kvm_proc.c:113: error: `KI_EMULNAMELEN' undeclared (first use in this
function)
> kvm_proc.c:113: error: (Each undeclared identifier is reported only once
> kvm_proc.c:113: error: for each function it appears in.)
> kvm_proc.c:162: error: `KERN_PROC_GID' undeclared (first use in this function)
> kvm_proc.c:224: error: structure has no member named `ki_childstime'
> kvm_proc.c:225: error: structure has no member named `ki_childutime'
> kvm_proc.c:227: error: structure has no member named `ki_childstime'
> kvm_proc.c:227: error: structure has no member named `ki_childutime'
> kvm_proc.c:227: error: structure has no member named `ki_childstime'
> kvm_proc.c:227: error: structure has no member named `ki_childutime'
> kvm_proc.c:338: error: structure has no member named `ki_emul'
> kvm_proc.c:361: error: structure has no member named `p_nice'
> *** Error code 1


your src tree doesn't seem to be up-to-date or you didn't do a full
buildworld/installworld. in other words, your /usr/include tree is
out-of-date.in the meantime, let's try :
cd /usr/src
make buildincludes
make installincludes
to update your base system headers (/usr/include), so, you will be
able to make anything out of the buildworld/install process.

PS : currently, your problem is that /usr/include/sys/user.h and
/usr/include/sys/sysctl.h are out-of-date. the original ones are
in /usr/src/sys/sys.

Cyrille Lefevre.
-- 
home: mailto:cyrille.lefevre_at_laposte.net
Received on Mon Jul 05 2004 - 10:18:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC