Hi. I have the latest cygwin on Windows 2000, SP3.
NMH fails to compile.
Steve Kelem
nmh configuration
-----------------
nmh version : 1.1-RC1
target os : i686-pc-cygwin
compiler : gcc
compiler flags : -Wall -O2
linker flags : -s
source code location : .
binary install path : /usr/local/mh/bin
libary install path : /usr/local/mh/lib
config files install path : /usr/local/mh/etc
man page install path : /usr/local/mh/man
backup prefix : ,
transport system : smtp
file locking type : dot
default smtp servers : localhost
default editor : /usr/bin/vi
default pager : /usr/bin/less
email address masquerading :
pop is enabled : yes (POP3)
SASL support : no
for subdir in h config sbr mts uip etc man docs; do \
(cd $subdir && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-Wall
-O2' LDFLAGS='-s' LIBS='' prefix='/usr/local/mh' exec_prefix='/usr/local/mh'
bindir='/usr/local/mh/bin' etcdir='/usr/local/mh/etc' libdir='/usr/local/mh/lib'
mandir='/usr/local/mh/man' mailspool='/dev/null' sendmailpath='no'
default_editor='/usr/bin/vi' default_pager='/usr/bin/less' all) || exit 1; \
done
make[1]: Entering directory `/usr/local/src/nmh-1.1-RC1/h'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/nmh-1.1-RC1/h'
make[1]: Entering directory `/usr/local/src/nmh-1.1-RC1/config'
gcc -c -DHAVE_CONFIG_H -DNMHBINDIR='"/usr/local/mh/bin"' -DNMHETCDIR='"/usr/local/mh/etc"'
-DNMHLIBDIR='"/usr/local/mh/lib"' -DDEFAULT_EDITOR='"/usr/bin/vi"' -DDEFAULT_PAGER='"/usr/bin/less"'
-I.. -I.. -Wall -O2 config.c./version.sh 1.1-RC1 > version.c
gcc -c -DHAVE_CONFIG_H -I.. -I.. -Wall -O2 version.c
make[1]: Leaving directory `/usr/local/src/nmh-1.1-RC1/config'
make[1]: Entering directory `/usr/local/src/nmh-1.1-RC1/sbr'
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 add.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 addrsbr.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 ambigsw.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 atooi.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 brkstring.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 check_charset.c
gcc -c -DHAVE_CONFIG_H -DNMHETCDIR='"/usr/local/mh/etc"' -DMAILSPOOL='"/dev/null"'
-DSENDMAILPATH='"no"' -I.. -I. -I.. -Wall -O2 client.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 closefds.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 concat.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 context_del.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 context_find.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 context_foil.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 context_read.c
context_read.c: In function `context_read':
context_read.c:26: warning: variable `ib' might be clobbered by `longjmp' or
`vfork'
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 context_replace.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 context_save.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 copy.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 copyip.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 cpydata.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 cpydgst.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 discard.c
discard.c: In function `discard':
discard.c:59: warning: implicit declaration of function `fpurge'
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 done.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I.. -Wall -O2 dtime.c
dtime.c:33: `timezone' redeclared as different kind of symbol
/usr/include/time.h:117: previous declaration of `timezone'
make[1]: *** [dtime.o] Error 1
make[1]: Leaving directory `/usr/local/src/nmh-1.1-RC1/sbr'
make: *** [all-recursive] Error 1