compile error for nfs-ganesha-2.8.1.2-0.1.el7.src.rpm on CentOS7
by boisdesdames@gmail.com
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