[Ffmpeg-php-user] make error: os x 10.4
Brought to you by:
tkirby
From: Stu M. <st...@in...> - 2005-12-12 16:55:33
|
I am having some problems MAKEing ffmpeg-php on Mac OS X 10.4 Download and install of the latest CVS of ffmpeg proceeds without incident, using --enable-shared Download the latest CVS of ffmpeg-php and edit the configure file to search for libavcodec.dylib as opposed to libavcodec.so ./configure (all OK) make (all OK up to this point, when errors:) gcc -I. -I/usr/local/php/lib/ffmpeg-php -DPHP_ATOM_INC -I/usr/local/ php/lib/ffmpeg-php/include -I/usr/local/php/lib/ffmpeg-php/main -I/ usr/local/php/lib/ffmpeg-php -I/usr/include/php -I/usr/include/php/ main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/local/ include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c / usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c -fno-common -DPIC -o ffmpeg_movie.o /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c: In function '_php_get_stream_index': /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:84: error: request for member 'codec_type' in something not a structure or union /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c: In function '_php_get_decoder_context': /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:407: error: request for member 'codec_id' in something not a structure or union /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:415: warning: assignment from incompatible pointer type /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c: In function '_php_get_framecount': /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:584: error: request for member 'time_base' in something not a structure or union /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c: In function '_php_get_framerate': /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:617: error: request for member 'time_base' in something not a structure or union /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:617: error: request for member 'time_base' in something not a structure or union /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c: In function '_php_get_framewidth': /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:663: error: request for member 'width' in something not a structure or union /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c: In function '_php_get_frameheight': /usr/local/php/lib/ffmpeg-php/ffmpeg_movie.c:691: error: request for member 'height' in something not a structure or union make: *** [ffmpeg_movie.lo] Error 1 Any ideas what is going on here, and where the answer may lie? Any help appreciated! thanks, Stu |