Hello to everyone, I am trying to compile decred/cgminer from a long time in linux 16.04 using mingw32 After this command i have no errors : CPPFLAGS="-I`pwd`/../win32/include" LDFLAGS="-L`pwd`/../win32/lib -lcurldll" ./configure --host=i586-mingw32msvc --disable-git-version --enable-opencl --disable-adl But when I do make, I am having this error : cgminer.c: In function ‘api_thread’: cgminer.c:5250: error: incompatible types in assignment cgminer.c: In function ‘main’: cgminer.c:8677: warning: integer constant is too large for ‘long’ type Makefile:850: recipe for target 'cgminer-cgminer.o' failed make[2]: *** [cgminer-cgminer.o] Error 1 make[2]: Leaving directory '/home/cgminer' Makefile:1208: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/cgminer' Makefile:654: recipe for target 'all' failed I even tried this fix : https://github.com/decred/cgminer/pull/2 , but it didn't work. Any ideas , will be greatly appreciated ! Thank you !