On Thu, Nov 29, 2001 at 05:46:07PM +0800, Kevin Chen wrote:
> hi all,
> 
>   I am very sorry to show this message. When I compile qmail+ldap+control 
> on Solaris 8, it failed:
> 
> ----begin here-----
> ./compile   -DQLDAP_CLUSTER -DDASH_EXT -DDEBUG -DUSE_CONTROLDB -
> DQLDAP_BAILOUT -DUSE_RFC2307 -DUSE_RFC822 -DSECUREBIND_ALL qmail-smtpd.c
> qmail-smtpd.c:49: `NULL' undeclared here (not in a function)
> : In function `main':
> qmail-smtpd.c:1168: warning: return type of `main' is not `int'
> make: *** [qmail-smtpd.o] Error 1
> ----end here-----
> 
>   Before I patched the control path, everything is well. Can anyone help me?
>   The other question is: Is there a smtpauth patch for qmail/ldap/control?
> 
As said: This is NOT point-and-click-and-then-it-works ware!

Just replace NULL with (void *)0. Then it should compile.


-- 
:wq Claudio

Reply via email to