Moin, I try to build the latest nmh on a Mac OS X box. The make dies with
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 slocal.c slocal.c: In function 'parse': slocal.c:780: warning: pointer targets in passing argument 2 of 'm_getfld' differ in signedness slocal.c:780: warning: pointer targets in passing argument 3 of 'm_getfld' differ in signedness slocal.c:786: warning: pointer targets in passing argument 2 of 'm_getfld' differ in signedness slocal.c:786: warning: pointer targets in passing argument 3 of 'm_getfld' differ in signedness slocal.c: In function 'suppress_duplicates': slocal.c:1533: error: 'datum' undeclared (first use in this function) slocal.c:1533: error: (Each undeclared identifier is reported only once slocal.c:1533: error: for each function it appears in.) slocal.c:1533: error: parse error before 'key' slocal.c:1534: error: 'DBM' undeclared (first use in this function) slocal.c:1534: error: 'db' undeclared (first use in this function) slocal.c:1546: warning: pointer targets in passing argument 2 of 'm_getfld' differ in signedness slocal.c:1546: warning: pointer targets in passing argument 3 of 'm_getfld' differ in signedness slocal.c:1554: warning: pointer targets in passing argument 2 of 'm_getfld' differ in signedness slocal.c:1554: warning: pointer targets in passing argument 3 of 'm_getfld' differ in signedness slocal.c:1560: warning: pointer targets in passing argument 2 of 'm_getfld' differ in signedness slocal.c:1560: warning: pointer targets in passing argument 3 of 'm_getfld' differ in signedness slocal.c:1563: error: 'key' undeclared (first use in this function) slocal.c:1568: warning: implicit declaration of function 'dbm_open' slocal.c:1586: error: 'value' undeclared (first use in this function) slocal.c:1586: warning: implicit declaration of function 'dbm_fetch' slocal.c:1595: warning: implicit declaration of function 'dbm_store' slocal.c:1595: error: 'DBM_INSERT' undeclared (first use in this function) slocal.c:1600: warning: implicit declaration of function 'dbm_close'make[1]: *** [slocal.o] Error 1make: *** [all-recursive] Error 1 How do I build nmh on Mac OS X? Many thanks Matthias _______________________________________________ Nmh-workers mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/nmh-workers
