From: Eric Sandeen <sandeen@redhat.com>
To: Steven Haigh <netwiz@crc.id.au>,
Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs-progs 4.6 won't build on CentOS6
Date: Thu, 23 Jun 2016 22:22:06 -0500 [thread overview]
Message-ID: <d08ce5a1-d74f-40be-54ae-4cadb56fd391@redhat.com> (raw)
In-Reply-To: <3864856543476b0f69224f6b6be3ed26@crc.id.au>
On 6/23/16 8:49 PM, Steven Haigh wrote:
> I've tried to build the new tools for CentOS 6 / Scientific Linux 6 / RHEL 6 etc.
>
> During the build process, I see:
> cmds-fi-du.c: In function 'du_calc_file_space':
> cmds-fi-du.c:330: error: 'FIEMAP_EXTENT_SHARED' undeclared (first use in this function)
> cmds-fi-du.c:330: error: (Each undeclared identifier is reported only once
> cmds-fi-du.c:330: error: for each function it appears in.)
> make: *** [cmds-fi-du.o] Error 1
>
> I'm guessing this is probably due to a different GCC version used? I'm guessing this is a simple fix for someone with knowhow... :)
Fair warning, the btrfs.ko in centos6 is positively ancient, and it
won't be updated.
Just in case that matters to you ... not sure if you just want to
build there, or use actually btrfs under a centos6 kernel....
-Eric
next prev parent reply other threads:[~2016-06-24 3:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-24 1:49 btrfs-progs 4.6 won't build on CentOS6 Steven Haigh
2016-06-24 1:58 ` Jeff Mahoney
2016-06-24 3:22 ` Eric Sandeen [this message]
2016-06-24 3:26 ` Qu Wenruo
2016-06-24 3:28 ` Steven Haigh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d08ce5a1-d74f-40be-54ae-4cadb56fd391@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=netwiz@crc.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).