All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs-progs 4.1 failed to compile on CentOS 6.x
@ 2015-06-30  8:59 Amr El-Sharnoby
  2015-06-30 12:40 ` David Sterba
  0 siblings, 1 reply; 4+ messages in thread
From: Amr El-Sharnoby @ 2015-06-30  8:59 UTC (permalink / raw)
  To: linux-btrfs

Hi,
Compilation of btrfs-progs 4.1 failed on CentOS 6.6 with latest
updated packages with the folllowing error,
In file included from cmds-inspect.c:28:
send-utils.h:97: error: wrong number of arguments specified for
‘deprecated’ attribute
send-utils.h:99: error: wrong number of arguments specified for
‘deprecated’ attribute
make: *** [cmds-inspect.o] Error 1

Previous version compile successfully.

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

* Re: btrfs-progs 4.1 failed to compile on CentOS 6.x
  2015-06-30  8:59 btrfs-progs 4.1 failed to compile on CentOS 6.x Amr El-Sharnoby
@ 2015-06-30 12:40 ` David Sterba
  2015-06-30 12:43   ` Amr El-Sharnoby
  0 siblings, 1 reply; 4+ messages in thread
From: David Sterba @ 2015-06-30 12:40 UTC (permalink / raw)
  To: Amr El-Sharnoby; +Cc: linux-btrfs

On Tue, Jun 30, 2015 at 11:59:50AM +0300, Amr El-Sharnoby wrote:
> Compilation of btrfs-progs 4.1 failed on CentOS 6.6 with latest
> updated packages with the folllowing error,
> In file included from cmds-inspect.c:28:
> send-utils.h:97: error: wrong number of arguments specified for
> ‘deprecated’ attribute
> send-utils.h:99: error: wrong number of arguments specified for
> ‘deprecated’ attribute
> make: *** [cmds-inspect.o] Error 1
> 
> Previous version compile successfully.

What's the version of gcc ? It works on my test setup with 4.5 and
afaics this is the first version where the optional argument appeared.

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

* Re: btrfs-progs 4.1 failed to compile on CentOS 6.x
  2015-06-30 12:40 ` David Sterba
@ 2015-06-30 12:43   ` Amr El-Sharnoby
  2015-06-30 13:09     ` David Sterba
  0 siblings, 1 reply; 4+ messages in thread
From: Amr El-Sharnoby @ 2015-06-30 12:43 UTC (permalink / raw)
  To: dsterba, Amr El-Sharnoby, linux-btrfs

rpm -q gcc
gcc-4.4.7-11.el6.x86_64

It's the latest available.

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

* Re: btrfs-progs 4.1 failed to compile on CentOS 6.x
  2015-06-30 12:43   ` Amr El-Sharnoby
@ 2015-06-30 13:09     ` David Sterba
  0 siblings, 0 replies; 4+ messages in thread
From: David Sterba @ 2015-06-30 13:09 UTC (permalink / raw)
  To: Amr El-Sharnoby; +Cc: linux-btrfs

On Tue, Jun 30, 2015 at 03:43:49PM +0300, Amr El-Sharnoby wrote:
> rpm -q gcc
> gcc-4.4.7-11.el6.x86_64
> 
> It's the latest available.

Ok, I'll drop the optional argument. Fixed in git and will be released
in 4.1.1.

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

end of thread, other threads:[~2015-06-30 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30  8:59 btrfs-progs 4.1 failed to compile on CentOS 6.x Amr El-Sharnoby
2015-06-30 12:40 ` David Sterba
2015-06-30 12:43   ` Amr El-Sharnoby
2015-06-30 13:09     ` David Sterba

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.