From owner-freebsd-current Sat Jan 4 4:52:16 2003 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 7DBB237B401 for ; Sat, 4 Jan 2003 04:52:15 -0800 (PST) Received: from mailc.telia.com (mailc.telia.com [194.22.190.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F2E543EB2 for ; Sat, 4 Jan 2003 04:52:04 -0800 (PST) (envelope-from david@realityrift.com) Received: from d1o836.telia.com (d1o836.telia.com [213.65.240.241]) by mailc.telia.com (8.12.5/8.12.5) with ESMTP id h04Cq372012421 for ; Sat, 4 Jan 2003 13:52:03 +0100 (CET) X-Original-Recipient: Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23]) by d1o836.telia.com (8.10.2/8.10.1) with ESMTP id h04Cq2621038 for ; Sat, 4 Jan 2003 13:52:02 +0100 (CET) Content-Type: text/plain; charset="us-ascii" From: David Holm To: current@freebsd.org Subject: Compilation failure on x86 Date: Sat, 4 Jan 2003 13:51:42 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301041351.43005.david@realityrift.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I tried upgrading this morning but compilation fails with the following e= rror=20 (I waited a while and cvsup'd again in case someone was commiting, didn't= =20 help) =3D=3D=3D> lib/libkvm Warning: Object directory not changed from original /usr/src/lib/libkvm gcc -O2 -pipe -march=3Dpentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm -c=20 kvm_getswapinfo.c -o kvm_getswapinfo.o In file included from kvm_getswapinfo.c:20: /usr/include/vm/swap_pager.h:75: syntax error before "vm_object_t" kvm_getswapinfo.c: In function `kvm_getswapinfo_kvm': kvm_getswapinfo.c:191: storage size of `swinfo' isn't known kvm_getswapinfo.c:194: invalid use of undefined type `struct swdevt' kvm_getswapinfo.c:194: dereferencing pointer to incomplete type kvm_getswapinfo.c: In function `nlist_init': kvm_getswapinfo.c:559: storage size of `swinfo' isn't known kvm_getswapinfo.c:561: invalid use of undefined type `struct swdevt' kvm_getswapinfo.c:561: dereferencing pointer to incomplete type *** Error code 1 /usr/include/vm/swap_pager.h: * from: @(#)swap_pager.h 7.1 (Berkeley) 12/5/90 * $FreeBSD: src/sys/vm/swap_pager.h,v 1.35 2002/12/15 19:17:57 dillon Ex= p $ struct swblock { struct swblock *swb_hnext; vm_object_t swb_object; <----- line 75 vm_pindex_t swb_index; int swb_count; daddr_t swb_pages[SWAP_META_PAGES]; }; //David Holm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message