[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8555: [Bug Report] O_NOCACHE is a system define on AIX 5.1 and AIX 5
From: |
Gary V. Vaughan |
Subject: |
bug#8555: [Bug Report] O_NOCACHE is a system define on AIX 5.1 and AIX 5.2 |
Date: |
Tue, 26 Apr 2011 13:23:37 +0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
On AIX 5.1 and AIX 5.2, building coreutils-8.11 is not possible out of the
box, because dd.c has an enum that tries to set a new constant O_NOCACHE. On
these machines, O_NOCACHE is a preprocessor define in /usr/include/fcntl.c,
so the symbol in the dd.c enum definition is replaced by a constant before
the compiler sees it, so can't be compiled as is.
I worked around it as follows:
gsed -i -e 's|O_NOCACHE|DD_NOCACHE|g' src/dd.c
I am not subscribed to this list, so please keep me in Cc for any
followups.
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
pgpYZrCEApnNS.pgp
Description: PGP signature
- bug#8555: [Bug Report] O_NOCACHE is a system define on AIX 5.1 and AIX 5.2,
Gary V. Vaughan <=