apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: apr_ldap_url.h parse error with latest commit
Date Wed, 11 Dec 2002 07:32:54 GMT
At 12:37 AM 12/11/2002, Blair Zajac wrote:
>"William A. Rowe, Jr." wrote:
>> 
>> Do you have ldap installed and detected?  I have an experimental fix
>> that should work on it's way in about 5 minutes.
>
>% rpm -qa|grep ldap
>openldap-2.0.25-1
>openldap-clients-2.0.25-1
>openldap-devel-2.0.25-1
>openldap-servers-2.0.25-1
>nss_ldap-198-3
>
>configure | grep ldap:
>
>checking for ldap support...
>config.status: creating include/apr_ldap.h
>config.status: creating ldap/Makefile
>checking whether to enable mod_auth_ldap... no
>checking whether to enable mod_ldap... no
>Making depend in ldap

Ok... no ldap detected; so...

>Updating to the latest HEAD with the Makefile.in changes, I now get this:
>
>/bin/sh /tmp/h/srclib/apr/libtool --silent --mode=compile gcc -pthread
>-g -O2 -Wl,-rpath,/opt/i386-linux/db-4.1/lib -DHAVE_CONFIG_H -DLINUX=2
>-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
>-I/tmp/h/srclib/apr-util/include -I/tmp/h/srclib/apr-util/include/private
>-I/tmp/h/srclib/apr/include  -I/opt/i386-linux/db-4.1/include  -c
>apr_ldap_url.c && touch apr_ldap_url.lo
>apr_ldap_url.c:153: parse error before "apr_ldap_is_ldap_url"
>apr_ldap_url.c:169: parse error before "apr_ldap_is_ldaps_url"
>apr_ldap_url.c:185: parse error before "apr_ldap_is_ldapi_url"
>apr_ldap_url.c: In function `str2scope':
>apr_ldap_url.c:260: `LDAP_SCOPE_ONELEVEL' undeclared (first use in this function)
>apr_ldap_url.c:260: (Each undeclared identifier is reported only once
>apr_ldap_url.c:260: for each function it appears in.)
>apr_ldap_url.c:266: `LDAP_SCOPE_BASE' undeclared (first use in this function)
>apr_ldap_url.c:269: `LDAP_SCOPE_SUBTREE' undeclared (first use in this function)
>apr_ldap_url.c: At top level:
>apr_ldap_url.c:280: parse error before "apr_ldap_url_desc_t"
>apr_ldap_url.c: In function `ldap_url_parse_ext':
>apr_ldap_url.c:285: `apr_ldap_url_desc_t' undeclared (first use in this function)
>apr_ldap_url.c:285: `ludp' undeclared (first use in this function)
>apr_ldap_url.c:292: `url_in' undeclared (first use in this function)
>apr_ldap_url.c:292: `ludpp' undeclared (first use in this function)
>apr_ldap_url.c:293: `LDAP_URL_ERR_PARAM' undeclared (first use in this function)
>apr_ldap_url.c:301: `LDAP_URL_ERR_BADSCHEME' undeclared (first use in this function)
>apr_ldap_url.c:307: `LDAP_URL_ERR_MEM' undeclared (first use in this function)
>apr_ldap_url.c:315: `LDAP_URL_ERR_BADENCLOSURE' undeclared (first use in this function)
>apr_ldap_url.c:322: parse error before ')' token
>apr_ldap_url.c:331: `LDAP_PORT' undeclared (first use in this function)
>apr_ldap_url.c:365: `LDAP_URL_ERR_BADURL' undeclared (first use in this function)
>apr_ldap_url.c:430: `LDAP_URL_SUCCESS' undeclared (first use in this function)
>apr_ldap_url.c:479: `LDAP_URL_ERR_BADATTRS' undeclared (first use in this function)
>apr_ldap_url.c:507: `LDAP_URL_ERR_BADSCOPE' undeclared (first use in this function)
>apr_ldap_url.c:535: `LDAP_URL_ERR_BADFILTER' undeclared (first use in this function)
>apr_ldap_url.c:572: `LDAP_URL_ERR_BADEXTS' undeclared (first use in this function)
>apr_ldap_url.c: At top level:
>apr_ldap_url.c:597: parse error before "apr_ldap_url_parse"
>apr_ldap_url.c:598: parse error before "apr_ldap_url_desc_t"
>apr_ldap_url.c: In function `apr_ldap_url_parse':
>apr_ldap_url.c:600: `url_in' undeclared (first use in this function)
>apr_ldap_url.c:600: `ludpp' undeclared (first use in this function)
>apr_ldap_url.c:602: `LDAP_URL_SUCCESS' undeclared (first use in this function)
>apr_ldap_url.c:607: `LDAP_SCOPE_BASE' undeclared (first use in this function)
>apr_ldap_url.c: At top level:
>apr_ldap_url.c:618: parse error before "apr_ldap_free_urldesc"
>apr_ldap_url.c:618: parse error before '*' token
>apr_ldap_url.c: In function `apr_ldap_free_urldesc':
>apr_ldap_url.c:620: `ludp' undeclared (first use in this function)

We obviously can't use the apr_ldap_parse_url code right now without
substantially replacing those ldap symbols.  Since we can't go further
with it, I'm enclosing both apr_ldap_url.h and apr_ldap_url.c an outer
#if APR_HAS_LDAP.  This should now build for you.

Thanks for hanging in there.

Bill


Mime
View raw message