debian squeeze
пытаюсь установить ffmpeg-php.0.5.3
сам ffmpeg собран, и вроде нормально работает, а вот к php никак не могу вот ошибки которые появляются при «make»
/bin/bash /root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/libtool --mode=compile gcc -I. -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/include -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/main -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c -o ffmpeg-php.lo
libtool: compile: gcc -I. -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3 -DPHP_ATOM_INC -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/include -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/main -I/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o
In file included from /usr/include/x86_64-linux-gnu/sys/stat.h:107,
from /usr/include/php5/main/php_streams.h:28,
from /usr/include/php5/main/php.h:401,
from /root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c:40:
/usr/include/x86_64-linux-gnu/bits/stat.h:91: error: field ‘st_atim’ has incomplete type
/usr/include/x86_64-linux-gnu/bits/stat.h:92: error: field ‘st_mtim’ has incomplete type
/usr/include/x86_64-linux-gnu/bits/stat.h:93: error: field ‘st_ctim’ has incomplete type
In file included from /usr/include/php5/main/php_streams.h:28,
from /usr/include/php5/main/php.h:401,
from /root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c:40:
/usr/include/x86_64-linux-gnu/sys/stat.h:367: error: array type has incomplete element type
/usr/include/x86_64-linux-gnu/sys/stat.h:374: error: array type has incomplete element type
In file included from /usr/include/php5/main/php.h:407,
from /root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c:40:
/usr/include/php5/TSRM/tsrm_virtual_cwd.h:198: error: expected specifier-qualifier-list before ‘time_t’
/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c: In function ‘zm_startup_ffmpeg’:
/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c:91: warning: implicit declaration of function ‘avcodec_init’
/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c:110: warning: implicit declaration of function ‘avcodec_build’
/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c: In function ‘zm_shutdown_ffmpeg’:
/root/tmp/php-ffmpeg/f53/ffmpeg-php-0.5.3/ffmpeg-php.c:121: warning: implicit declaration of function ‘av_free_static’
make: *** [ffmpeg-php.lo] Error 1