[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Compiling/Linking error : v2.2.4
- To: Openldap list <openldap-software@OpenLDAP.org>
- Subject: Compiling/Linking error : v2.2.4
- From: Harry Rüter <harry_rueter@gmx.de>
- Date: Wed, 28 Jan 2004 15:11:05 +0100
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.6) Gecko/20040113
Hi evereybody,
i have the following compile/link error :
---snipp---
daemon.o(.text+0xf99): In function `slap_open_listener':
/opt/make/openldap-2.2.4/servers/slapd/daemon.c:793:
`sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
daemon.o(.text+0xf8c):/opt/make/openldap-2.2.4/servers/slapd/daemon.c:793:
`sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
main.o(.text+0x827): In function `main':
/opt/make/openldap-2.2.4/servers/slapd/main.c:491: undefined reference to
`overlay_init'
collect2: ld returned 1 exit status
make: *** [slapd] Error 1
Pentium200:/opt/make/openldap-2.2.4/servers/slapd #
---snipp---
My configuration :
Suse LINUX 8.2
Kernel 2.4.24
Heimdal 0.6
Cyrus-SASL-2.1.17
OpenLDAP 2.2.4
My configure/compile-script :
---snipp---
#!/bin/sh
CPPFLAGS="-I/usr/local/bdb-4.2/include -I/usr/local/heimdal/include
-I/usr/local/sasl2/include -I/usr/local/sasl2/include -I/usr/local/ssl/include"
LDFLAGS="-L/usr/local/bdb-4.2/lib -L/usr/local/heimdal/lib
-L/usr/local/sasl2/lib/sasl2 -L/usr/local/sasl2/lib -L/usr/local/ssl/lib"
export CPPFLAGS LDFLAGS
export
LD_LIBRARY_PATH=/usr/local/bdb-4.2/lib:/usr/local/heimdal/lib:/usr/local/sasl2:$LD_LIBRARY_PATH
make distclean
./configure \
--enable-slurpd \
--prefix=/usr/local/ldap-2-2-4 \
--sysconfdir=/usr/local/ldap-2-2-4/etc \
--mandir=/usr/man \
--enable-dynamic \
--enable-proctitle \
--enable-ipv6 \
--enable-local \
--with-cyrus-sasl \
--with-threads \
--with-tls \
--with-yielding-select \
--enable-slapd \
--enable-aci \
--enable-cleartext \
--enable-crypt \
--enable-lmpasswd \
--enable-spasswd \
--enable-modules \
--enable-rewrite \
--enable-rlookups \
--enable-slapi \
--enable-wrappers \
--enable-bdb \
--with-bdb-module=dynamic \
--enable-dnssrv \
--with-dnssrv-module=dynamic \
--enable-hdb \
--with-hdb-module=dynamic \
--enable-ldap \
--with-ldap-module=dynamic \
--enable-ldbm \
--with-ldbm-api=berkeley \
--with-ldbm-module=dynamic \
--with-ldbm-type=auto \
--enable-meta \
--with-meta-module=dynamic \
--enable-monitor \
--with-monitor-module=dynamic \
--enable-null \
--with-null-module=dynamic \
--enable-passwd \
--with-passwd-module=dynamic \
--enable-sql \
--with-sql-module=dynamic \
--with-dyngroup=yes \
--with-proxycache=yes \
&& make depend && make && make install
---snipp---
Any ideas ?
greets Harry