apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blair Zajac <bl...@orcaware.com>
Subject apr_ldap_url.h parse error with latest commit
Date Wed, 11 Dec 2002 04:29:29 GMT
I'm getting the following compile error with apr/apr-util HEAD and httpd-2.0
APACHE_2_0_BRANCH

/bin/sh /tmp/h/srclib/apr/libtool --silent --mode=compile gcc  -pthread  -g -O2
-Wl,-rpath,/opt/i386-linux/db-4.1/lib  -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER 
-I/tmp/h/srclib/apr/include -I/tmp/h/srclib/apr-util/include
-I/opt/i386-linux/db-4.1/include -I. -I/tmp/h/os/unix -I/tmp/h/server/mpm/prefork
-I/tmp/h/modules/http -I/tmp/h/modules/filters -I/tmp/h/modules/proxy -I/tmp/h/include
-I/usr/include/openssl -I/tmp/h/modules/dav/main -prefer-non-pic -static -c
/tmp/h/server/exports.c && touch /tmp/h/server/exports.lo
In file included from /tmp/h/server/exports.c:88:
/tmp/h/srclib/apr-util/include/apr_ldap_url.h:106: parse error before "char"
/tmp/h/srclib/apr-util/include/apr_ldap_url.h:108: parse error before "char"
/tmp/h/srclib/apr-util/include/apr_ldap_url.h:110: parse error before "char"
/tmp/h/srclib/apr-util/include/apr_ldap_url.h:112: parse error before "char"
make[2]: *** [/tmp/h/server/exports.lo] Error 1
make[2]: Leaving directory `/tmp/h/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/h/server'
make: *** [all-recursive] Error 1

When running configure in httpd, here's the ldap portion of the configure
output:

checking for unistd.h... yes
checking for ldap support...
checking gdbm.h usability... yes

Doing a recursive grep on LDAP_CONST doesn't show it being #defined anywhere.

This is on RedHat 8.0.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/

Mime
View raw message