Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2003 13:51:42 +0100
From:      David Holm <david@realityrift.com>
To:        current@freebsd.org
Subject:   Compilation failure on x86
Message-ID:  <200301041351.43005.david@realityrift.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301041351.43005.david>