[Date Prev][Date Next] [Chronological] [Thread] [Top]

Error in Linking while executing make (ITS#1403)

Full_Name: Himanshu Gupta
Version: 2.0.15 
OS: Unix
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


While installing the OpenLdap Server version 2.0.15 on my machine, the behaviour
is as:
1. ./configure is executed fine with setting the environment variables
2. make depend works fine
3. while executing 
    I encounter following error 
    (Well the last part of the console reads as follows when the working folder
is /Himanshu/openldap-2.0.15/servers/slapd)
    $ gcc -g -O2 -I../../include -I../../include
-I/Himanshu/openldap-2.0.15/regex-0.12 -L/Himanshu/openldap-2.0.15/libraries
-L/Himanshu/openldap-2.0.15/regex-0.12 -o slapd main.o daemon.o connection.o
search.o filter.o add.o charray.o attr.o entry.o config.o backend.o result.o
operation.o dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o value.o ava.o
bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o aclparse.o
init.o user.o repl.o lock.o controls.o extended.o kerberos.o passwd.o schema.o
schema_check.o schema_init.o schema_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 libbackends.a -lavl -lldbm -lldif -llutil
-lldap_r -llber -lgdbm -lssl -lcrypto -lcrypt -lgnuregex
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
Anticipating a speedy reply