[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.2.18 Build Error (ITS#3372)



Include paths do not belong in the CFLAGS variable. Please re-read the 
INSTALL document.

There does not appear to be any bug in OpenLDAP software here. This ITS 
will be closed.

adam@morrison-ind.com wrote:

>Full_Name: Adam Tauno Williams
>Version: 2.2.18
>OS: LINUX
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (206.114.45.106)
>
>
>Reported build error:
>export CPPFLAGS="-I/opt/dsa/include"
>export CFLAGS="-I/opt/dsa/include"
>export LDFLAGS="-L/opt/dsa/lib"
>./configure --prefix=/opt/dsa --disable-ipv6 --with-cyrus-sasl --with-kerberos
>--with-tls --enable-monitor --enable-dynamic --enable-phonetic --enable-slapd
>--enable-spasswd --enable-rlookups --enable-hdb --with-dyngroup=yes
>--with-proxycache=yes --enable-bdb
>make depend
>make
>....
>....
>....
>
>  Entering subdirectory liblunicode
>make[2]: Entering directory
>`/home/awilliam/tmp/openldap-2.2.18/libraries/liblunicode'
>make[2]: Nothing to be done for `all'.
>make[2]: Leaving directory
>`/home/awilliam/tmp/openldap-2.2.18/libraries/liblunicode'
>  
>  Entering subdirectory libldap
>make[2]: Entering directory
>`/home/awilliam/tmp/openldap-2.2.18/libraries/libldap'
>/bin/sh /home/awilliam/tmp/openldap-2.2.18/libtool  --mode=compile cc
>-I/opt/dsa/include -I../../include        -I../../include   -I/opt/dsa/include  
>-DLDAP_LIBRARY -c extended.c
>rm -f .libs/extended.lo
>cc -I/opt/dsa/include -I../../include -I../../include -I/opt/dsa/include
>-DLDAP_LIBRARY -c extended.c  -fPIC -DPIC -o .libs/extended.lo
>extended.c: In function `ldap_parse_intermediate':
>extended.c:362: error: `LDAP_TAG_IM_RES_OID' undeclared (first use in this
>function)
>extended.c:362: error: (Each undeclared identifier is reported only once
>extended.c:362: error: for each function it appears in.)
>extended.c:373: error: `LDAP_TAG_IM_RES_VALUE' undeclared (first use in this
>function)
>make[2]: *** [extended.lo] Error 1
>make[2]: Leaving directory
>`/home/awilliam/tmp/openldap-2.2.18/libraries/libldap'
>make[1]: *** [all-common] Error 1
>make[1]: Leaving directory `/home/awilliam/tmp/openldap-2.2.18/libraries'
>make: *** [all-common] Error 1
>awilliam@estate3:~/tmp/openldap-2.2.18>
>
>
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support