You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mäkelä Riku-Ville <ri...@sonera.com> on 2002/06/12 10:29:12 UTC

A problem with Apache 2.0.36+Solarix x86-8+OpenLDAP 2.0.23

Greetings.

I've a problem with compiling the mod_auth_ldap in Apache 2.0.36.

I've done configure for Apache with --enable-so --with-ldap
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include.

The problem: When I get the httpd-ldap from the CVS-tree and try to
compile the ldap-aaa-module, I get:

morgoth@root /usr/local/apache/bin/apxs -i -a -c mod_auth_ldap.c     
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic
-DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -g -O2 -I/usr/local/apache/include  -c -o mod_auth_ldap.lo
mod_auth_ldap.c && touch mod_auth_ldap.slo
mod_auth_ldap.c:795: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:795: initializer element is not constant
mod_auth_ldap.c:795: (near initialization for
`mod_auth_ldap_cmds[1].cmd_data')
mod_auth_ldap.c:799: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:799: initializer element is not constant
mod_auth_ldap.c:799: (near initialization for
`mod_auth_ldap_cmds[2].cmd_data') ... plus about 10 more of the same
error.

This is not, I take it, desired behavior :) The ldap-cache-module seems
to compile and install just fine.

Any hints?

Best regards,
---
Riku-Ville Mäkelä
Technical Product Manager
Sonera Juxto Ltd
---

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org