From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xensource.com
Subject: lib/blktaplib.h:199:0: error: "WRITE" redefined
Date: Wed, 12 Jan 2011 19:40:52 +0100 [thread overview]
Message-ID: <20110112184052.GA11291@aepfle.de> (raw)
Hello,
today I tried to build xen-unstable against the upcoming openSuSE 11.4.
It failed with this error:
cc1: warnings being treated as errors
In file included from tapdisk.h:62:0,
from blk_linux.c:4:
../lib/blktaplib.h:199:0: error: "WRITE" redefined
/usr/include/linux/fs.h:150:0: note: this is the location of the previous definition
make[5]: *** [blk_linux.o] Error 1
I see WRITE and READ defined in two places, perhaps another header already has
suitable defines for the fds[] array access.
./tools/blktap/lib/blktaplib.h:199:#define WRITE 1
./tools/blktap2/include/blktaplib.h:193:#define WRITE 1
Olaf
next reply other threads:[~2011-01-12 18:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 18:40 Olaf Hering [this message]
2011-03-25 16:28 ` lib/blktaplib.h:199:0: error: "WRITE" redefined Daniele Palumbo
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=20110112184052.GA11291@aepfle.de \
--to=olaf@aepfle.de \
--cc=xen-devel@lists.xensource.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.