Complie errors 2.3.2

Support support at obantec.net
Wed Mar 20 19:45:20 UTC 2002


Hi

I can't see that in config.h
Just this

/* Define if you have the <db1/ndbm.h> header file.  */
#define HAVE_DB1_NDBM_H 1

Mark

----- Original Message -----
From: "Russ Allbery" <rra at stanford.edu>
To: <inn-workers at isc.org>
Sent: Wednesday, March 20, 2002 7:21 PM
Subject: Re: Complie errors 2.3.2


>
> Support <support at obantec.net> writes:
>
> > make error as follows
>
> > make[1]: Entering directory `/usr/local/src/inn-2.3.2/authprogs'
> > gcc -g -O2 -I../include     -c -o ckpasswd.o ckpasswd.c
> > gcc   -o ckpasswd ckpasswd.o  -lresolv -lcrypt
> > ckpasswd.o: In function `GetDBPass':
> > /usr/local/src/inn-2.3.2/authprogs/ckpasswd.c:89: undefined reference to
> > `dbm_open'
> > /usr/local/src/inn-2.3.2/authprogs/ckpasswd.c:94: undefined reference to
> > `dbm_fetch'
> > /usr/local/src/inn-2.3.2/authprogs/ckpasswd.c:96: undefined reference to
> > `dbm_close'
> > /usr/local/src/inn-2.3.2/authprogs/ckpasswd.c:101: undefined reference
to
> > `dbm_close'
> > collect2: ld returned 1 exit status
> > make[1]: *** [ckpasswd] Error 1
> > make[1]: Leaving directory `/usr/local/src/inn-2.3.2/authprogs'
> > make: *** [all-authprogs] Error 2
> > [root at proteus2 inn-2.3.2]#
>
> Hm, this problem again.  For some reason configure thinks you have dbm
> libraries when you don't.  The workaround is, after running configure,
> edit include/config.h and change the #define HAVE_DBM line to #undef
> HAVE_DBM.
>
> --
> Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>
>
>     Please send questions to the list rather than mailing me directly.
>      <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.



More information about the inn-workers mailing list