[modcfgldap-devel] Re: cannot compile
Status: Beta
Brought to you by:
abrenk
From: Haymo M. <ha...@ha...> - 2004-09-25 17:57:40
|
Zen Interactif wrote: >Well ... Could you try with the official source on >http://modcfgldap.sourceforge.net site ? >1.2 is now official version ... > > Thanks for the fast response! And thanks for youre help! same errors occur when I try to compile the original package. As you can see the include path includes apache2, openssl, xmltok and apr-0. I think this should be all needed header files... In fact it seems that the compiler does not know any of the functions from those libs (ap_*, ldap_*)! At the end a list of my installed libs and the header files... I would really like to get it working for woody. The existing .deb package needs libc6 (>= 2.3.2.ds1-4) while on woody exists only libc6 (2.2.5-11.5). And also some ldap functions are higher than available on woody. thanks, bye haymo I tried to compile manually now to get more verbose output: gcc -pipe -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/openssl -O2 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pipe -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/openssl -O2 -pthread -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include -c mod_cfg_ldap.c -fPIC -DPIC -o .libs/mod_cfg_ldap.lo -v -- Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c -v -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/openssl -I/usr/include/xmltok -I/usr/include/apache2 -I/usr/include/openssl -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__OPTIMIZE__ -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__PIC__ -D__pic__ -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPIC mod_cfg_ldap.c | /usr/lib/gcc-lib/i386-linux/2.95.4/cc1 -quiet -dumpbase mod_cfg_ldap.c -O2 -O2 -version -fPIC -o - | as -V -Qy -o .libs/mod_cfg_ldap.lo - GNU CPP version 2.95.4 20011002 (Debian prerelease)GNU C version 2.95.4 20011002 (Debian prerelease) (i386-linux) compiled by GNU C version 2.95.4 20011002 (Debian prerelease). (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include/xmltok /usr/include/apache2 /usr/include/apr-0 /usr/include/openssl /usr/include/xmltok /usr/include/apache2 /usr/include/openssl /usr/include/apache2 /usr/include/apr-0 /usr/include /usr/local/include /usr/lib/gcc-lib/i386-linux/2.95.4/include /usr/include End of search list. The following default directories have been omitted from the search path: /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include End of omitted list. GNU assembler version 2.12.90.0.1 (i386-linux) using BFD version 2.12.90.0.1 20020307 Debian/GNU Linux mod_cfg_ldap.c: In function `cfg_ldap_init_ldap': mod_cfg_ldap.c:107: parse error before `int' mod_cfg_ldap.c:115: parse error before `int' mod_cfg_ldap.c:117: `rc' undeclared (first use in this function) mod_cfg_ldap.c:117: (Each undeclared identifier is reported only once mod_cfg_ldap.c:117: for each function it appears in.) mod_cfg_ldap.c:117: `version' undeclared (first use in this function) mod_cfg_ldap.c:124: parse error before `int' mod_cfg_ldap.c:125: `SSLmode' undeclared (first use in this function) mod_cfg_ldap.c: In function `cfg_ldap_read_vhost_from_ldap': mod_cfg_ldap.c:211: parse error before `*' mod_cfg_ldap.c:212: `vhost' undeclared (first use in this function) mod_cfg_ldap.c:216: parse error before `char' mod_cfg_ldap.c:217: `filter' undeclared (first use in this function) mod_cfg_ldap.c:219: parse error before `int' mod_cfg_ldap.c:221: `rc' undeclared (first use in this function) mod_cfg_ldap.c:221: `res' undeclared (first use in this function) mod_cfg_ldap.c:228: parse error before `*' mod_cfg_ldap.c:229: `entry' undeclared (first use in this function) mod_cfg_ldap.c:232: parse error before `int' mod_cfg_ldap.c:234: `count' undeclared (first use in this function) mod_cfg_ldap.c:237: warning: unreachable code at beginning of switch statement mod_cfg_ldap.c:249: parse error before `char' mod_cfg_ldap.c:256: `attr' undeclared (first use in this function) mod_cfg_ldap.c:256: `ber' undeclared (first use in this function) mod_cfg_ldap.c:258: `val' undeclared (first use in this function) mod_cfg_ldap.c:260: `vhost_name' undeclared (first use in this function) mod_cfg_ldap.c:261: `vhost_admin' undeclared (first use in this function) mod_cfg_ldap.c:262: `vhost_docroot' undeclared (first use in this function) mod_cfg_ldap.c: In function `set_cfg_ldap_cert_auth': mod_cfg_ldap.c:413: parse error before `const' mod_cfg_ldap.c:414: `err' undeclared (first use in this function) -- blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ldconfig -v ldconfig: Path `/usr/lib' given more than once /usr/X11R6/lib: libxrx.so.6 -> libxrx.so.6.3 libXtst.so.6 -> libXtst.so.6.1 libXt.so.6 -> libXt.so.6.0 libXpm.so.4 -> libXpm.so.4.11 libXp.so.6 -> libXp.so.6.2 libXmuu.so.1 -> libXmuu.so.1.0 libXmu.so.6 -> libXmu.so.6.2 libXi.so.6 -> libXi.so.6.0 libXft.so.1 -> libXft.so.1.1 libXext.so.6 -> libXext.so.6.4 libXIE.so.6 -> libXIE.so.6.0 libX11.so.6 -> libX11.so.6.2 libPEX5.so.6 -> libPEX5.so.6.0 libICE.so.6 -> libICE.so.6.3 libXrender.so.1 -> libXrender.so.1.0 libSM.so.6 -> libSM.so.6.0 /usr/lib: libgpm.so.1 -> libgpm.so.1.19.6 libmagic.so.1 -> libmagic.so.1.0.0 libaprutil-0.so.0 -> libaprutil-0.so.0.9.5 libapr-0.so.0 -> libapr-0.so.0.9.5 libbz2.so.1.0 -> libbz2.so.1.0.2 libdb-4.2.so -> libdb-4.2.so libgd.so.1 -> libgd.so.1.8.4 libexpat.so.1 -> libexpat.so.1.0.0 libjpeg.so.62 -> libjpeg.so.62.0.0 libgd.so.2 -> libgd.so.2.0.1 libfreetype.so.6 -> libfreetype.so.6.3.0 libpython2.1.so.0.0 -> libpython2.1.so.0.0 libstdc++.so.3 -> libstdc++.so.3.0.4 libpng.so.2 -> libpng.so.2.1.0.12 libz.so.1 -> libz.so.1.1.4 libssl.so.0.9.6 -> libssl.so.0.9.6 libcrypto.so.0.9.6 -> libcrypto.so.0.9.6 libisc.so.4 -> libisc.so.4.1.0 libdns.so.5 -> libdns.so.5.3.0 liblwres.so.1 -> liblwres.so.1.1.0 libbfd-2.12.90.0.1.so -> libbfd-2.12.90.0.1.so libopcodes-2.12.90.0.1.so -> libopcodes-2.12.90.0.1.so libpcap.so.0 -> libpcap.so.0.6.2 libsasl.so.7 -> libsasl.so.7.1.10 libpcre.so.3 -> libpcre.so.3.03 liblockfile.so.1 -> liblockfile.so.1.0 libldap_r.so.2 -> libldap_r.so.2.0.201 libldap.so.2 -> libldap.so.2.0.201 liblber.so.2 -> liblber.so.2.0.201 libxmltok.so.1 -> libxmltok.so.1.1 libpcreposix.so.3 -> libpcreposix.so.3.03 libxmlparse.so.1 -> libxmlparse.so.1.1 libident.so.0 -> libident.so.0.22 libapt-pkg-libc6.2-3-2.so.3.2 -> libapt-pkg-libc6.2-3-2.so.3.2.0 libapt-inst-libc6.2-3-2.so.1.0 -> libapt-inst-libc6.2-3-2.so.1.0.0 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so libnewt.so.0.50 -> libnewt.so.0.50.17 libmenu.so.5 -> libmenu.so.5.2 libform.so.5 -> libform.so.5.2 libpanel.so.5 -> libpanel.so.5.2 libgdbm.so.1 -> libgdbm.so.1.7.3 libdb3.so.3 -> libdb3.so.3.0.2 /lib: libgcc_s.so.1 -> libgcc_s.so.1 libnss_db.so.2 -> libnss_db-2.2.so libwrap.so.0 -> libwrap.so.0.7.6 libctutils.so.0 -> libctutils.so.0.0.0 libconsole.so.0 -> libconsole.so.0.0.0 libcfont.so.0 -> libcfont.so.0.0.0 libslang.so.1 -> libslang.so.1.4.4 libproc.so.2.0.7 -> libproc.so.2.0.7 libreadline.so.4 -> libreadline.so.4.2 libhistory.so.4 -> libhistory.so.4.2 libpopt.so.0 -> libpopt.so.0.0.0 libpamc.so.0 -> libpamc.so.0.72 libpam_misc.so.0 -> libpam_misc.so.0.72 libpam.so.0 -> libpam.so.0.72 libncurses.so.5 -> libncurses.so.5.2 libdb.so.3 -> libdb.so.3 libdb2.so.2 -> libdb2.so.2.7.7 libthread_db.so.1 -> libthread_db-1.0.so libpthread.so.0 -> libpthread-0.9.so libSegFault.so -> libSegFault.so libutil.so.1 -> libutil-2.2.5.so librt.so.1 -> librt-2.2.5.so libresolv.so.2 -> libresolv-2.2.5.so libnss_nisplus.so.2 -> libnss_nisplus-2.2.5.so libnss_nis.so.2 -> libnss_nis-2.2.5.so libnss_hesiod.so.2 -> libnss_hesiod-2.2.5.so libnss_files.so.2 -> libnss_files-2.2.5.so libnss_dns.so.2 -> libnss_dns-2.2.5.so libnss_compat.so.2 -> libnss_compat-2.2.5.so libnsl.so.1 -> libnsl-2.2.5.so libm.so.6 -> libm-2.2.5.so libdl.so.2 -> libdl-2.2.5.so libdb.so.2 -> libdb1-2.2.5.so libcrypt.so.1 -> libcrypt-2.2.5.so libc.so.6 -> libc-2.2.5.so libanl.so.1 -> libanl-2.2.5.so libBrokenLocale.so.1 -> libBrokenLocale-2.2.5.so ld-linux.so.2 -> ld-2.2.5.so libcap.so.1 -> libcap.so.1.10 libuuid.so.1 -> libuuid.so.1.2 libext2fs.so.2 -> libext2fs.so.2.4 libe2p.so.2 -> libe2p.so.2.3 libss.so.2 -> libss.so.2.0 libcom_err.so.2 -> libcom_err.so.2.0 -- blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/apache2/ ap_compat.h ap_release.h http_vhost.h mod_status.h ssl_expr.h util_filter.h ap_config.h fdqueue.h httpd.h mpm.h ssl_expr_parse.h util_ldap.h ap_config_auto.h http_config.h mod_cgi.h mpm_common.h ssl_toolkit_compat.h util_md5.h ap_config_layout.h http_connection.h mod_core.h mpm_default.h ssl_util_ssl.h util_script.h ap_listen.h http_core.h mod_dav.h os.h ssl_util_table.h util_time.h ap_mmn.h http_log.h mod_include.h pcreposix.h unixd.h util_xml.h ap_mpm.h http_main.h mod_log_config.h pod.h util_cfgtree.h xmltok.h ap_provider.h http_protocol.h mod_proxy.h rfc1413.h util_charset.h ap_regkey.h http_request.h mod_ssl.h scoreboard.h util_ebcdic.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/apr-0/ apr.h apr_errno.h apr_ldap_url.h apr_proc_mutex.h apr_support.h apr_want.h apr_allocator.h apr_file_info.h apr_lib.h apr_queue.h apr_tables.h apr_xlate.h apr_anylock.h apr_file_io.h apr_md4.h apr_reslist.h apr_thread_cond.h apr_xml.h apr_atomic.h apr_fnmatch.h apr_md5.h apr_ring.h apr_thread_mutex.h apu.h apr_base64.h apr_general.h apr_mmap.h apr_rmm.h apr_thread_proc.h apu_compat.h apr_buckets.h apr_getopt.h apr_network_io.h apr_sdbm.h apr_thread_rwlock.h apu_version.h apr_compat.h apr_global_mutex.h apr_optional.h apr_sha1.h apr_time.h apu_want.h apr_date.h apr_hash.h apr_optional_hooks.h apr_shm.h apr_uri.h apr_dbm.h apr_hooks.h apr_poll.h apr_signal.h apr_user.h apr_dso.h apr_inherit.h apr_pools.h apr_strings.h apr_uuid.h apr_env.h apr_ldap.h apr_portable.h apr_strmatch.h apr_version.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/openssl/ asn1.h buffer.h crypto.h e_os.h hmac.h obj_mac.h pem2.h rc4.h ssl.h symhacks.h x509_vfy.h asn1_mac.h cast.h des.h e_os2.h lhash.h objects.h pkcs12.h ripemd.h ssl2.h tls1.h x509v3.h bio.h comp.h dh.h ebcdic.h md2.h opensslconf.h pkcs7.h rsa.h ssl23.h tmdiff.h blowfish.h conf.h dsa.h err.h md4.h opensslv.h rand.h safestack.h ssl3.h txt_db.h bn.h conf_api.h dso.h evp.h md5.h pem.h rc2.h sha.h stack.h x509.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# ls /usr/include/xmltok/ asciitab.h iasciitab.h nametab.h xmldef.h xmlrole.h xmltok_impl.h hashtable.h latin1tab.h utf8tab.h xmlparse.h xmltok.h blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial# |