[FFmpeg-devel] why fmpeg compilation for MinGW does not work ?

Ajay ajayp
Fri Mar 27 06:56:00 CET 2009



Hi,

     I downloaded latest ffmpeg release 0.5  from SVN  ,and install MinGW 
and MSYS successfully.
     i can compile this code base with cygwin for static library as well as 
dynamic libraries  successfully.

but when i compiled the same code base for windows by using MinGW &
MSYS , the build stops in middle without any warnings & errors for
both static and dynamic library . i am not getting what s wrong this
the process .
     please have a look on the following logs & let me know . why it stops 
here.

     Timely help would be highly appreciated.

Regards
 Ajay

----------------------------------------------------------------------------
----------------------------------------------------------------------------
------------------------------

$ ./configure --enable-memalign-hack  --enable-static --disable-shared 
--disable-vhook --extra-cflags=-fno-common

$ make

gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/intfloat_readwrite.o
libavutil/intfloat_readwrite.c
gcc -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/c/ffmpeg_05_Windows"
-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fno-common -std=c99
-fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual
-Wwrite-strings -Wundef -O3 -fno-math-errno -c -o libavutil/lfg.o
libavutil/lfg.c
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I. -I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/lls.o libavutil/lls.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/log.o libavutil/log.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/lzo.o libavutil/lzo.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/mathematics.o
libavutil/mathematics.c
gcc -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/c/ffmpeg_05_Windows"
-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fno-
common -std=c99
-fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual
-Wwrite-strings -Wundef -O3 -fno-math-errno -c -o libavutil/md5.o
libavutil/md5.c
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I. -I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/mem.o libavutil/mem.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/random.o libavutil/random.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/rational.o libavutil/rational.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/rc4.o libavutil/rc4.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/sha1.o libavutil/sha1.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/tree.o libavutil/tree.c
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o libavutil/utils.o libavutil/utils.c
rm -f libavutil/libavutil.a
ar
rc libavutil/libavutil.a libavutil/adler32.o libavutil/aes.o
libavutil/avstring.o libavutil/base64.o libavutil/crc.o libavutil/des.o
libavutil/fifo.o libavutil/intfloat_readwrite.o libavutil/lfg.o
libavutil/lls.o libavutil/log.o libavutil/lzo.o libavutil/mathematics.o
libavutil/md5.o libavutil/mem.o libavutil/random.o libavutil/rational.o
libavutil/rc4.o libavutil/sha1.o libavutil/tree.o libavutil/utils.o 
ranlib libavutil/libavutil.a
gcc
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/c/ffmpeg_05_Windows" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-fno-common -std=c99 -fomit-frame-pointer -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wundef
-O3 -fno-math-errno -c -o ffmpeg.o ffmpeg.c
In file included from ffmpeg.c:37:
libavformat/framehook.h:25:2:
warning: #warning VHOOK is deprecated. Please help finishing
libavfilter instead of wasting your time writing new filters for this
crappy filter system.

 



More information about the ffmpeg-devel mailing list