Compilation Problem with Cygwin32 and Windows

Werner Koch wk@gnupg.org
Wed Apr 9 10:40:02 2003


On Mon,  7 Apr 2003 09:22:26 +0100, kanedaa@freesbee fr said:


> g10.c: In function `strusage':
> g10.c:624: `VERSION' undeclared (first use in this function)

The config.h file is missing.  Run gcc with the option -v to see the
directories used for #include.

> For example, i've been searching for the R_OK var and didn't find its definition anywhere!!!

unistd.h - at least mingw32/cpd provides this standard header.

-- 
  Nonviolence is the greatest force at the disposal of
  mankind. It is mightier than the mightiest weapon of
  destruction devised by the ingenuity of man. -Gandhi