Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error of zfs in vdev_disk.c #130

Open
imraven opened this issue Oct 10, 2011 · 0 comments
Open

compile error of zfs in vdev_disk.c #130

imraven opened this issue Oct 10, 2011 · 0 comments

Comments

@imraven
Copy link

imraven commented Oct 10, 2011

Hello and thank you for taking the time to read this.

Distribution: Ubuntu 11.04 AMD64
Kernel: Linux 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
SPL/ZFS version: latest git clone as of 2011-10-10

SPL compiles fine but the ZFS package does not. After ./configure I run 'make' to which the following error is produced:

make[2]: Entering directory `/root/src/zfs/module'
make -C /usr/src/linux-headers-2.6.38-11-generic SUBDIRS=`pwd`  modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
  CC [M]  /root/src/zfs/module/zfs/../../module/zfs/vdev_disk.o
/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.c: In function ‘vdev_disk_open’:
/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.c:126:2: error: implicit declaration of function ‘open_bdev_excl’
/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.c:126:7: warning: assignment makes pointer from integer without a cast
/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.c: In function ‘vdev_disk_close’:
/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.c:161:3: error: implicit declaration of function ‘close_bdev_excl’
/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.c: In function ‘vdev_disk_read_rootlabel’:
/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.c:605:7: warning: assignment makes pointer from integer without a cast
make[5]: *** [/root/src/zfs/module/zfs/../../module/zfs/vdev_disk.o] Error 1
make[4]: *** [/root/src/zfs/module/zfs] Error 2
make[3]: *** [_module_/root/src/zfs/module] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/src/zfs/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/zfs'
make: *** [all] Error 2

Please let me know if there is any other information I can provide.

Thanks,

Brandon

PS: The reason I'm trying to use a git clone is because I'm having an issue running the rollback command. It keeps giving me 'dataset is busy' error. I read on another thread that updating to the latest git solves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant