xfs
[Top] [All Lists]

Re: make on xfs commands..

To: Trevor Hurst <trev@xxxxxxx>
Subject: Re: make on xfs commands..
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Jul 2000 07:45:32 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Russell Cattelan <cattelan@xxxxxxxxxxx> "Re: make on xfs commands.." (Jul 7, 6:50am)
References: <3963A20A.7DAD6487@xxxxxxx> <3964F00B.C71393FE@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi,

On Jul 7,  6:50am, Russell Cattelan wrote:
> Subject: Re: make on xfs commands..
> Trevor Hurst wrote:
> > 
> >  Any ideas what might be wrong?
> 
> No clue
> Try updating your tree.
> 
> I'll forward this to the list... see if anybody else might have an idea.
> 
> >
> > cc -DXFS_BIG_FILES=1 -DXFS_BIG_FILESYSTEMS=1 -D_KMEMUSER -DSTATIC=static
> > -DSIM -I../sim/src -I.. -I../../../linux/include
> > -I../../../linux/fs/xfs/ -I../../../linux/fs/xfs/pseudo-inc -D_KERNEL
> > -funsigned-char   -c xfs_mkfs.c -o xfs_mkfs.o
> > xfs_mkfs.c:351: `MAXTRRES_B9_I8_D9_V1' undeclared here (not in a
> > function)
> > xfs_mkfs.c:351: initializer element for `max_trres_v1[0][0]' is not
> > constant
> > xfs_mkfs.c:352: `MAXTRRES_B10_I8_D10_V1' undeclared here (not in a
> > function)
> > xfs_mkfs.c:352: initializer element for `max_trres_v1[1][0]' is not
> > constant
> > xfs_mkfs.c:352: `MAXTRRES_B10_I9_D10_V1' undeclared here (not in a
> > function)
> > xfs_mkfs.c:352: initializer element for `max_trres_v1[1][1]' is not
> > constant
> > xfs_mkfs.c:353: `MAXTRRES_B11_I8_D11_V1' undeclared here (not in a
> > function)
> >

these #defines come from maxtrres.h which should exist in
your cmd/xfs/mkfs directory at the time you're building xfs_mkfs.c
- maxtrres.h is generated using cmd/xfs/maxtrres/xfs_maxtrres,
so I guess you'd see these errors if that header hadn't been
generated or if you didn't have the #include "maxtrres.h" line at
the top of xfs_mkfs.c ... does the header exist?

cheers.

-- 
Nathan

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