#define dbm_error(dbf) (0)
extern int dbm_dirfno ();
extern int dbm_pagfno ();
extern int dbm_rdonly ();
#define _NDBM_H_ 1
/* Then at the vary last line in the file. */
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,
/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: *** [nodelist.o] Error 1
make: 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 <email@example.com>
> Hody there '',
> >make: 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.
> 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...