Re: [Ffmpeg-php-user] Install error
Brought to you by:
tkirby
From: Todd K. <ffm...@gm...> - 2005-08-20 21:18:03
|
On 8/20/05, Prashant Nadarajan <pra...@gm...> wrote: > Hi. >=20 > I'm getting the following error when trying to run 'make': >=20 > find . -name \*.lo | xargs rm -f > find . -name \*.o | xargs rm -f > find . -name \*.la | xargs rm -f > find . -name \*.a | xargs rm -f > find . -name \*.so | xargs rm -f > find . -name .libs -a -type d|xargs rm -rf > rm -f libphp4.la modules/* libs/* > /bin/sh /home/prashant/ffmpeg-php/libtool --mode=3Dcompile gcc -I. > -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c > /home/prashant/ffmpeg-php/ffmpeg.c -o ffmpeg.lo > gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c > /home/prashant/ffmpeg-php/ffmpeg.c -fPIC -DPIC -o ffmpeg.lo > /bin/sh /home/prashant/ffmpeg-php/libtool --mode=3Dcompile gcc -I. > -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -prefer-pic -c > /home/prashant/ffmpeg-php/ffmpeg_movie.c -o ffmpeg_movie.lo > gcc -I. -I/home/prashant/ffmpeg-php -DPHP_ATOM_INC > -I/home/prashant/ffmpeg-php/include -I/home/prashant/ffmpeg-php/main > -I/home/prashant/ffmpeg-php -I/usr/include/php -I/usr/include/php/main > -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/include/ffmpeg > -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c > /home/prashant/ffmpeg-php/ffmpeg_movie.c -fPIC -DPIC -o > ffmpeg_movie.lo > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_stream_in= dex': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:84: request for member > `codec_type' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function > `_php_get_decoder_context': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:407: request for member > `codec_id' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c:415: warning: assignment from > incompatible pointer type > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framecoun= t': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:584: request for member > `time_base' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framerate= ': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:617: request for member > `time_base' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c:617: request for member > `time_base' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_framewidt= h': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:663: request for member > `width' in something not a structure or union > /home/prashant/ffmpeg-php/ffmpeg_movie.c: In function `_php_get_frameheig= ht': > /home/prashant/ffmpeg-php/ffmpeg_movie.c:691: request for member > `height' in something not a structure or union > make: *** [ffmpeg_movie.lo] Error 1 >=20 >=20 >=20 > I have already compiled a cvs build of ffmpeg with '--enabled-shared' > and '----prefix=3D/usr'. >=20 > I have tried the solutions provided in the INSTALL file and also the > stuff at http://sourceforge.net/forum/forum.php?thread_id=3D1214281&forum= _id=3D417245 > . I'm using PHP 4.3.2 and Red Hat Enterprise Linux. >=20 > Any help would be much appreciated. Thanks in advance. Ah yes. This is due to yet another API breakage by the ffmpeg guys. I checked in a fix for it a couple days ago so try running the cvs version of ffmpeg-php. There's instructions for checking out anonymous cvs at http://ffmpeg-php.sourceforge.net. I'll probably put out a 0.4.6 release to fix this on monday. Let me know if that doesn't work for any reason. Thanks for the feedback. -Todd |