compile error for nfs-ganesha-2.8.1.2-0.1.el7.src.rpm on CentOS7
Hi, I try to recompile package nfs-ganesha-2.8.1.2-0.1.el7.src.rpm downloaded from . My server has Nautilus 14.2.22 libraries installed. I get the following errors: [root@namespace tmp]# rpmbuild --rebuild /tmp/nfs-ganesha-2.8.1.2-0.1.el7.src.rpm .... Scanning dependencies of target fsalrgw [ 85%] Building C object FSAL/FSAL_RGW/CMakeFiles/fsalrgw.dir/up.c.o [ 85%] Building C object FSAL/FSAL_RGW/CMakeFiles/fsalrgw.dir/main.c.o [ 85%] Building C object FSAL/FSAL_RGW/CMakeFiles/fsalrgw.dir/export.c.o /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c: In function 'lookup_path': /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:160:6: error: too few arguments to function 'rgw_lookup' &rgw_dh, RGW_LOOKUP_FLAG_NONE); ^ In file included from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/internal.h:45:0, from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:38: /usr/include/rados/rgw_file.h:103:5: note: declared here int rgw_lookup(struct rgw_fs *rgw_fs, ^ /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:166:6: warning: passing argument 5 of 'rgw_lookup' makes pointer from integer without a cast [enabled by default] &rgw_fh, RGW_LOOKUP_FLAG_RCB); ^ In file included from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/internal.h:45:0, from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:38: /usr/include/rados/rgw_file.h:103:5: note: expected 'struct stat *' but argument is of type 'int' int rgw_lookup(struct rgw_fs *rgw_fs, ^ /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:166:6: error: too few arguments to function 'rgw_lookup' &rgw_fh, RGW_LOOKUP_FLAG_RCB); ^ In file included from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/internal.h:45:0, from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:38: /usr/include/rados/rgw_file.h:103:5: note: declared here int rgw_lookup(struct rgw_fs *rgw_fs, .... Any idea ? Best regards, Patrick
That version of Ceph is too new for Ganesha 2.8.1.2. The newest version of Ceph that would work with that version of Ganesha is 14.2.2. Try Ganesha 3.5, that supports newer Ceph. Daniel On 10/19/21 11:17 AM, boisdesdames@gmail.com wrote:
Hi, I try to recompile package nfs-ganesha-2.8.1.2-0.1.el7.src.rpm downloaded from . My server has Nautilus 14.2.22 libraries installed.
I get the following errors:
[root@namespace tmp]# rpmbuild --rebuild /tmp/nfs-ganesha-2.8.1.2-0.1.el7.src.rpm .... Scanning dependencies of target fsalrgw [ 85%] Building C object FSAL/FSAL_RGW/CMakeFiles/fsalrgw.dir/up.c.o [ 85%] Building C object FSAL/FSAL_RGW/CMakeFiles/fsalrgw.dir/main.c.o [ 85%] Building C object FSAL/FSAL_RGW/CMakeFiles/fsalrgw.dir/export.c.o /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c: In function 'lookup_path': /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:160:6: error: too few arguments to function 'rgw_lookup' &rgw_dh, RGW_LOOKUP_FLAG_NONE); ^ In file included from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/internal.h:45:0, from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:38: /usr/include/rados/rgw_file.h:103:5: note: declared here int rgw_lookup(struct rgw_fs *rgw_fs, ^ /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:166:6: warning: passing argument 5 of 'rgw_lookup' makes pointer from integer without a cast [enabled by default] &rgw_fh, RGW_LOOKUP_FLAG_RCB); ^ In file included from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/internal.h:45:0, from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:38: /usr/include/rados/rgw_file.h:103:5: note: expected 'struct stat *' but argument is of type 'int' int rgw_lookup(struct rgw_fs *rgw_fs, ^ /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:166:6: error: too few arguments to function 'rgw_lookup' &rgw_fh, RGW_LOOKUP_FLAG_RCB); ^ In file included from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/internal.h:45:0, from /root/rpmbuild/BUILD/nfs-ganesha-2.8.1.2/FSAL/FSAL_RGW/export.c:38: /usr/include/rados/rgw_file.h:103:5: note: declared here int rgw_lookup(struct rgw_fs *rgw_fs, ....
Any idea ?
Best regards, Patrick _______________________________________________ Devel mailing list -- devel@lists.nfs-ganesha.org To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org
participants (2)
-
boisdesdames@gmail.com -
Daniel Gryniewicz