Thomas Klettke wrote:
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

Great that works :-)


--

-------------------------------------------------------------------------
*Sylvain BOILY* - Administrateur UNIX
*LINKBYNET - Your e-Business Online*
39, bd Anatole France - 93200 Saint-Denis - France
Tel direct : +33 1 48 13 18 14
Tel : +33 1 48 13 18 18 - Fax : +33 1 48 13 18 19
E-mail : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>_ - Web :
_http://www.linkbynet.com_
-------------------------------------------------------------------------
Astreinte : http://www.linkbynet.com/astreinte/
-------------------------------------------------------------------------



Reply via email to