bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MOUNT_RO @ Cygwin problem


From: Erik ten Napel
Subject: MOUNT_RO @ Cygwin problem
Date: Mon, 08 Aug 2005 17:13:43 +0200

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...






reply via email to

[Prev in Thread] Current Thread [Next in Thread]