Nathan Scott wrote:
> hi,
>
> On Jun 9, 2:30pm, Kip Macy wrote:
> > Subject: compile error
> > I get the following error after having updated from CVS:
It's entirely possible the CVS tree is not quite in-sync with the ptools
tree.
I'll regenerate the tree from scratch... let me know if that clear up the
problem.
> >
> > 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
--
Russell Cattelan
cattelan@xxxxxxxxxxx
|