Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: OpenLDAP + gdbm? Date: Mon, 3 Dec 2001 14:08:40 +0200 Message-ID: <30B026EA81B98D4082E2FD73B14CB812200881@fsfimail1.FI.F-Secure.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OpenLDAP + gdbm? Thread-Index: AcF78z7RqLzKbvJ5TEWPBwJBALRm/g== From: "Tikka, Sami" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fB3C9UN29177 I'm trying to compile OpenLDAP with LDBM support for libgdbm. I have the latest Cygwin. I did: LIBS=-lregex ./configure make depend make Everything goes just fine until: gcc -g -O2 -I../../include -I../../include -L/home/Administrator/src/openldap-2. 0.18/libraries -o slapd main.o daemon.o connection.o search.o filter.o add.o cha rray.o attr.o entry.o config.o backend.o result.o operation.o dn.o compare.o mod ify.o delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filt erentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o lock.o c ontrols.o extended.o kerberos.o passwd.o schema.o schema_check.o schema_init.o s chema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o configinfo.o starttls.o index.o sets.o root_dse.o sasl.o module.o suffixalias.o mods.o version.o libback ends.a -lavl -lldbm -lldif -llutil -lldap_r -llber -lgdbm -lssl -lcrypto -lcrypt -lregex Warning: resolving _gdbm_errno by linking to __imp__gdbm_errno (auto-import) nmth000000.o(.idata$4+0x0): undefined reference to `_nm__gdbm_errno' collect2: ld returned 1 exit status What's wrong? $ nm /usr/lib/libgdbm.a|grep gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno U _gdbm_errno 00000010 D _gdbm_errno So, gdbm_errno does exist, in the data segment. What am I doing wrong? -- Sami Tikka tel: +358 9 2520 5115 Senior Software Engineer fax: +358 9 2520 5015 F-Secure Corporation http://www.F-Secure.com/ F-Secure: Securing the Mobile Enterprise -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/