First error, corrected by using WSAEINPROGRESS and WSAEINTR C:\cygwin\home\Beefdude\development\qmpdclient-1.0.5\src>make && make install mingw32-make -f Makefile.Release mingw32-make[1]: Entering directory `C:/cygwin/home/Beefdude/development/qmpdcli ent-1.0.5/src' gcc -c -O2 -O2 -DUNICODE -DQT_LARGEFILE_SUPPORT -DVERSION="1.0.5" -DNAME="\"QMPD Client\"" -DNAMEVER="\"QMPDClient 1.0.5\"" -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB - DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.1.4/include/QtCore" -I"C:/Qt/4.1.4/include/QtGui" -I"C:/Qt/4.1.4/include" -I"C:/Qt/4.1.4/include/Ac tiveQt" -I"release" -I"." -I"c:\Qt\4.1.4\mkspecs\win32-g++" -o release\libmpdcli ent.o libmpdclient.c libmpdclient.c: In function `select_errno_ignore': libmpdclient.c:73: error: `EINPROGRESS' undeclared (first use in this function) libmpdclient.c:73: error: (Each undeclared identifier is reported only once libmpdclient.c:73: error: for each function it appears in.) libmpdclient.c:1747:2: warning: no newline at end of file mingw32-make[1]: *** [release\libmpdclient.o] Error 1 mingw32-make[1]: Leaving directory `C:/cygwin/home/Beefdude/development/qmpdclie nt-1.0.5/src' mingw32-make: *** [release] Error 2 Second error, fixed by changing gai_strerror to strerror C:\cygwin\home\Beefdude\development\qmpdclient-1.0.5\src>make && make install mingw32-make -f Makefile.Release mingw32-make[1]: Entering directory `C:/cygwin/home/Beefdude/development/qmpdcli ent-1.0.5/src' gcc -c -O2 -O2 -DUNICODE -DQT_LARGEFILE_SUPPORT -DVERSION="1.0.5" -DNAME="\"QMPD Client\"" -DNAMEVER="\"QMPDClient 1.0.5\"" -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB - DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"C:/Qt/4.1.4/include/QtCore" -I"C:/Qt/4.1.4/include/QtGui" -I"C:/Qt/4.1.4/include" -I"C:/Qt/4.1.4/include/Ac tiveQt" -I"release" -I"." -I"c:\Qt\4.1.4\mkspecs\win32-g++" -o release\libmpdcli ent.o libmpdclient.c libmpdclient.c:1747:2: warning: no newline at end of file g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt ime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows -o "qmpdclient.exe" object _script.qmpdclient.Release -L"c:\Qt\4.1.4\lib" -lmingw32 -lqtmain release\qmpdc lient_resource.o -lws2_32 -lQtGui4 -lQtCore4 ./release\libmpdclient.o(.text+0x487):libmpdclient.c: undefined reference to `ga i_strerrorW@4' collect2: ld returned 1 exit status mingw32-make[1]: *** [qmpdclient.exe] Error 1 mingw32-make[1]: Leaving directory `C:/cygwin/home/Beefdude/development/qmpdclie nt-1.0.5/src' mingw32-make: *** [release] Error 2