- smtp-auth compile problem -

Hello,

im getting the following error compiling qmail+ldap+smtp-auth.

I'm using
- qmail 1.03,
- qmail-ldap-1.03-20011001.patch , and
- smtp-auth-20011001.patch

running on Compaq alpha with RH 7.1

is there something that i am missing?
-> qmail+ldap compiled fine,
-> qmail+ldap + smtp-after-pop-20010801.patch compiled fine,
-> Errors by qmail+ldap + smtp-after-pop-20010801.patch + 
smtp-auth-20011001.patch (after small modyfcation the patch file to work 
together)

Errors by:
-> qmail+ldap+smtp-auth throws that error.
--
./compile   -DUSE_SMTPAUTH -DUSE_OLD_GREETING -DUSE_NEW_GREETING qmail-smtpd.c
In file included from qmail-smtpd.c:5:
readwrite.h:4: conflicting types for `read'
/usr/include/unistd.h:310: previous declaration of `read'
readwrite.h:5: conflicting types for `write'
/usr/include/unistd.h:313: previous declaration of `write'
qmail-smtpd.c: In function `main':
qmail-smtpd.c:1421: warning: return type of `main' is not `int'
make: *** [qmail-smtpd.o] Error 1
--

Is all correct ?? both patches appeared to apply
without problems.

any thoughts? THX

Christian 

Reply via email to