If i try to compile timidity with msys/mingw (newest versions) on windows Seven Home Premium 64-Bit i get the following error message (copy from the MINGW32 command prompt):

          -c -o tables.o `test -f 'tables.c' || echo './'`tables.c; \
        then mv -f ".deps/tables.Tpo" ".deps/tables.Po"; \
        else rm -f ".deps/tables.Tpo"; exit 1; \
        fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libarc -I../libunimod -I../in
terface -I../utils   -mms-bitfields -D__W32__ -DWINSOCK -DAU_W32  -O2 -mms-bitfi
elds -MT timidity.o -MD -MP -MF ".deps/timidity.Tpo" \
          -c -o timidity.o `test -f 'timidity.c' || echo './'`timidity.c; \
        then mv -f ".deps/timidity.Tpo" ".deps/timidity.Po"; \
        else rm -f ".deps/timidity.Tpo"; exit 1; \
        fi
timidity.c: In function 'read_config_file':
timidity.c:1661:4: error: 'optreset' undeclared (first use in this function)
timidity.c:1661:4: note: each undeclared identifier is reported only once for ea
ch function it appears in
timidity.c: In function 'main':
timidity.c:5842:2: error: 'optreset' undeclared (first use in this function)
make: ***  Error 1
make: Leaving directory `/home/ZatoLL/timidity/timidity'
make: ***  Error 1
make: Leaving directory `/home/ZatoLL/timidity'
make: ***  Error 2

ZatoLL@ZatoLL-PC ~/timidity
$