[FFmpeg-devel] Commit r16995 breaks OS/2 (and others?)

Dave Yeo daveryeo
Wed Feb 4 23:44:39 CET 2009


Hi commit r16995, configure: move basic sanity tests before other tests, 
breaks the build on OS/2. From config.err,

check_cc
BEGIN F:/XFREE86/TMP/ffmpeg-conf--34352-.c
     1   int main(void){ return 0; }
END F:/XFREE86/TMP/ffmpeg-conf--34352-.c
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -c -o 
F:/XFREE86/TMP/ffmpeg-conf--
gcc -o F:/XFREE86/TMP/ffmpeg-conf--34352- 
F:/XFREE86/TMP/ffmpeg-conf--34352-.o
SYS1041: The name F:\XFREE86\TMP\ffmpeg-conf--34352- is not recognized as an
internal or external command, operable program or batch file.
C compiler test failed.

The problem is the sanity test has moved to before $EXESUF is defined so 
GCC has no way to know that an executable is being built.
The simplest fix is reverting the patch.
I'm going out shortly but can look for other fixes later if the sanity 
test is needed to stay where it is.
Dave




More information about the ffmpeg-devel mailing list