[FFmpeg-soc] FW: ffmpeg compilation problem against libavfilter (detailed)

dmitry at conft.org dmitry at conft.org
Mon Aug 18 21:00:17 CEST 2008


 

 

Dmitry Sherman C.E.O

INTERHOST - Network Solutions

Phone: +972-543181182

Fax:     +972-577976157

E-mail:  <mailto:dmitry at interhost.co.il> dmitry at interhost.co.il

web:  <http://www.interhost.co.il/> http://www.interhost.co.il/

From: Dmitry Sherman [mailto:dmitry at interhost.co.il] On Behalf Of
dmitry at conft.org
Sent: Monday, August 18, 2008 8:51 PM
To: 'ffmpeg-user at mplayerhq.hu'
Subject: ffmpeg compilation problem against libavfilter (detailed)

 

Hello,

Just checked out latest svn of ffmpeg and libavfilter:

Avfilter revision: Checked out revision 3450.

Ffmpeg: Checked out external at revision 27471. Checked out revision 14825

Configuring as following:

--enable-gpl --enable-libvorbis --enable-liba52 --enable-libdc1394
--enable-libgsm --enable-libmp3lame --enable-libfaad --enable-libfaac
--enable-pthreads --enable-libx264 --enable-libxvid --enable-shared
--enable-avfilter --enable-vhook --disable-ffserver

 

When trying to make getting this error:

 

vfilter/defaults.o libavfilter/defaults.c

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/usr/local/src/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm
-std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement
-Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno        -c
-o libavfilter/formats.o libavfilter/formats.c

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/usr/local/src/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm
-std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement
-Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno        -c
-o libavfilter/graphparser.o libavfilter/graphparser.c

libavfilter/graphparser.c: In function ג€˜free_inoutג€™:

libavfilter/graphparser.c:186: warning: passing argument 1 of ג€˜av_freeג€™
discards qualifiers from pointer target type

libavfilter/graphparser.c: In function ג€˜link_filter_inoutsג€™:

libavfilter/graphparser.c:233: warning: passing argument 1 of ג€˜av_freeג€™
discards qualifiers from pointer target type

libavfilter/graphparser.c: In function ג€˜parse_outputsג€™:

libavfilter/graphparser.c:316: warning: passing argument 1 of ג€˜av_freeג€™
discards qualifiers from pointer target type

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/usr/local/src/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm
-std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement
-Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno        -c
-o libavfilter/vf_crop.o libavfilter/vf_crop.c

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/usr/local/src/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm
-std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement
-Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno        -c
-o libavfilter/vf_drawbox.o libavfilter/vf_drawbox.c

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/usr/local/src/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm
-std=c99 -fomit-frame-pointer -pthread -g -Wdeclaration-after-statement
-Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno        -c
-o libavfilter/vf_fps.o libavfilter/vf_fps.c

libavfilter/vf_fps.c:27: error: initializer element is not constant

make: *** [libavfilter/vf_fps.o] Error 1

Dmitry Sherman C.E.O

INTERHOST - Network Solutions

Phone: +972-543181182

Fax:     +972-577976157

E-mail:  <mailto:dmitry at interhost.co.il> dmitry at interhost.co.il

web:  <http://www.interhost.co.il/> http://www.interhost.co.il/




More information about the FFmpeg-soc mailing list