1flex 2.5.4 generates non-portable code (it include unistd.h). The 2patch below fixes this problem. See evaluator.l for instructions. 3 4 pederb, 20040628 5 6Index: so_eval.ic 7=================================================================== 8RCS file: /export/cvsroot/Coin/src/engines/so_eval.ic,v 9retrieving revision 1.3 10diff -u -r1.3 so_eval.ic 11--- so_eval.ic 28 Jun 2004 13:22:19 -0000 1.3 12+++ so_eval.ic 28 Jun 2004 13:31:56 -0000 13@@ -26,8 +26,13 @@ 14 #define YY_FLEX_MINOR_VERSION 5 15 16 #include <stdio.h> 17-#include <unistd.h> 18+#ifdef HAVE_CONFIG_H 19+#include <config.h> 20+#endif /* HAVE_CONFIG_H */ 21 22+#ifdef HAVE_UNISTD_H 23+#include <unistd.h> 24+#endif /* HAVE_UNISTD_H */ 25 26 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ 27 #ifdef c_plusplus 28