Hello,
I was trying to get linux-xfs (kernel) to compile
on alpha (Sable/EV5 arch) and I encountered a compilation error :
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -I.. -funsigned-char -nostdinc
-iwithprefix include -DKBUILD_BASENAME=xfs_lrw -c -o xfs_lrw.o xfs_lrw.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-xfs/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -I.. -funsigned-char -nostdinc
-iwithprefix include -DKBUILD_BASENAME=xfs_super -c -o xfs_super.o xfs_super.c
xfs_super.c:859: unknown field `sync_fs' specified in initializer
xfs_super.c:859: warning: initialization from incompatible pointer type
make[4]: *** [xfs_super.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20-xfs/fs/xfs/linux'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.20-xfs/fs/xfs/linux'
make[2]: *** [_subdir_linux] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-xfs/fs/xfs'
make[1]: *** [_subdir_xfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-xfs/fs'
make: *** [_dir_fs] Error 2
Please CC me as I'm not on the list.
Regards,
François
|