ceph: Update FUSE_USE_VERSION from 26 to 30.
PATCH 1/1 ceph: Update FUSE_USE_VERSION from 26 to 30.
When compiling, it met this error:
Quoted 4 lines
In file included from
/usr/local/include/fuse/fuse.h:19:0,from client/fuse_ll.cc:17:
/usr/local/include/fuse/fuse_common.h:474:4: error: #error only API version 30 or greater is supported
Update FUSE_USE_VERSION from 26 to 30.
--- fusetrace/fusetrace_ll.cc | 2 +- src/client/fuse_ll.cc | 2 +- src/rbd_fuse/rbd-fuse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
fusetrace/fusetrace_ll.cc +1 -1
@@ -11,7 +11,7 @@ gcc -Wall `pkg-config fuse --cflags --libs` -lulockmgr fusexmp_fh.c -o fusexmp_fh */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #ifdef HAVE_CONFIG_H #include <config.h>
src/client/fuse_ll.cc +1 -1
@@ -12,7 +12,7 @@ * */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #include <fuse/fuse.h> #include <fuse/fuse_lowlevel.h>
src/rbd_fuse/rbd-fuse.c +1 -1
@@ -1,7 +1,7 @@/* * rbd-fuse */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30#include <stdio.h> #include <stdlib.h>
Signature · 5 lines
1.8.3.rc1.44.gb387c77 Thanks! Jianpeng Ma
Quoted 6 lines · majianpeng
When compiling, it met this error:
Quoted 4 lines
In file included from
/usr/local/include/fuse/fuse.h:19:0,from client/fuse_ll.cc:17:
/usr/local/include/fuse/fuse_common.h:474:4: error: #error only API version 30 or greater is supportedUpdate
FUSE_USE_VERSIONfrom 26 to 30.
What platform was this on? It looks like this change builds on all the gitbuilders, but I'm worried that there are older distros we're missing that will lose out here.
Thanks!
sage
Quoted 53 lines
Signed-off-by Jianpeng Ma <[email protected]>--- fusetrace/fusetrace_ll.cc | 2 +- src/client/fuse_ll.cc | 2 +- src/rbd_fuse/rbd-fuse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)fusetrace/fusetrace_ll.cc +1
-1@@ -11,7 +11,7 @@ gcc -Wall `pkg-config fuse --cflags --libs` -lulockmgr fusexmp_fh.c -o fusexmp_fh */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #ifdef HAVE_CONFIG_H #include <config.h>src/client/fuse_ll.cc +1
-1@@ -12,7 +12,7 @@ * */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #include <fuse/fuse.h> #include <fuse/fuse_lowlevel.h>src/rbd_fuse/rbd-fuse.c +1
-1@@ -1,7 +1,7 @@/* * rbd-fuse */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30#include <stdio.h> #include <stdlib.h> Signature · 5 lines
1.8.3.rc1.44.gb387c77 Thanks! Jianpeng Ma
Quoted 11 lines · majianpeng
Quoted 6 lines
When compiling, it met this error:
Quoted 4 lines
In file included from
/usr/local/include/fuse/fuse.h:19:0,from client/fuse_ll.cc:17:
/usr/local/include/fuse/fuse_common.h:474:4: error: #error only API version 30 or greater is supportedUpdate
FUSE_USE_VERSIONfrom 26 to 30.What platform was this on? It looks like this change builds on all the gitbuilders, but I'm worried that there are older distros we're missing that will lose out here.
Because now i am study fuse, so i install the latest source code of fuse. When i compiled the ceph, i met this bug.
Thanks!
Jianpeng Ma
Quoted 49 lines
Thanks!
sageQuoted 45 lines
Signed-off-by Jianpeng Ma <[email protected]>--- fusetrace/fusetrace_ll.cc | 2 +- src/client/fuse_ll.cc | 2 +- src/rbd_fuse/rbd-fuse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)fusetrace/fusetrace_ll.cc +1
-1@@ -11,7 +11,7 @@ gcc -Wall `pkg-config fuse --cflags --libs` -lulockmgr fusexmp_fh.c -o fusexmp_fh */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #ifdef HAVE_CONFIG_H #include <config.h>src/client/fuse_ll.cc +1
-1@@ -12,7 +12,7 @@ * */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #include <fuse/fuse.h> #include <fuse/fuse_lowlevel.h>src/rbd_fuse/rbd-fuse.c +1
-1@@ -1,7 +1,7 @@/* * rbd-fuse */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30
Quoted 8 lines
Quoted 8 lines
src/rbd_fuse/rbd-fuse.c +0
-0#include <stdio.h> #include <stdlib.h> Signature · 5 lines
1.8.3.rc1.44.gb387c77 Thanks! Jianpeng Ma
Thanks!
Jianpeng Ma
Quoted 68 lines · majianpeng
Quoted 6 lines
When compiling, it met this error:
Quoted 4 lines
In file included from
/usr/local/include/fuse/fuse.h:19:0,from client/fuse_ll.cc:17:
/usr/local/include/fuse/fuse_common.h:474:4: error: #error only API version 30 or greater is supportedUpdate
FUSE_USE_VERSIONfrom 26 to 30.What platform was this on? It looks like this change builds on all the gitbuilders, but I'm worried that there are older distros we're missing that will lose out here.
Thanks!
sageQuoted 53 lines
Signed-off-by Jianpeng Ma <[email protected]>--- fusetrace/fusetrace_ll.cc | 2 +- src/client/fuse_ll.cc | 2 +- src/rbd_fuse/rbd-fuse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)fusetrace/fusetrace_ll.cc +1
-1@@ -11,7 +11,7 @@ gcc -Wall `pkg-config fuse --cflags --libs` -lulockmgr fusexmp_fh.c -o fusexmp_fh */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #ifdef HAVE_CONFIG_H #include <config.h>src/client/fuse_ll.cc +1
-1@@ -12,7 +12,7 @@ * */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30 #include <fuse/fuse.h> #include <fuse/fuse_lowlevel.h>src/rbd_fuse/rbd-fuse.c +1
-1@@ -1,7 +1,7 @@/* * rbd-fuse */ -#define FUSE_USE_VERSION 26 +#define FUSE_USE_VERSION 30#include <stdio.h> #include <stdlib.h> Signature · 5 lines
1.8.3.rc1.44.gb387c77 Thanks! Jianpeng Ma