Errors Compiling Pennmush-1.8.3p10 in Cygwin

Submitted by Tamesis on Sat, 2010-01-16 06:20

Hey everyone,

I've been struggling with getting Pennmush-1.8.3p10 to compile on Cygwin. The Cygwin package on my computer is complete, such that Pennmush-1.8.1p10 compiles cleanly. The following is the error message I am receiving during the compile process:

gcc -std=gnu99 -ggdb -O -W -Wall -pedantic -Wno-comment -I/usr/include/ -I.. -I.
./hdrs -c -o strutil.o strutil.c
strutil.c:1193: error:conflicting types for 'imaxdiv_t'
/usr/include/inttypes.h:231: error: previous declaration of 'imaxdiv_t'
make[1]: *** [strutil.o] Error1
make[1]: Leaving directory '/home/pennmush-1.8.3p10/src'
make: *** [all] Error2

I should also note that I experience this same error for pennmush-1.8.3p11 and for 1.8.3p0. Any help you may offer would be greatly appreciated!

Thanks,
Tamesis