On Thu, 2003-05-01 at 13:22, Paul Blazejowski wrote:
> Hi Steve,
>
> I just tried to compile the latest merge and i get this error:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -I.
> -funsigned-char -nostdinc -iwithprefix include
> -DKBUILD_BASENAME=xfs_dmops -c -o xfs_dmops.o xfs_dmops.c
> xfs_dmops.c:35: parse error before "xfs_dmcore_xfs"
> xfs_dmops.c:35: warning: type defaults to `int' in declaration of
> `xfs_dmcore_xfs'
> xfs_dmops.c:36: field name not in record or union initializer
> xfs_dmops.c:36: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:36: `xfs_send_data_t' undeclared here (not in a function)
> xfs_dmops.c:36: initializer element is not constant
> xfs_dmops.c:36: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:36: parse error before "fs_nosys"
> xfs_dmops.c:37: field name not in record or union initializer
> xfs_dmops.c:37: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:37: `xfs_send_mmap_t' undeclared here (not in a function)
> xfs_dmops.c:37: warning: excess elements in scalar initializer
> xfs_dmops.c:37: warning: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:37: parse error before "fs_noerr"
> xfs_dmops.c:38: field name not in record or union initializer
> xfs_dmops.c:38: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:38: `xfs_send_destroy_t' undeclared here (not in a function)
> xfs_dmops.c:38: warning: excess elements in scalar initializer
> xfs_dmops.c:38: warning: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:38: parse error before "fs_nosys"
> xfs_dmops.c:39: field name not in record or union initializer
> xfs_dmops.c:39: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:39: `xfs_send_namesp_t' undeclared here (not in a function)
> xfs_dmops.c:39: warning: excess elements in scalar initializer
> xfs_dmops.c:39: warning: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:39: parse error before "fs_nosys"
> xfs_dmops.c:40: field name not in record or union initializer
> xfs_dmops.c:40: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:40: `xfs_send_unmount_t' undeclared here (not in a function)
> xfs_dmops.c:40: warning: excess elements in scalar initializer
> xfs_dmops.c:40: warning: (near initialization for `xfs_dmcore_xfs')
> xfs_dmops.c:40: parse error before "fs_noval"
> xfs_dmops.c:41: warning: data definition has no type or storage class
> make[3]: *** [xfs_dmops.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.21/fs/xfs'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.21/fs/xfs'
> make[1]: *** [_subdir_xfs] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.21/fs'
> make: *** [_dir_fs] Error 2
>
> Hope there is an easy fix...
>
> Regards,
>
> Paul
Actually, I think you got bitten by the header file change which came
shortly after that, I got exactly the same error here. It is fixed now,
and if it is not on oss now, will be within the hour. Try another cvs
update.
Steve
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|