Re: Compiling 2.10-tx under Debian

Greg F Frydenlund ()
Fri, 30 May 1997 19:29:51 PST

On Fri, 30 May 1997 06:23:03 -0400 (EDT) Randy Edwards writes:

> I've editted the CONFIG file and added a -DPRE_21_LINUX line in the
>OPTS section and deleted the -DHAS_NDBM_H line in the GEN_OPTS

You probably shouldn't remove the -DHAS_NDBH_H option, ifmail
uses it quite extensivly throughout its code. If your system didn't come
with /include/ndbm.h than you can always add it by installing an archive
called gdbm-1.7.3-ELF.gz which can be found at most sunsite mirrors.

>message.o: In function `putmessage':
>message.o(.text+0x240d): undefined reference to `idlookup'
>make[1]: *** [ifmail] Error 1
>make: *** [all] Error 2

This error was probably created by a missing #ifdef HAS_NDBH_H in
one of ifmails-txs header files. Looking at the source in message.c there
only one reference to idlookup and you say you remove -DHAS_NDBM_H option
from the config file (right!) than this block of source should never of
been compiled . :(