util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Moritz Barsnick <barsnick@gmx.net>
To: util-linux list <util-linux@vger.kernel.org>
Subject: Re: util-linux-2.22: backward compatibility of wdctl
Date: Wed, 5 Sep 2012 17:22:13 +0200	[thread overview]
Message-ID: <20120905152213.GA19281@sunshine.barsnick.net> (raw)
In-Reply-To: <504755AC.9080008@bernhard-voelker.de>

Hi Bernhard,
[thanks for CC'ing me, as I'm not subscribed]

On Wed, Sep 05, 2012 at 15:37:48 +0200, Bernhard Voelker wrote:
> You can use a crude hack to work around building wdctl:
>   $ touch sys-utils/wdctl.o wdctl ; make

Fine for me for the time being. I just wanted to point this out because
it will break people's (and distributions') builds.

> but this won't make you happy. You'll most propably hit other
> problems. This is from my SLES 10.4 system:

I see the same thing as you in partx, of course.

> Temporarily defining __user to nothing seems to work:
>   $ make CFLAGS='-D__user='

Good point. I figured out that this is supposed to be happening in
<linux/compiler.h>, but even including that didn't help. At least partx
build can be disabled (--disable-partx).

> ... although this is another bad workaround. ;-(

Looking forward to 2.22.1. :-)

Thanks,
Moritz

  reply	other threads:[~2012-09-05 15:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-05 11:27 util-linux-2.22: backward compatibility of wdctl Moritz Barsnick
2012-09-05 13:37 ` Bernhard Voelker
2012-09-05 15:22   ` Moritz Barsnick [this message]
2012-09-07 16:20 ` Karel Zak

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=20120905152213.GA19281@sunshine.barsnick.net \
    --to=barsnick@gmx.net \
    --cc=util-linux@vger.kernel.org \
    /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).