hello all, ive just compiled fftw3 statically and now im linking it, it works fine but its not static, i found somewhere saying to add -Dstatic to the makefile, so i did... now i get these errors ||=== Mod, Release ===| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\stdio.h|241|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\stdio.h|251|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\stdio.h|261|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\stdio.h|271|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\stdio.h|277|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\stdio.h|283|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\stdlib.h|316|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\SDL\SDL_endian.h|70|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\SDL\SDL_endian.h|103|error: expected identifier or '(' before numeric constant| c:\mingw\bin\..\lib\gcc\mingw32\4.4.0\..\..\..\..\include\SDL\SDL_endian.h|139|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\hmap.h|29|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\hmap.h|30|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\hmap.h|31|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\hmap.h|32|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\hmap.h|33|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\interface.h|43|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\interface.h|63|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\interface.h|68|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\misc.h|22|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|609|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|877|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1204|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1232|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1261|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1288|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1300|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1312|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1324|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1345|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1406|error: expected identifier or '(' before numeric constant| C:\Users\maddy\Mod\includes\powder.h|1407|error: expected identifier or '(' before numeric constant| ||=== Build finished: 31 errors, 0 warnings ===| Thanks