All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ceph: Update FUSE_USE_VERSION from 26 to 30.
@ 2013-08-01  3:19 majianpeng
  2013-08-05 20:26 ` Sage Weil
  0 siblings, 1 reply; 3+ messages in thread
From: majianpeng @ 2013-08-01  3:19 UTC (permalink / raw)
  To: sage; +Cc: ceph-devel

When compiling, it met this error:
>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.

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
---
 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(-)

diff --git a/fusetrace/fusetrace_ll.cc b/fusetrace/fusetrace_ll.cc
index eb7100a..7f2b843 100644
--- a/fusetrace/fusetrace_ll.cc
+++ b/fusetrace/fusetrace_ll.cc
@@ -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>
diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc
index 0812c9a..c82d004 100644
--- a/src/client/fuse_ll.cc
+++ b/src/client/fuse_ll.cc
@@ -12,7 +12,7 @@
  * 
  */
 
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
 
 #include <fuse/fuse.h>
 #include <fuse/fuse_lowlevel.h>
diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c
index 5a4bfe2..195cb76 100644
--- a/src/rbd_fuse/rbd-fuse.c
+++ b/src/rbd_fuse/rbd-fuse.c
@@ -1,7 +1,7 @@
 /*
  * rbd-fuse
  */
-#define FUSE_USE_VERSION 26
+#define FUSE_USE_VERSION 30
 
 #include <stdio.h>
 #include <stdlib.h>
-- 
1.8.3.rc1.44.gb387c77


Thanks!
Jianpeng Ma

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ceph: Update FUSE_USE_VERSION from 26 to 30.
  2013-08-01  3:19 [PATCH] ceph: Update FUSE_USE_VERSION from 26 to 30 majianpeng
@ 2013-08-05 20:26 ` Sage Weil
  2013-08-06  0:56   ` majianpeng
  0 siblings, 1 reply; 3+ messages in thread
From: Sage Weil @ 2013-08-05 20:26 UTC (permalink / raw)
  To: majianpeng; +Cc: ceph-devel

On Thu, 1 Aug 2013, majianpeng wrote:
> When compiling, it met this error:
> >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.

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

> 
> Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
> ---
>  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(-)
> 
> diff --git a/fusetrace/fusetrace_ll.cc b/fusetrace/fusetrace_ll.cc
> index eb7100a..7f2b843 100644
> --- a/fusetrace/fusetrace_ll.cc
> +++ b/fusetrace/fusetrace_ll.cc
> @@ -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>
> diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc
> index 0812c9a..c82d004 100644
> --- a/src/client/fuse_ll.cc
> +++ b/src/client/fuse_ll.cc
> @@ -12,7 +12,7 @@
>   * 
>   */
>  
> -#define FUSE_USE_VERSION 26
> +#define FUSE_USE_VERSION 30
>  
>  #include <fuse/fuse.h>
>  #include <fuse/fuse_lowlevel.h>
> diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c
> index 5a4bfe2..195cb76 100644
> --- a/src/rbd_fuse/rbd-fuse.c
> +++ b/src/rbd_fuse/rbd-fuse.c
> @@ -1,7 +1,7 @@
>  /*
>   * rbd-fuse
>   */
> -#define FUSE_USE_VERSION 26
> +#define FUSE_USE_VERSION 30
>  
>  #include <stdio.h>
>  #include <stdlib.h>
> -- 
> 1.8.3.rc1.44.gb387c77
> 
> 
> Thanks!
> Jianpeng Ma

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: [PATCH] ceph: Update FUSE_USE_VERSION from 26 to 30.
  2013-08-05 20:26 ` Sage Weil
@ 2013-08-06  0:56   ` majianpeng
  0 siblings, 0 replies; 3+ messages in thread
From: majianpeng @ 2013-08-06  0:56 UTC (permalink / raw)
  To: sage; +Cc: ceph-devel

>On Thu, 1 Aug 2013, majianpeng wrote:
>> When compiling, it met this error:
>> >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.
>
>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
>
>Thanks!
>sage
>
>> 
>> Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
>> ---
>>  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(-)
>> 
>> diff --git a/fusetrace/fusetrace_ll.cc b/fusetrace/fusetrace_ll.cc
>> index eb7100a..7f2b843 100644
>> --- a/fusetrace/fusetrace_ll.cc
>> +++ b/fusetrace/fusetrace_ll.cc
>> @@ -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>
>> diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc
>> index 0812c9a..c82d004 100644
>> --- a/src/client/fuse_ll.cc
>> +++ b/src/client/fuse_ll.cc
>> @@ -12,7 +12,7 @@
>>   * 
>>   */
>>  
>> -#define FUSE_USE_VERSION 26
>> +#define FUSE_USE_VERSION 30
>>  
>>  #include <fuse/fuse.h>
>>  #include <fuse/fuse_lowlevel.h>
>> diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c
>> index 5a4bfe2..195cb76 100644
>> --- a/src/rbd_fuse/rbd-fuse.c
>> +++ b/src/rbd_fuse/rbd-fuse.c
>> @@ -1,7 +1,7 @@
>>  /*
>>   * rbd-fuse
>>   */
>> -#define FUSE_USE_VERSION 26
>> +#define FUSE_USE_VERSION 30
>>  
>>  #include <stdio.h>
>>  #include <stdlib.h>
>> -- 
>> 1.8.3.rc1.44.gb387c77
>> 
>> 
>> Thanks!
>> Jianpeng Ma
Thanks!
Jianpeng Ma
>On Thu, 1 Aug 2013, majianpeng wrote:
>> When compiling, it met this error:
>> >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.
>
>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
>
>> 
>> Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
>> ---
>>  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(-)
>> 
>> diff --git a/fusetrace/fusetrace_ll.cc b/fusetrace/fusetrace_ll.cc
>> index eb7100a..7f2b843 100644
>> --- a/fusetrace/fusetrace_ll.cc
>> +++ b/fusetrace/fusetrace_ll.cc
>> @@ -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>
>> diff --git a/src/client/fuse_ll.cc b/src/client/fuse_ll.cc
>> index 0812c9a..c82d004 100644
>> --- a/src/client/fuse_ll.cc
>> +++ b/src/client/fuse_ll.cc
>> @@ -12,7 +12,7 @@
>>   * 
>>   */
>>  
>> -#define FUSE_USE_VERSION 26
>> +#define FUSE_USE_VERSION 30
>>  
>>  #include <fuse/fuse.h>
>>  #include <fuse/fuse_lowlevel.h>
>> diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c
>> index 5a4bfe2..195cb76 100644
>> --- a/src/rbd_fuse/rbd-fuse.c
>> +++ b/src/rbd_fuse/rbd-fuse.c
>> @@ -1,7 +1,7 @@
>>  /*
>>   * rbd-fuse
>>   */
>> -#define FUSE_USE_VERSION 26
>> +#define FUSE_USE_VERSION 30
>>  
>>  #include <stdio.h>
>>  #include <stdlib.h>
>> -- 
>> 1.8.3.rc1.44.gb387c77
>> 
>> 
>> Thanks!
>> Jianpeng Ma

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-06  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01  3:19 [PATCH] ceph: Update FUSE_USE_VERSION from 26 to 30 majianpeng
2013-08-05 20:26 ` Sage Weil
2013-08-06  0:56   ` majianpeng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.