https://bugs.openldap.org/show_bug.cgi?id=9348
--- Comment #8 from [email protected] --- (In reply to Howard Chu from comment #7) > (In reply to ditu.alexandru from comment #6) > > (In reply to ditu.alexandru from comment #5) > > > 1. I've tried setting the flag ol_cv_have_sys_errlist=no but it won't > > > compile anymore (using libc < 2.32 which defines those symbols, so I > > > believe > > > it's conflicting with them): > > > > Actually it compiles (I've confused it with option ol_cv_dcl_sys_errlist > > with wich I had problems). > > > > If I compile with the flag ol_cv_have_sys_errlist=no I still encounter the > > issue: > > > > nm libraries/libldap/.libs/libldap.a | grep sys_errlist > > U sys_errlist > > You actually need to set both ol_cv_dcl_sys_errlist=no and > ol_cv_have_sys_errlist=no. When using this config: ./configure ol_cv_have_sys_errlist=no ol_cv_dcl_sys_errlist=no --enable-shared=no --with-pic --enable-slapd=no --with-cyrus-sasl --prefix=/build-x86_64/tmp I receive the following errors (about these errors I was talking about in the comment 5): gcc -g -O2 -I../../include -I../../include -I/build-x86_64/tmp/include -DLDAP_LIBRARY -c util-int.c -fPIC -DPIC -o util-int.o In file included from util-int.c:31: ../../include/ac/errno.h:28:20: error: expected identifier or '(' before numeric constant # define sys_nerr 0 ^ ../../include/ac/errno.h:29:25: error: expected identifier or '(' before 'char' # define sys_errlist ((char **)0) ^~~~ ../../include/ac/errno.h:29:33: error: expected ')' before numeric constant # define sys_errlist ((char **)0) ^ Makefile:412: recipe for target 'util-int.lo' failed -- You are receiving this mail because: You are on the CC list for the issue.
