[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8863) openldap compilation failure when
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8863) openldap compilation failure when
- From: hyc@symas.com
- Date: Wed, 06 Jun 2018 10:26:42 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
ramakanth.varala@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/