Hi,
I cannot get nmh-1.0.1 to compile on my Linux SuSE 6.2 box,
here is what happens:
1) I run
./configure --with-mts=sendmail --with-editor=/usr/bin/emacs
2) I hack the config.h file (as required in the MACHINES file):
#define LINUX_STDIO 1
/* #define BUILTIN_FTP 1 (deleted) */
/* #define POPSERVICE "pop3" (deleted) */
3) I leave the Makefile untouched.
4) Changes in mts/smtp/smtp.c
/* # undef strlen
# undef strcpy
*/
/*
#ifdef MPOP
: sm_ispool ? "error writing to spool file"
#endif
*/
(I have to do as on AIX systems otherwise nmh doesn't compile).
5) make still complains when entering the uip directory:
make[1]: Entering directory `/usr/local/nmh-1.0.1/uip'
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 ali.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O2 aliasbr.c
gcc -s -o ali ali.o aliasbr.o ../config/version.o ../config/config.o ../sbr/libmh.a
../mts/sendmail/libsend.a ../zotnet/libzot.a -lndbm
../zotnet/libzot.a(mf.o): In function `getcpy':
mf.o(.text+0xd): undefined reference to `_cleanup'
collect2: ld returned 1 exit status
make[1]: *** [ali] Error 1
make[1]: Leaving directory `/usr/local/nmh-1.0.1/uip'
make: *** [all-recursive] Error 1
Thanks in advance for any idea about what I did wrong!
Daniel.