ramakanth.varala(a)gmail.com wrote:
> Full_Name: Rama Kanth Varala
> Version: 2.4.46
> OS: Cent OS Release 5.7
> URL: ftp://ftp.openldap.org/incoming/openldap-bug.txt
> Submission from: (NULL) (72.163.217.107)
>
>
> I am trying to compile my binaries in a machine with has glibc 2.5 . Then i
> take these
> ldap libraries to link with the other process which is getting compiled in
> glibc 2.3.4.
>
> I am compiling with option of ol_cv_dcl_sys_errlist=no , so that i can disable
> offending symbols (sys_nerr and sys_errlist). configure go smooth but
> compilation fails.
>
> Below is the compilation failure trace.
>
> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
> -DLDAP_LIBRARY -c string.c -fPIC -DPIC -o .libs/string.o
> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
> -DLDAP_LIBRARY -c string.c -o string.o >/dev/null 2>&1
> /bin/sh ../../libtool --mode=compile cc -g -O2 -I../../include
> -I../../include -I/usr/local/db48/include -DLDAP_LIBRARY -c
> util-int.c
> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
> -DLDAP_LIBRARY -c util-int.c -fPIC -DPIC -o .libs/util-int.o
> In file included from /usr/include/stdio.h:754,
> from /usr/include/resolv.h:64,
> from ../../include/ac/socket.h:58,
> from util-int.c:32:
> /usr/include/bits/sys_errlist.h:27: error: expected identifier or '('
> before numeric constant
> /usr/include/bits/sys_errlist.h:28: error: expected identifier or '('
> before 'char'
> /usr/include/bits/sys_errlist.h:28: error: expected ')' before numeric constant
> make[2]: *** [util-int.lo] Error 1
> make[2]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries/libldap'
> make[1]: *** [all-common] Error 1
> make[1]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries'
> make: *** [all-common] Error 1
What makes you think this is an OpenLDAP issue? The error message clearly says
sys_errlist.h was included from stdio.h - we have no control over that.
>
> Uploading the comple configure log and compilation traces.
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Rama Kanth Varala
Version: 2.4.46
OS: Cent OS Release 5.7
URL: ftp://ftp.openldap.org/incoming/openldap-bug.txt
Submission from: (NULL) (72.163.217.107)
I am trying to compile my binaries in a machine with has glibc 2.5 . Then i
take these
ldap libraries to link with the other process which is getting compiled in
glibc 2.3.4.
I am compiling with option of ol_cv_dcl_sys_errlist=no , so that i can disable
offending symbols (sys_nerr and sys_errlist). configure go smooth but
compilation fails.
Below is the compilation failure trace.
cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
-DLDAP_LIBRARY -c string.c -fPIC -DPIC -o .libs/string.o
cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
-DLDAP_LIBRARY -c string.c -o string.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile cc -g -O2 -I../../include
-I../../include -I/usr/local/db48/include -DLDAP_LIBRARY -c
util-int.c
cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
-DLDAP_LIBRARY -c util-int.c -fPIC -DPIC -o .libs/util-int.o
In file included from /usr/include/stdio.h:754,
from /usr/include/resolv.h:64,
from ../../include/ac/socket.h:58,
from util-int.c:32:
/usr/include/bits/sys_errlist.h:27: error: expected identifier or '('
before numeric constant
/usr/include/bits/sys_errlist.h:28: error: expected identifier or '('
before 'char'
/usr/include/bits/sys_errlist.h:28: error: expected ')' before numeric constant
make[2]: *** [util-int.lo] Error 1
make[2]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries'
make: *** [all-common] Error 1
Uploading the comple configure log and compilation traces.
dpa-bugs(a)aegee.org wrote:
> Full_Name: Dilyan Palauzov
> Version: latest
> OS: any
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (85.234.198.115)
>
>
> http://www.openldap.org/software/man.cgi?query=slapd-mdb says:
The manual is correct. Closing this ITS.
>
> index {_attrlist_|default} [pres,eq,approx,sub,_special_]
> ...
> If only an _attr_ is given, the indices specified for default are
> maintained.
>
> It means probably not _attr_ but _attrlist_.
>
> maxsize _bytes_:
> ...
> It is important to set this to as large a value as possible
>
> I am not a native speaker, but I think there shall be no "a" before "value".
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Dilyan Palauzov
Version: latest
OS: any
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (85.234.198.115)
http://www.openldap.org/software/man.cgi?query=slapd-mdb says:
index {_attrlist_|default} [pres,eq,approx,sub,_special_]
...
If only an _attr_ is given, the indices specified for default are
maintained.
It means probably not _attr_ but _attrlist_.
maxsize _bytes_:
...
It is important to set this to as large a value as possible
I am not a native speaker, but I think there shall be no "a" before "value".
Full_Name: Quanah Gibson-Mount
Version: HEAD
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.148.239)
The slapd-asyncmeta(5) and slapd-meta(5) man pages are missing the fact that
they support the "ldaps" option to the "tls" keyword. This section should be
updated along the lines of back-ldap which also has this option as a keyword.