[modcfgldap-devel] Re: cannot compile
Status: Beta
Brought to you by:
abrenk
From: Haymo M. <ha...@ha...> - 2004-09-28 09:31:25
|
Dear guys! I now tried to do all from scratch (without debian package system... but still on the same machine). I compiled the current apache 2.0.51 (with-ldap and some other needed modules) and installed it on the default location /usr/local/apache2 the I try to compile the current release of mod_cfg_ldap without success. Still the same error. I even tried to compile manually leaving out all unneeded staff. Has any body any Idea?? Your help is needed!! Thank you! in advance! bye haymo -- blackhole:~/mod_cfg_ldap-1.2# grep ap_get_module_config /usr/local/apache2/* -r | grep -v developer Binary file /usr/local/apache2/bin/httpd matches /usr/local/apache2/include/http_config.h:AP_DECLARE(void *) ap_get_module_config(const ap_conf_vector_t *cv, /usr/local/apache2/include/http_config.h:#define ap_get_module_config(v,m) \ /usr/local/apache2/include/mod_ssl.h:(SSLConnRec *)ap_get_module_config(c->conn_config, &ssl_module) /usr/local/apache2/include/mod_ssl.h:#define mySrvConfig(srv) (SSLSrvConfigRec *)ap_get_module_config(srv->module_config, &ssl_module) /usr/local/apache2/include/mod_ssl.h:#define myDirConfig(req) (SSLDirConfigRec *)ap_get_module_config(req->per_dir_config, &ssl_module) /usr/local/apache2/modules/httpd.exp:ap_get_module_config blackhole:~/mod_cfg_ldap-1.2# gcc -I/usr/local/apache2/include mod_cfg_ldap.c mod_cfg_ldap.c: In function `cfg_ldap_init_ldap': mod_cfg_ldap.c:122: parse error before `int' mod_cfg_ldap.c:130: parse error before `int' mod_cfg_ldap.c:132: `rc' undeclared (first use in this function) mod_cfg_ldap.c:132: (Each undeclared identifier is reported only once mod_cfg_ldap.c:132: for each function it appears in.) mod_cfg_ldap.c:134: `version' undeclared (first use in this function) mod_cfg_ldap.c:144: parse error before `int' mod_cfg_ldap.c:147: `SSLmode' undeclared (first use in this function) mod_cfg_ldap.c: In function `cfg_ldap_read_vhost_from_ldap': mod_cfg_ldap.c:244: parse error before `*' mod_cfg_ldap.c:245: `vhost' undeclared (first use in this function) mod_cfg_ldap.c:249: parse error before `char' mod_cfg_ldap.c:250: `filter' undeclared (first use in this function) mod_cfg_ldap.c:255: parse error before `int' mod_cfg_ldap.c:257: `rc' undeclared (first use in this function) mod_cfg_ldap.c:258: `res' undeclared (first use in this function) mod_cfg_ldap.c:272: parse error before `*' mod_cfg_ldap.c:273: `entry' undeclared (first use in this function) mod_cfg_ldap.c:276: parse error before `int' mod_cfg_ldap.c:277: `count' undeclared (first use in this function) mod_cfg_ldap.c:282: warning: unreachable code at beginning of switch statement mod_cfg_ldap.c:293: parse error before `char' mod_cfg_ldap.c:300: `attr' undeclared (first use in this function) mod_cfg_ldap.c:300: `ber' undeclared (first use in this function) mod_cfg_ldap.c:303: `val' undeclared (first use in this function) mod_cfg_ldap.c:306: `vhost_name' undeclared (first use in this function) mod_cfg_ldap.c:310: `vhost_admin' undeclared (first use in this function) mod_cfg_ldap.c:314: `vhost_docroot' undeclared (first use in this function) mod_cfg_ldap.c: In function `set_cfg_ldap_cert_auth': mod_cfg_ldap.c:435: parse error before `const' mod_cfg_ldap.c:436: `err' undeclared (first use in this function) |