[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MOUNT_RO @ Cygwin problem
From: |
Mark Burgess |
Subject: |
Re: MOUNT_RO @ Cygwin problem |
Date: |
Mon, 08 Aug 2005 19:29:07 +0200 |
This nmae collision has been fixed just by renaming CF_MOUNT_RO.
This should have no effect on disks behaviour
M
On Mon, 2005-08-08 at 17:13 +0200, Erik ten Napel wrote:
> Hi,
>
> Next problem is probably caused by a bug in CFEngine.
> I already posted this problem at address@hidden (CFEngine compile
> error @ Cygwin).
>
> I did install CFEngine 2.1.15 on CygWin 1.5.18-1
> When I did compile the source, it generated next error during the 'make'
> step:
>
> cf.extern.h:272: error: 'MOUNT_RO' redeclared as different kind of symbol
> /usr/include/sys/mount.h:34: error: previous definition of 'MOUNT_RO' was
> here
>
> The next page on a CygWin site shows a change in /sys/mount.h:
> http://www.mail-archive.com/address@hidden/msg02981.html
>
> Possible they changed it to a different datatype then CFEngine expects.
> /sys/mount.h contains:
> MOUNT_RO = 0x1000
>
> globals.c contains:
> PRIVATE flag MOUNT_RO = false
>
> I renamed all MOUNT_RO occurances in the CFEngine source in etn_MOUNT_RO.
> CFEngine compiled without problems. But now the 'disks' class returns a
> freespace of 0 bytes on all disks.
>
> Possibly a better sollution has to be found...
>
>
>
>
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-cfengine