I'm trying to install ffmpeg with ffmpeg-php on centos 5.7
I have ffmpeg installed. but I'm having problems with ffmpeg-php. I run ./configure with no problems, but when I run make I get this:
and I'm having no luck at all.. Can anyone help point me in the right direction? Thanks
I have ffmpeg installed. but I'm having problems with ffmpeg-php. I run ./configure with no problems, but when I run make I get this:
Code:
In file included from /usr/include/sys/stat.h:105,
from /usr/local/include/php/main/php_streams.h:28,
from /usr/local/include/php/main/php.h:399,
from /root/ffmpeg-source/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
/usr/include/bits/stat.h:70: error: field âst_atimâ has incomplete type
/usr/include/bits/stat.h:71: error: field âst_mtimâ has incomplete type
/usr/include/bits/stat.h:72: error: field âst_ctimâ has incomplete type
In file included from /usr/local/include/php/main/php.h:405,
from /root/ffmpeg-source/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:209: error: expected specifier-qualifier-list before âtime_tâ
/root/ffmpeg-source/ffmpeg-php-0.6.0/ffmpeg-php.c: In function âzm_startup_ffmpegâ:
/root/ffmpeg-source/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function âavcodec_initâ
make: *** [ffmpeg-php.lo] Error 1
and I'm having no luck at all.. Can anyone help point me in the right direction? Thanks