From dev-return-8680-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Wed Dec 11 07:33:03 2002 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 38578 invoked by uid 500); 11 Dec 2002 07:33:02 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 38567 invoked from network); 11 Dec 2002 07:33:02 -0000 Message-Id: <5.1.0.14.2.20021211013058.02a91008@pop3.rowe-clan.net> X-Sender: admin%rowe-clan.net@pop3.rowe-clan.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 11 Dec 2002 01:32:54 -0600 To: Blair Zajac From: "William A. Rowe, Jr." Subject: Re: apr_ldap_url.h parse error with latest commit Cc: "William A. Rowe, Jr." ,dev@apr.apache.org In-Reply-To: <3DF6DD3C.27DE5D28@orcaware.com> References: <5.1.0.14.2.20021210233135.0278b828@pop3.rowe-clan.net> <5.1.0.14.2.20021211002031.026ab490@pop3.rowe-clan.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-OriginalArrivalTime: 11 Dec 2002 07:33:10.0109 (UTC) FILETIME=[8E0FE0D0:01C2A0E7] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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