This could just be me being stupid, but I'm having problems compiling 1.8.3p6 on cygwin. With an unmodified copy of Penn, I get an error when running a 'make':
funmath.c:1101: error: parse error before '/' token
I tried several things to get around it; adding a '#define HAVE_LOG2' sorted the compile problem, but the game immediately crashed on restart (I'm not able to get a useful coredump with cygwin, I'm afraid). Tried changing the definition of log2 to be:
#define log2(x) (log(x)/log(2.0))
which gave me the warning
funmath.c:1100:1: warning: "log2" redefined
in file included from funmath.c:12:
/usr/include/math.h:225:1 warning: this is the location of the previous definition
On the assumption that maybe cygwin had a log2 but it was broken, I tried changing all the calls of log2() to use log2New(), and renamed the definition in funmath.c the same, which again let it compile successfully, but caused a crash on reboot. Not sure of anything else that might fix it or provide more useful info, but if there is anything I can do/check for you, please let me know...
Mike