From owner-freebsd-current Sat Jan 4 6:28:47 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 C56A437B401 for ; Sat, 4 Jan 2003 06:28:45 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E538543E4A for ; Sat, 4 Jan 2003 06:28:44 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h04ESdF4010108; Sat, 4 Jan 2003 15:28:39 +0100 (CET) (envelope-from phk@freebsd.org) To: David Holm Cc: current@freebsd.org Subject: Re: Compilation failure on x86 From: phk@freebsd.org In-Reply-To: Your message of "Sat, 04 Jan 2003 13:51:42 +0100." <200301041351.43005.david@realityrift.com> Date: Sat, 04 Jan 2003 15:28:39 +0100 Message-ID: <10107.1041690519@critter.freebsd.dk> 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 In message <200301041351.43005.david@realityrift.com>, David Holm writes: >Hi, >I tried upgrading this morning but compilation fails with the following error >(I waited a while and cvsup'd again in case someone was commiting, didn't >help) It seems like your #includes are not in sync with your userland, did you use "make buildworld" or did you simple "make all" in /usr/src ? If you did the latter you need to do "make installincludes" first. Poul-Henning > >===> lib/libkvm >Warning: Object directory not changed from original /usr/src/lib/libkvm >gcc -O2 -pipe -march=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm -c >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 Exp $ > >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 > > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message