Re: [Ffmpeg-php-user] make errors on CVS and 0.4.6
Brought to you by:
tkirby
From: Todd K. <ffm...@gm...> - 2005-09-22 22:01:29
|
On 9/22/05, Michael Weck <mi...@we...> wrote: > > 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. which version of ffmpeg? Any help would be appreciated. > > Regards, > > Mike > > > 0.4.6 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > /bin/sh /root/ffmpeg-php-0.4.6/libtool --mode=3Dcompile 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > /bin/sh /root/ffmpeg-php/libtool --mode=3Dcompile 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 > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your ver= y > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Ffmpeg-php-user mailing list > Ffm...@li... > https://lists.sourceforge.net/lists/listinfo/ffmpeg-php-user > |