I had the same problem on RedHat9 - the fix was to slightly modify the
file error.h. At the top, at about the 4th line you find a reference to
errno. Change it to this:

#include <errno.h>

That fixed it for me. (Someone had actually put a patch - I believe on
ngr4u.com - unconfirmed - that did basically the same thing.)

Cheers,
Thomas


On Tue, 2003-10-07 at 05:16, Claudio Jeker wrote:
> On Dienstag, Oktober 7, 2003, at 09:49  Uhr, Boily Sylvain wrote:
> 
> > Hi,
> >
> > I have this error when i compile qmail-ldap with the lastest patch.
> >
> > ./load auto-str substdio.a error.a str.a
> > substdio.a(substdo.o)(.text+0x47): In function `allwrite':
> > : undefined reference to `errno'
> > collect2: ld returned 1 exit status
> > make: *** [auto-str] Error 1
> >
> > I setting this FLAGS :
> >
> > LDAPFLAGS=-DALTQUEUE -DDASH_EXT -DDATA_COMPRESS -DEXTERNAL_TODO 
> > -DIGNOREVERISIGN -DQUOTATRASH -DSMTPEXECCHECK
> >
> 
> On what OS version does that happen?
> The newest glibc have broken most apps by defining errno as function.
> 
> --
> :wq Claudio
-- 
Thomas Klettke <[EMAIL PROTECTED]>

Reply via email to