[Ffmpeg-php-user] make errors on CVS and 0.4.6
Brought to you by:
tkirby
From: Michael W. <mi...@we...> - 2005-09-22 20:21:20
|
Hi, I am trying to build this on Redhat Enterprise Linux 3 and PHP 4.3.2 and am getting the following build errors when I tried building from the release 0.4.6 and grabbing the latest from CVS. I have pasted the make output below. Any help would be appreciated. Regards, Mike 0.4.6 ==================================================== /bin/sh /root/ffmpeg-php-0.4.6/libtool --mode=compile gcc -I. -I/root/ffmpeg-php-0.4.6 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.4.6/include -I/root/ffmpeg-php-0.4.6/main -I/root/ffmpeg-php-0.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c -o ffmpeg_animated_gif.lo gcc -I. -I/root/ffmpeg-php-0.4.6 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.4.6/include -I/root/ffmpeg-php-0.4.6/main -I/root/ffmpeg-php-0.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c -fPIC -DPIC -o ffmpeg_animated_gif.lo /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c: In function `zif_ffmpeg_animated_gif': /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: `AVFMT_NOOUTPUTLOOP' undeclared (first use in this function) /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: (Each undeclared identifier is reported only once /root/ffmpeg-php-0.4.6/ffmpeg_animated_gif.c:170: for each function it appears in.) make: *** [ffmpeg_animated_gif.lo] Error 1 CVS ====================================================== /bin/sh /root/ffmpeg-php/libtool --mode=compile gcc -I. -I/root/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg-php/include -I/root/ffmpeg-php/main -I/root/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c /root/ffmpeg-php/ffmpeg_animated_gif.c -o ffmpeg_animated_gif.lo gcc -I. -I/root/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg-php/include -I/root/ffmpeg-php/main -I/root/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php/ffmpeg_animated_gif.c -fPIC -DPIC -o ffmpeg_animated_gif.lo /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_add_video_stream': /root/ffmpeg-php/ffmpeg_animated_gif.c:82: incompatible types in assignment /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_open_movie_file': /root/ffmpeg-php/ffmpeg_animated_gif.c:116: incompatible types in initialization /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `zif_ffmpeg_animated_gif': /root/ffmpeg-php/ffmpeg_animated_gif.c:170: `AVFMT_NOOUTPUTLOOP' undeclared (first use in this function) /root/ffmpeg-php/ffmpeg_animated_gif.c:170: (Each undeclared identifier is reported only once /root/ffmpeg-php/ffmpeg_animated_gif.c:170: for each function it appears in.) /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_free_ffmpeg_animated_gif': /root/ffmpeg-php/ffmpeg_animated_gif.c:266: incompatible type for argument 1 of `avcodec_close' /root/ffmpeg-php/ffmpeg_animated_gif.c: In function `_php_addframe': /root/ffmpeg-php/ffmpeg_animated_gif.c:324: incompatible types in assignment make: *** [ffmpeg_animated_gif.lo] Error 1 |