* lib/blktaplib.h:199:0: error: "WRITE" redefined
@ 2011-01-12 18:40 Olaf Hering
2011-03-25 16:28 ` Daniele Palumbo
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2011-01-12 18:40 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-25 16:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12 18:40 lib/blktaplib.h:199:0: error: "WRITE" redefined Olaf Hering
2011-03-25 16:28 ` Daniele Palumbo
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.