[Ffmpeg-php-user] Install error
Brought to you by:
tkirby
From: Prashant N. <pra...@gm...> - 2005-08-20 19:19:23
|
Hi.=20 I'm getting the following error when trying to run 'make': 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=20 -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=20 -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_inde= x': /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_framecount'= : /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_framewidth'= : /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_frameheight= ': /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 I have already compiled a cvs build of ffmpeg with '--enabled-shared' and '----prefix=3D/usr'. 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_i= d=3D417245 . I'm using PHP 4.3.2 and Red Hat Enterprise Linux. Any help would be much appreciated. Thanks in advance. Prashant |