On Fri, Jul 3, 2009 at 7:23 PM, Gregory P. Ennis<PoMec@xxxxxxxxx> wrote: > CentOs zoneminder users, > > I have been trying to install zoneminder on Centos 5.3 > (2.6.18-128.1.16.el5xen) and have hit a brick wall with ffmpeg > which zoneminder has as a dependancy. > > There were no rpm's in centos or rpmforge so I have followed the > instructions on the zoneminder website for a CentOs install. ffmpeg is in rpmforge, look more carefully. rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm yum install ffmpeg rpm -qi ffmpeg: Name : ffmpeg Version : 0.4.9 Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ > > I have posted a note on the zoneminder list, but have not been able to > get any takers to assist me. I am not a C programer so I have a lack of > understanding as to how to proceed. > > I have followed the steps outlined on zoneminder site as to how to > install on Centos 5.3 > > http://www.zoneminder.com/wiki/index.php/CentOS > > The sequence step I have not been able to pass beyond with these > instructions is the following : > > svn checkout -r 11879 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg > cd ffmpeg/ > ./configure > make > > When I execute the make command I get the following that results in an Error message. > > I noticed that some of you have been able to use zoneminder on Centos > 5.3, Can you help me get zoneminder installed. > > Thank you much, > > Greg Ennis > P.S. here is the output of make > > > [root@SeVi ffmpeg]# make > "/root/software/ffmpeg"/version.sh "/root/software/ffmpeg" > gcc -fPIC -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall > -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls > -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -I"/root/software/ffmpeg"/libavcodec > -I"/root/software/ffmpeg"/libavformat > -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavdevice -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H -MM vhook/fish.c > vhook/null.c vhook/watermark.c vhook/drawtext.c vhook/imlib2.c > vhook/ppm.c version.h | sed 's,^\([a-z]\),vhook/\1,' > .vhookdep > vhook/drawtext.c:61:10: error: #include expects "FILENAME" or > <FILENAME> > vhook/drawtext.c:62:10: error: #include expects "FILENAME" or > <FILENAME> > gcc -MM -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall > -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls > -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -I"/root/software/ffmpeg"/libavcodec > -I"/root/software/ffmpeg"/libavformat > -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavdevice -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H ffmpeg.c > ffserver.c cmdutils.c 1>.depend > make -C libavutil all > make[1]: Entering directory `/root/software/ffmpeg/libavutil' > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o adler32.o adler32.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o aes.o aes.c > aes.c: In function ‘subshift’: > aes.c:56: warning: initialization from incompatible pointer type > aes.c:57: warning: initialization from incompatible pointer type > aes.c: In function ‘crypt’: > aes.c:84: warning: passing argument 2 of ‘mix’ from incompatible pointer > type > aes.c:85: warning: passing argument 1 of ‘addkey’ from incompatible > pointer type > aes.c:85: warning: passing argument 2 of ‘addkey’ from incompatible > pointer type > aes.c:85: warning: passing argument 3 of ‘addkey’ from incompatible > pointer type > aes.c:87: warning: passing argument 1 of ‘subshift’ from incompatible > pointer type > aes.c: In function ‘av_aes_crypt’: > aes.c:92: warning: passing argument 1 of ‘addkey’ from incompatible > pointer type > aes.c:92: warning: passing argument 2 of ‘addkey’ from incompatible > pointer type > aes.c:92: warning: passing argument 3 of ‘addkey’ from incompatible > pointer type > aes.c:94: warning: passing argument 4 of ‘crypt’ from incompatible > pointer type > aes.c:96: warning: passing argument 1 of ‘addkey’ from incompatible > pointer type > aes.c:96: warning: passing argument 2 of ‘addkey’ from incompatible > pointer type > aes.c:96: warning: passing argument 3 of ‘addkey’ from incompatible > pointer type > aes.c:99: warning: passing argument 1 of ‘addkey’ from incompatible > pointer type > aes.c:99: warning: passing argument 2 of ‘addkey’ from incompatible > pointer type > aes.c:99: warning: passing argument 3 of ‘addkey’ from incompatible > pointer type > aes.c:101: warning: passing argument 1 of ‘addkey’ from incompatible > pointer type > aes.c:101: warning: passing argument 2 of ‘addkey’ from incompatible > pointer type > aes.c:101: warning: passing argument 3 of ‘addkey’ from incompatible > pointer type > aes.c:102: warning: passing argument 4 of ‘crypt’ from incompatible > pointer type > aes.c:103: warning: passing argument 1 of ‘addkey’ from incompatible > pointer type > aes.c:103: warning: passing argument 2 of ‘addkey’ from incompatible > pointer type > aes.c:103: warning: passing argument 3 of ‘addkey’ from incompatible > pointer type > aes.c: In function ‘av_aes_init’: > aes.c:149: warning: passing argument 1 of ‘init_multbl2’ from > incompatible pointer type > aes.c:150: warning: passing argument 1 of ‘init_multbl2’ from > incompatible pointer type > aes.c:180: warning: passing argument 1 of ‘subshift’ from incompatible > pointer type > aes.c:181: warning: passing argument 1 of ‘mix’ from incompatible > pointer type > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o base64.o base64.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o crc.o crc.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o des.o des.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o fifo.o fifo.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o intfloat_readwrite.o intfloat_readwrite.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o lls.o lls.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o log.o log.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o lzo.o lzo.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o mathematics.o mathematics.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o md5.o md5.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o mem.o mem.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o random.o random.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o rational.o rational.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o rc4.o rc4.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o sha1.o sha1.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o string.o string.c > gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -D_ISOC9X_SOURCE -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o tree.o tree.c > rm -f libavutil.a > ar rc libavutil.a adler32.o aes.o base64.o crc.o des.o fifo.o > intfloat_readwrite.o lls.o log.o lzo.o mathematics.o md5.o mem.o > random.o rational.o rc4.o sha1.o string.o tree.o > ranlib libavutil.a > make[1]: Leaving directory `/root/software/ffmpeg/libavutil' > make -C libavcodec all > make[1]: Entering directory `/root/software/ffmpeg/libavcodec' > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o allcodecs.o allcodecs.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o audioconvert.o audioconvert.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o bitstream.o bitstream.c > bitstream.c: In function ‘alloc_table’: > bitstream.c:114: warning: ‘ff_realloc_static’ is deprecated (declared at > bitstream.c:42) > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o bitstream_filter.o bitstream_filter.c > bitstream_filter.c: In function ‘av_bitstream_filter_filter’: > bitstream_filter.c:62: warning: cast discards qualifiers from pointer > target type > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o dsputil.o dsputil.c > dsputil.c: In function ‘dct_sad8x8_c’: > dsputil.c:3443: warning: dereferencing type-punned pointer will break > strict-aliasing rules > dsputil.c: In function ‘dct_max8x8_c’: > dsputil.c:3508: warning: dereferencing type-punned pointer will break > strict-aliasing rules > dsputil.c: In function ‘quant_psnr8x8_c’: > dsputil.c:3525: warning: dereferencing type-punned pointer will break > strict-aliasing rules > dsputil.c:3526: warning: dereferencing type-punned pointer will break > strict-aliasing rules > dsputil.c: In function ‘rd8x8_c’: > dsputil.c:3551: warning: dereferencing type-punned pointer will break > strict-aliasing rules > dsputil.c: In function ‘bit8x8_c’: > dsputil.c:3629: warning: dereferencing type-punned pointer will break > strict-aliasing rules > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o error_resilience.o error_resilience.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o eval.o eval.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o faandct.o faandct.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o imgconvert.o imgconvert.c > In file included from imgconvert.c:38: > i386/mmx.h:24:2: warning: #warning Everything in this header is > deprecated, use plain asm()! New code using this header will be > rejected. > imgconvert.c: In function ‘img_convert’: > imgconvert.c:2563: warning: ‘img_convert’ is deprecated (declared at > imgconvert.c:2332) > imgconvert.c:2566: warning: ‘img_convert’ is deprecated (declared at > imgconvert.c:2332) > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o jrevdct.o jrevdct.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o jfdctfst.o jfdctfst.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o jfdctint.o jfdctint.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o mpeg12.o mpeg12.c > mpeg12.c: In function ‘init_2d_vlc_rl’: > mpeg12.c:92: warning: ‘av_mallocz_static’ is deprecated (declared at > avcodec.h:2905) > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o mpeg12data.o mpeg12data.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o mpegvideo.o mpegvideo.c > mpegvideo.c: In function ‘init_vlc_rl’: > mpegvideo.c:767: warning: ‘av_mallocz_static’ is deprecated (declared at > avcodec.h:2905) > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o opt.o opt.c > opt.c: In function ‘av_set_string’: > opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible > pointer type > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o parser.o parser.c > parser.c: In function ‘av_parser_change’: > parser.c:196: warning: cast discards qualifiers from pointer target > type > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o raw.o raw.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o resample.o resample.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o resample2.o resample2.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o simple_idct.o simple_idct.c > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o utils.o utils.c > utils.c: In function ‘ff_realloc_static’: > utils.c:94: warning: ‘av_mallocz_static’ is deprecated (declared at > utils.c:77) > utils.c: In function ‘do_free’: > utils.c:122: warning: ‘av_free_static’ is deprecated (declared at > utils.c:107) > utils.c: In function ‘avcodec_get_context_defaults2’: > utils.c:792: warning: assignment discards qualifiers from pointer target > type > utils.c: In function ‘avcodec_encode_audio’: > utils.c:900: warning: cast discards qualifiers from pointer target type > utils.c: In function ‘avcodec_encode_video’: > utils.c:917: warning: cast discards qualifiers from pointer target type > utils.c: In function ‘avcodec_encode_subtitle’: > utils.c:930: warning: cast discards qualifiers from pointer target type > utils.c: In function ‘av_parse_video_frame_size’: > utils.c:1484: warning: cast discards qualifiers from pointer target > type > utils.c:1487: warning: cast discards qualifiers from pointer target > type > gcc -I"/root/software/ffmpeg"/libswscale > -I"/root/software/ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE > -I"/root/software/ffmpeg" -I"/root/software/ffmpeg" > -I"/root/software/ffmpeg"/libavutil -fomit-frame-pointer -g > -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization > -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual > -Wwrite-strings -O3 -c -o imgresample.o imgresample.c > In file included from imgresample.c:157: > i386/mmx.h:24:2: warning: #warning Everything in this header is > deprecated, use plain asm()! New code using this header will be > rejected. > imgresample.c:362: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c:429: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c: In function ‘img_resample_init’: > imgresample.c:430: warning: ‘img_resample_full_init’ is deprecated > (declared at avcodec.h:2304) > imgresample.c: At top level: > imgresample.c:440: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c: In function ‘img_resample_full_init’: > imgresample.c:441: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c:446: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c: At top level: > imgresample.c:487: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c:509: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c:519: error: conflicting types for ‘sws_getContext’ > /root/software/ffmpeg/libswscale/swscale.h:133: error: previous > declaration of ‘sws_getContext’ was here > imgresample.c: In function ‘sws_getContext’: > imgresample.c:535: warning: ‘img_resample_init’ is deprecated (declared > at imgresample.c:429) > imgresample.c:537: warning: ‘ImgReSampleContext’ is deprecated > imgresample.c: In function ‘sws_freeContext’: > imgresample.c:555: warning: ‘img_resample_close’ is deprecated (declared > at imgresample.c:510) > imgresample.c: At top level: > imgresample.c:578: error: conflicting types for ‘sws_getCachedContext’ > /root/software/ffmpeg/libswscale/swscale.h:260: error: previous > declaration of ‘sws_getCachedContext’ was here > imgresample.c: In function ‘sws_scale’: > imgresample.c:633: warning: ‘img_convert’ is deprecated (declared at > avcodec.h:2456) > imgresample.c:664: warning: ‘img_resample’ is deprecated (declared at > imgresample.c:489) > imgresample.c:672: warning: ‘img_convert’ is deprecated (declared at > avcodec.h:2456) > make[1]: *** [imgresample.o] Error 1 > make[1]: Leaving directory `/root/software/ffmpeg/libavcodec' > make: *** [lib] Error 2 > -- > Greg > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos