Re: compilation building problems

Friedrich Locke <[email protected]> Tue, 12 Jul 2011 16:22:46 -0300
Newsgroups gmane.mail.qmail.ldap
Message-ID <CANMDHqdfdb1diFgr9qCYw9oVUxFQq4kYo6wmx4F=-APp+qUzLg@mail.gmail.com>
Thanks. You are correct.

On Tue, Jul 12, 2011 at 2:37 PM, Claudio Jeker <[email protected]> wrote:
> On Tue, Jul 12, 2011 at 09:07:48AM -0300, Friedrich Locke wrote:
>> 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?
>
> Looks like you double patched the file. Since my version does not have 168
> lines.
>
> --
> :wq Claudio
>