Qmail, vpomail+qmailadmin installed and working on MacOSX2.6
- configure OK:
./configure \ --enable-cgibindir=/library/webserver/CGI-Executables \ --enable-imagedir=/library/webserver/images/sqwebmail \ --enable-mimetypes=/private/etc/httpd/mime.types
- make ERROR:
make make all-gmake-check FOO=BAR Making all in numlib make all-am Making all in bdbobj make all-am Making all in md5 make all-am Making all in sha1 make all-am Making all in random128 make all-am Making all in libhmac make all-am Making all in userdb make all-am Compiling userdbpw.c userdbpw.c:160: illegal expression, found `void' userdbpw.c:80: parse error in conditional expression cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[2]: *** [userdbpw.o] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
The error in userdbpw.c:80 occurs with this code:
static RETSIGTYPE sighandler(int signum)
{
write(1, "\n", 1);
tcsetattr(0, TCSANOW, &tios);
_exit(0);
#if RETSIGTYPE != void
return (0);
#endif
}In the userdb directory, the config.h file contains:
... /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void ...
Can you help me?
Best regards, Guy
