[kido@Arch64] $ uname -a
Linux Arch64 2.6.36-ARCH #1 SMP PREEMPT Mon Jan 24 18:41:03 CET 2011 x86_64 AMD Phenom(tm) II X4 965 Processor AuthenticAMD GNU/Linux
When compiling zfs from master, there's an error:
CC [M] /home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_label.o
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c: In function ‘vdev_disk_physio_completion’:
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c:261:38: error: ‘BIO_RW_SYNC’ undeclared (first use in this function)
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c:261:38: note: each undeclared identifier is reported only once for each function it appears in
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c: In function ‘__vdev_disk_physio’:
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c:398:24: error: ‘BIO_RW_SYNC’ undeclared (first use in this function)
make[5]: *** [/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.o] Error 1
According to my research, that's because there's nothing about "BIO_RW_SYNC" in "configure" file, only about "BIO_RW_SYNCIO".
[kido@Arch64] $ uname -a
Linux Arch64 2.6.36-ARCH #1 SMP PREEMPT Mon Jan 24 18:41:03 CET 2011 x86_64 AMD Phenom(tm) II X4 965 Processor AuthenticAMD GNU/Linux
When compiling zfs from master, there's an error:
CC [M] /home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_label.o
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c: In function ‘vdev_disk_physio_completion’:
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c:261:38: error: ‘BIO_RW_SYNC’ undeclared (first use in this function)
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c:261:38: note: each undeclared identifier is reported only once for each function it appears in
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c: In function ‘__vdev_disk_physio’:
/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.c:398:24: error: ‘BIO_RW_SYNC’ undeclared (first use in this function)
make[5]: *** [/home/kido/source/zfs/zfs-kqi-git/src/zfs-build/module/zfs/../../module/zfs/vdev_disk.o] Error 1
According to my research, that's because there's nothing about "BIO_RW_SYNC" in "configure" file, only about "BIO_RW_SYNCIO".