In message <[EMAIL PROTECTED]>, 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 [EMAIL PROTECTED]
>with "unsubscribe freebsd-current" in the body of the message
>
>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to