Re: Error at compiling ifmail

private (doa@hood.hctc.com)
Sat, 19 Jul 1997 02:14:45 -0700 (PDT)

Greg,
Hi! Tried your added lines in /usr/include/ndbm.h without success:

#define dbm_error(dbf) (0)

#define dbm_clearerr(dbf)

extern int dbm_dirfno ();

extern int dbm_pagfno ();

extern int dbm_rdonly ();

#ifndef _NDBM_H_
#define _NDBM_H_ 1
/* Then at the vary last line in the file. */
#endif

Although the 3 lines you recommended were not there until I added them, I
still get the following errors in ifcico:

In file included from nlindex.h:9,
from nodelist.c:21:
/usr/include/ndbm.h:38: conflicting types for `datum'
/usr/include/ndbm.h:38: previous declaration of `datum'
/usr/include/ndbm.h:42: conflicting types for `DBM'
/usr/include/ndbm.h:42: previous declaration of `DBM'
/usr/include/ndbm.h:47: conflicting types for `dbm_open'
/usr/include/ndbm.h:47: previous declaration of `dbm_open'
/usr/include/ndbm.h:51: conflicting types for `dbm_fetch'
/usr/include/ndbm.h:51: previous declaration of `dbm_fetch'
/usr/include/ndbm.h:59: conflicting types for `dbm_firstkey'
/usr/include/ndbm.h:59: previous declaration of `dbm_firstkey'
/usr/include/ndbm.h:61: conflicting types for `dbm_nextkey'
/usr/include/ndbm.h:61: previous declaration of `dbm_nextkey'
make[1]: *** [nodelist.o] Error 1
make[1]: Leaving directory `/xtch/ifmail-2.8g/ifcico'
make: *** [all] Error 2

Clues please?? :(

On Fri, 18 Jul 1997, Greg F Frydenlund wrote:

> On Fri, 18 Jul 1997 11:26:41 -0700 (PDT) private <doa@hood.hctc.com>
> writes:
>
> Hody there '',
>
> >make[1]: Entering directory `/xtch/ifmail-2.8g/ifcico'
> >Any help would be deeply appreciated. Due to the sheer complexity of
> >the package, I don't know where to start to resolve this. Is there a
> >simple fix?
>
> Why yes, have a look at the /usr/include/ndbm.h file. Look an see if you
> have these lines in it:
>
> #ifndef _NDBM_H_
> #define _NDBM_H_ 1
> Then at the vary last line in the file.
> #endif
>
> Add them if they dont exist and try another compile...
> ~$ make clean
> ~$ make all
>
> And finally, you should really consider upgrading to 2.11 due to numerous
> updates, but I guess if you get this to compile then you'll be ready to
> try 2.11...:-)
>
> That otta get you there...
> -Greg-
>