[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linux-2.4.20-xfs CVS:20021230



Looks like eric missed something.
Just define XFS_MAX_ERR_LEVEL to 7 in debug.c for now.


On Mon, 2002-12-30 at 23:58, Jeffrey E. Hundstad wrote:
> The CVS version as of 20021230 of the linux-2.4.20-xfs tree gives me 
> errors.  The .config is attached.  This same .config worked with the CVS 
> version of 20021130.
> 
> Errors from 20021230 CVS linux-2.4.20-xfs tree:
> 
> make[4]: Entering directory `/home/j3gum/src/linux/fs/xfs/support'
> gcc -D__KERNEL__ -I/home/j3gum/src/linux/include  -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
> -malign-functions=4   -I.. -nostdinc -iwithprefix include 
> -DKBUILD_BASENAME=debug  -c -o debug.o debug.c
> debug.c:45: `XFS_MAX_ERR_LEVEL' undeclared here (not in a function)
> debug.c:45: size of array `err_level' has non-integer type
> debug.c:46: warning: excess elements in array initializer
> debug.c:46: warning: (near initialization for `err_level')
> debug.c:46: warning: excess elements in array initializer
> debug.c:46: warning: (near initialization for `err_level')
> debug.c:47: warning: excess elements in array initializer
> debug.c:47: warning: (near initialization for `err_level')
> debug.c:47: warning: excess elements in array initializer
> debug.c:47: warning: (near initialization for `err_level')
> debug.c:47: warning: excess elements in array initializer
> debug.c:47: warning: (near initialization for `err_level')
> debug.c:48: warning: excess elements in array initializer
> debug.c:48: warning: (near initialization for `err_level')
> debug.c:48: warning: excess elements in array initializer
> debug.c:48: warning: (near initialization for `err_level')
> debug.c: In function `cmn_err':
> debug.c:89: `XFS_MAX_ERR_LEVEL' undeclared (first use in this function)
> debug.c:89: (Each undeclared identifier is reported only once
> debug.c:89: for each function it appears in.)
> debug.c: In function `icmn_err':
> debug.c:107: `XFS_MAX_ERR_LEVEL' undeclared (first use in this function)
> make[4]: *** [debug.o] Error 1
> make[4]: Leaving directory `/home/j3gum/src/linux/fs/xfs/support'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/home/j3gum/src/linux/fs/xfs/support'
> make[2]: *** [_subdir_support] Error 2
> make[2]: Leaving directory `/home/j3gum/src/linux/fs/xfs'
> make[1]: *** [_subdir_xfs] Error 2
> make[1]: Leaving directory `/home/j3gum/src/linux/fs'
> make: *** [_dir_fs] Error 2
> make: *** Waiting for unfinished jobs....
-- 
Russell Cattelan <cattelan@thebarn.com>