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

Subject: Error in Linking while executing make (ITS#1403)

Hi Himanshu,
            I also encounter this problem. Please do the following step may
be your error rectified.

When we install cygwin on our machine it automatically install the gdbm.
what you can do is to delete the already gdbm installed and download the
gdbm and reinstall it.
Please follow the following steps.

			download and install GNU gdbm-1.0.8 from FSF
<http://www.fsf.org/>'s download site <ftp://ftp.gnu.org/pub/gnu/gdbm/>.
                         Please note the following point while installing
				i.	copy the gdbm-1.0.8.tar at
./cygwin/contrib/gdbm. If already exist please delete the folder gdbm-1.0.8.
				ii.	Unpack it and install it. Read the
instructions from install file.
				iii.Copy libgdbm.a and libgdbm.Ia into the
Cygwin lib directory.if already exist replace it.
				iv.Copy gdbm.h into the following locations
:- if already exist replace it.
				1.	at ./cygwin/include
				          2. at ./cygwin/usr/include

BTW:- this rectification is just a workaround I don't know the exact reason
of why it occurs. but by following these steps. Openldap is install properly
on my machine.

Hazura Singh,
QUARK Media House (India) Pvt. Ltd.
E-Mail: hazsingh@quark.stpm.soft.net

Date: Wed, 24 Oct 2001 08:48:56 GMT
From: himanshu.gupta.2@winterthur.com
To: openldap-its@OpenLDAP.org
Subject: Error in Linking while executing make

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
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
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
bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o
init.o user.o repl.o lock.o controls.o extended.o kerberos.o passwd.o
schema_check.o schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.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