Re: XFS build error on m68k in 2.5.43

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Wed Oct 16 2002 - 06:31:03 EST


Geert Uytterhoeven writes:
>
> When compiling a kernel for m68k (with CONFIG_XFS_FS=m), I get this error:
>
> | make -f fs/xfs/Makefile
> | rm -f fs/xfs/built-in.o; m68k-linux-ar rcs fs/xfs/built-in.o
> | m68k-linux-gcc -Wp,-MD,fs/xfs/linux/.xfs_stats.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -fno-strength-reduce -ffixed-a2 -nostdinc -iwithprefix include -DMODULE -Ifs/xfs -funsigned-char -DKBUILD_BASENAME=xfs_stats -c -o fs/xfs/linux/xfs_stats.o fs/xfs/linux/xfs_stats.c
> | In file included from fs/xfs/xfs.h:70,
> | from fs/xfs/linux/xfs_stats.c:33:
> | fs/xfs/xfs_bmap_btree.h:662: badly punctuated parameter list in `#define'
> | fs/xfs/xfs_log.h:62: warning: `_lsn_cmp' defined but not used
> | make[2]: *** [fs/xfs/linux/xfs_stats.o] Error 1
> | make[1]: *** [fs/xfs] Error 2
> | make: *** [fs] Error 2
>
> Since it's not obvious to me what's wrong with that define, I'm asking here.

Second parameter of xfs_bmbt_disk_set_allf is 0 (zero). Try to replace
it with O.

>
> Gr{oetje,eeting}s,
>
> Geert

Nikita.

>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:27 EST