From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Re: [PATCH] latest gfs2-nmw headers break userland build
Date: Tue, 29 May 2007 10:03:07 +0100 [thread overview]
Message-ID: <1180429387.25918.49.camel@quoit> (raw)
In-Reply-To: <46529508.2050006@ubuntu.com>
Hi,
This is now in the -nmw git tree along with Dave's patch for the DLM
issue. Thanks for the patch, and as you`ve probably gathered, I'm back
from my holiday now,
Steve.
On Tue, 2007-05-22 at 09:00 +0200, Fabio Massimo Di Nitto wrote:
> Hi Steven,
>
> 2e8701a15cd6f7c95e74d6660615a69b09e453ef commit breaks libgfs2 build:
>
> gcc -Wall -I/usr/src/ubuntu/mypkgs/rhcluster/cluster/config -DHELPER_PROGRAM
> -D_FILE_OFFSET_BITS=64 -DGFS2_RELEASE_NAME=\"2.0\" -ggdb -I/usr/include
> -I../include -I../libgfs2 -c -o gfs2hex.o gfs2hex.c
> In file included from hexedit.h:22,
> from gfs2hex.c:27:
> /usr/include/linux/gfs2_ondisk.h:505: error: expected specifier-qualifier-list
> before ?u32?
> make[2]: *** [gfs2hex.o] Error 1
> make[2]: Leaving directory `/usr/src/ubuntu/mypkgs/rhcluster/cluster/gfs2/edit'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/ubuntu/mypkgs/rhcluster/cluster/gfs2'
> make: *** [gfs2] Error 2
>
> Patch in attachment fixes the problem.
>
> Fabio
>
> plain text document attachment (gfs2_ondisk.diff)
> diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
> index 028f981..9ecf929 100644
> --- a/include/linux/gfs2_ondisk.h
> +++ b/include/linux/gfs2_ondisk.h
> @@ -502,7 +502,7 @@ struct gfs2_quota_change_host {
>
> struct gfs2_quota_lvb {
> __be32 qb_magic;
> - u32 __pad;
> + __u32 __pad;
> __be64 qb_limit; /* Hard limit of # blocks to alloc */
> __be64 qb_warn; /* Warn user when alloc is above this # */
> __be64 qb_value; /* Current # blocks allocated */
prev parent reply other threads:[~2007-05-29 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-22 7:00 [Cluster-devel] [PATCH] latest gfs2-nmw headers break userland build Fabio Massimo Di Nitto
2007-05-29 9:03 ` Steven Whitehouse [this message]
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=1180429387.25918.49.camel@quoit \
--to=swhiteho@redhat.com \
/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 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.