"h.a." wrote:
> hi xfs-team,
>
> during compilation of the linux-kernel with your current xfs devel
> '09262000XFSdevel' the following
> errors occured.
>
>
> -----------------------
>
> make[2]: Entering directory `/usr/src/kernel/2.4.0-test5/linux/fs/xfs'
>
> gcc -D__KERNEL__ -I/usr/src/kernel/2.4.0-test5/linux/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8
> -mcpu=ev56 -Wa,-mev6 -fno-strict-aliasing -DMODULE -g3 -Wno-unused
> -Wno-parentheses -Wno-uninitialized -I. -funsigned-char -Wno-unknown-pragmas
> -c -o xfsrtstubs.o xfsrtstubs.c
>
> In file included from xfs.h:140,
>
> from xfsrtstubs.c:33:
>
> linux/xfs_globals.h:43: conflicting types for `xfs_panic_mask'
>
> xfs_error.h:139: previous declaration of `xfs_panic_mask'
>
> make[2]: *** [xfsrtstubs.o] Error 1
>
>
>
>
>
>
>
> imho i think i got this because of the unnecessary declaration
>
> extern __uint64_t xfs_panic_mask;
>
> at line 139 in file
>
> linux-2.4.0-test5/linux/fs/xfs/xfs_error.h
>
> . it doesn't make sense here.
Hmm I'm not sure if both are necessary, but for the moment I would
just change the type back to a uint64_t, or change xfs_globals.h to
__uint64_t.
That should get you rolling again.
>
>
>
>
> -----------------------
>
> and look in the file
>
> linux-2.4.0-test5/linux/include/linux/kdb.h
>
> at line 32. there is only a asm/kdb.h for i386 machines.
That's correct currently only the x86 architecture is supported by kdb.
You will need to make sure your .config has it turned off.
>
>
>
> -----------------------
>
> and in file
>
> linux-2.4.0-test5/linux/fs/xfs/xfs_error.c
>
> at line 232 the first parameter of function
>
> void
>
> xfs_cmn_err(uint64_t panic_tag, int level, xfs_mount_t *mp, char *fmt, ...)
>
> have to be __uint64 i think.
Ahh more type problems
Thanks we'll have to take a close look at this.
>
>
>
>
> have a nice day.
> andre
>
|