[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help - cfengine will not make on cygwin
From: |
Martin Andrews |
Subject: |
Re: help - cfengine will not make on cygwin |
Date: |
Wed, 09 Apr 2003 18:36:38 -0400 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 |
Looks like an incorrect preprocessor directive (did gcc used to support
#elsif ?). Attached is a patch. With this I was able to compile cfengine
2.0.6 with the latest cygwin.
Martin
Hoerauf, Roy wrote:
Mark,
Thanks
Still no luck.
Does not like #elsif
--
Martin Andrews
martin.andrews@lionbioscience.com
--- src/cfexecd.c.orig 2003-04-09 18:22:44.000000000 -0400
+++ src/cfexecd.c 2003-04-09 18:34:19.000000000 -0400
@@ -316,7 +316,7 @@
CfLog(cferror,"Can't spawn run","spawnvp");
}
-#elsif (defined HAVE_LIBPTHREAD || defined BUILDTIN_GCC_THREAD)
+#elif (defined HAVE_LIBPTHREAD || defined BUILDTIN_GCC_THREAD)
pthread_attr_init(&PTHREADDEFAULTS);
pthread_attr_setdetachstate(&PTHREADDEFAULTS,PTHREAD_CREATE_DETACHED);
- help - cfengine will not make on cygwin, Hoerauf, Roy, 2003/04/03
- RE: help - cfengine will not make on cygwin, Hoerauf, Roy, 2003/04/03
- RE: help - cfengine will not make on cygwin, Hoerauf, Roy, 2003/04/08
- Re: help - cfengine will not make on cygwin,
Martin Andrews <=
- RE: help - cfengine will not make on cygwin, Hoerauf, Roy, 2003/04/25