[modcfgldap-devel] cannot compile
Status: Beta
Brought to you by:
abrenk
From: Haymo M. <ha...@ha...> - 2004-09-25 13:20:06
|
hi! I am running debian woody and apache2 from backports.org. I compiled apache from the debian source package and downloaded the=20 source package of libapache2-mod-cfg-ldap. Everything worked fine til=20 there, but trying to buildpackage did not succed. What there sould be wrong... here some version stamps: apache2: 2.0.51-1.backports.org.1 libldap2-dev: 2.2.1beta-0.1-0woody1 (try before with 2.0.something=20 which did even not work) don't know what could be important either? here the compile error: -- blackhole:~/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial#=20 dpkg-buildpackage dpkg-buildpackage: source package is libapache2-mod-cfg-ldap dpkg-buildpackage: source version is 1.2-unofficial-1 dpkg-buildpackage: source maintainer is S=E9bastien CRAMATTE=20 <co...@ze...> dpkg-buildpackage: host architecture is i386 debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp /usr/bin/make clean make[1]: Entering directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' rm -rf *.lo *.slo *.so *.o .libs/ *~ core make[1]: Leaving directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' dh_clean dpkg-source -b libapache2-mod-cfg-ldap-1.2-unofficial dpkg-source: building libapache2-mod-cfg-ldap using existing=20 libapache2-mod-cfg-ldap_1.2-unofficial.orig.tar.gz dpkg-source: building libapache2-mod-cfg-ldap in=20 libapache2-mod-cfg-ldap_1.2-unofficial-1.diff.gz dpkg-source: building libapache2-mod-cfg-ldap in=20 libapache2-mod-cfg-ldap_1.2-unofficial-1.dsc debian/rules build dh_testdir /usr/bin/make make[1]: Entering directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' apxs2 -c -lldap_r -o mod_cfg_ldap.so mod_cfg_ldap.c -shared /usr/bin/libtool --silent --mode=3Dcompile gcc -prefer-pic -pipe=20 -I/usr/include/xmltok -I/usr/include/openssl -O2=20 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=3D2 -D_REENTRANT=20 -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pipe=20 -I/usr/include/xmltok -I/usr/include/openssl -O2 -pthread=20 -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-0=20 -I/usr/include -c -o mod_cfg_ldap.lo mod_cfg_ldap.c && touch=20 mod_cfg_ldap.slo 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=20 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 functio= n) 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) apxs:Error: Command failed with rc=3D65536 . make[1]: *** [mod_cfg_ldap.so] Error 1 make[1]: Leaving directory=20 `/root/mod_cfg_ldap/libapache2-mod-cfg-ldap-1.2-unofficial' make: *** [build-stamp] Error 2 |