compilation building problems

Friedrich Locke <[email protected]> Tue, 12 Jul 2011 09:07:48 -0300
Newsgroups gmane.mail.qmail.ldap
Message-ID <CANMDHqe5=FHFLEcw+SAQWcn2dmHfCA0J4bkmRsiX6peS6vUYNQ@mail.gmail.com>
I am trying to compile qmail-ldap with the following macros:

MDIRMAKE=-DAUTOMAILDIRMAKE
HDIRMAKE=-DAUTOHOMEDIRMAKE

enable in my Makefile (according to
http://www.qmail-ldap.org/wiki/index.php/Full_Installation_Guide_-_Basic_Qmail_Installation),
but i get the following errors (only pertinent part) :

./compile  -DAUTOMAILDIRMAKE qmail-local.c
./compile  qmail.c
./compile quote.c
./compile now.c
./compile gfrom.c
./compile myctime.c
./compile -DAUTOMAILDIRMAKE mailmaker.c
mailmaker.c:168: error: redefinition of 'makedir'
mailmaker.c:56: error: previous definition of 'makedir' was here
mailmaker.c:184: error: redefinition of 'maildir_make'
mailmaker.c:72: error: previous definition of 'maildir_make' was here
*** Error code 1

Stop in /tmp/qmail-1.03 (line 1153 of Makefile).
gustav#


Does anybody know why this error occurs?
thanks in advance