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

go get error: could not determine kind of name for C.RBD_FEATURES_DEFAULT #78

Closed
iawia002 opened this issue Nov 6, 2018 · 1 comment

Comments

@iawia002
Copy link

iawia002 commented Nov 6, 2018

root@9f755bc45121:/go# go get github.com/ceph/go-ceph
# github.com/ceph/go-ceph/rbd
src/github.com/ceph/go-ceph/rbd/rbd.go:32:23: could not determine kind of name for C.RBD_FEATURES_DEFAULT
src/github.com/ceph/go-ceph/rbd/rbd.go:30:28: could not determine kind of name for C.RBD_FEATURE_DATA_POOL
src/github.com/ceph/go-ceph/rbd/rbd.go:952:22: could not determine kind of name for C.rbd_trash_image_info_t
src/github.com/ceph/go-ceph/rbd/rbd.go:948:5: could not determine kind of name for C.rbd_trash_list
src/github.com/ceph/go-ceph/rbd/rbd.go:969:2: could not determine kind of name for C.rbd_trash_list_cleanup
src/github.com/ceph/go-ceph/rbd/rbd.go:264:18: could not determine kind of name for C.rbd_trash_move
src/github.com/ceph/go-ceph/rbd/rbd.go:979:18: could not determine kind of name for C.rbd_trash_remove
src/github.com/ceph/go-ceph/rbd/rbd.go:990:18: could not determine kind of name for C.rbd_trash_restore

OS: Debian stretch
golang: 1.10.3
libcephfs-dev, librbd-dev, librados-dev version: 10.2.5-7.2

I'm not sure if this is a version issue.

@iawia002
Copy link
Author

iawia002 commented Nov 6, 2018

after upgrade libcephfs-dev to 12.2.8, this issue fixed.

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