xfs
[Top] [All Lists]

Re: make on xfs commands..

To: Nathan Scott <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: make on xfs commands..
From: Trevor Hurst <trev@xxxxxxx>
Date: Thu, 06 Jul 2000 14:58:03 -0700
Cc: linux-xfs@xxxxxxxxxxx
Organization: SGI
References: <3963A20A.7DAD6487@sgi.com> <3964F00B.C71393FE@thebarn.com> <10007070745.ZM21335@wobbly.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Nathan Scott wrote:
> 
> 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

 Ah... Yes, it does, however, I think the problem is
that it is of 0 byte length.. uggh.. Looks like I will wipe
out the tree and pull down a fresh one and try again. Not sure
how the header file got to be empty, does this seem strange?

 Thanks for the tips!

 Cheers,

 -- Trev


-- 
Trevor Hurst
Senior Systems Administrator               _ 
Server Operations/Corp. IS       ___  __ _(_)
Silicon Graphics                / __|/ _` | |   
Office Ph: 650.933.6144         \__ \ (_| | |
e-mail: trev@xxxxxxx            |___/\__, |_|
pager: trev_p@xxxxxxxxxxxxx          |___/   

--
We are Pentium of Borg. You will be approximated.
Division is futile!  -- Unknown

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