From owner-freebsd-current@FreeBSD.ORG Mon Jul 5 12:18:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BD2A16A4CE for ; Mon, 5 Jul 2004 12:18:05 +0000 (GMT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA5C643D3F for ; Mon, 5 Jul 2004 12:18:04 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (26-123-118-80.kaptech.net [80.118.123.26]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id 1138314B651; Mon, 5 Jul 2004 14:20:12 +0200 (CEST) Message-ID: <066b01c4628a$1ea75c30$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: , References: <20040704071320.GA6168@ihku.org> Date: Mon, 5 Jul 2004 14:18:02 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: libkvm broken in current? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2004 12:18:05 -0000 wrote: > failed to compile on two i386 boxes of mine. > > root@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@laposte.net