There is a problem with the resource file of libsndfile-1.0.24. The libsndfile-1.0.21-20101127.diff patch creates a libsndfile.rc resource file that has a syntax error: FILEVERSION and PRODUCTVERSION apparently take 5 arguments, not 4. Changing the lines 742 and 743 in the path to the following, made libsndfile compile without problems: +FILEVERSION 0,1,0,17 +PRODUCTVERSION 0,1,0,17 Reproducible: Always