Error in compiling

¬µ¼u¥J bombbomb at wwdg.com
Thu Nov 1 04:35:26 UTC 2001


At 31/10/2001 10:05 下午 -0500, you wrote:

>On Wed, 31 Oct 2001, 炸彈仔 wrote:
>
>> /root/inn-2.3.2/authprogs/ckpasswd.c:89: undefined reference to `dbm_open'
>
>You may want to run ./configure --without-berkeleydb and recompile.
  I found that the error still occur even i run ./configure --without-bereleydb --with-perl. Any other solution or do i need to install other lib in order to compile successfully ? 

gcc   -o ckpasswd ckpasswd.o  -lresolv -lcrypt
ckpasswd.o: In function `GetDBPass':
/root/inn-2.3.2/authprogs/ckpasswd.c:89: undefined reference to `dbm_open'
/root/inn-2.3.2/authprogs/ckpasswd.c:94: undefined reference to `dbm_fetch'
/root/inn-2.3.2/authprogs/ckpasswd.c:101: undefined reference to `dbm_close'
/root/inn-2.3.2/authprogs/ckpasswd.c:96: undefined reference to `dbm_close'
collect2: ld returned 1 exit status
make[1]: *** [ckpasswd] Error 1
make[1]: Leaving directory `/root/inn-2.3.2/authprogs'
make: *** [all-authprogs] Error 2

                                                                bomb



More information about the inn-workers mailing list