xfs
[Top] [All Lists]

Re: compile error

To: Kip Macy <kip@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
Subject: Re: compile error
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Jun 2000 14:35:44 -0500
In-reply-to: Kip Macy <kip@eventdriven.org> "compile error" (Jun 9, 2:30pm)
References: <39407308.471600BB@eventdriven.org>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi,

On Jun 9,  2:30pm, Kip Macy wrote:
> Subject: compile error
> I get the following error after having updated from CVS:
> 
> make -C xfs
> make[2]: Entering directory `/usr/src/SGI/linux-2.3-xfs/linux/fs/xfs'
> gcc -D__KERNEL__ -I/usr/src/SGI/linux-2.3-xfs/linux/include -D__SMP__
> -Wall -Wstrict-prototypes -O2 -pipe   -DCPU=586  -fno-strict-aliasing
> -pg -g3 -Wno-unused  -Wno-parentheses -Wno-uninitialized -I./linux
> -I./pseudo-inc -I. -D_KERNEL -funsigned-char  -Wno-unknown-pragmas  -c
> -o xfs_alloc.o xfs_alloc.c
> xfs_alloc.c: In function `xfs_alloc_ag_vextent':
> xfs_alloc.c:786: `XFSSTATS' undeclared (first use in this function)
> xfs_alloc.c:786: (Each undeclared identifier is reported only once
> xfs_alloc.c:786: for each function it appears in.)
> xfs_alloc.c: In function `xfs_free_ag_extent':
> xfs_alloc.c:1950: `XFSSTATS' undeclared (first use in this function)
> make[2]: *** [xfs_alloc.o] Error 1
>-- End of excerpt from Kip Macy

you must have caught the tree in an inconsistent state somehow
(although this change was checked in days ago) ... XFSSTATS is
now defined in fs/xfs/xfs_types.h and xfs_alloc.c definately
includes "xfs_types.h" in the tree I'm working on.

check your xfs_types.h has XFSSTATS in it ... if not try getting
a fresh copy of that file (and perhaps others? if you have further
problems).  top of tree as of this morning definately compiles.

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>