icechel
Новичок
php_imagemagick
Привет всем.
OS: Linux RH 7.2
Скачал ImageMagick 5.5.5, собрал, поставил.
При попытке собрать php_imagemagick выдает следующее
gcc -I. -I/root/tmp/php_imagemagick/ -I/root/tmp/php_imagemagick/main -I/root/tmp/php_imagemagick -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -c imagemagick.c -fPIC -DPIC -o imagemagick.o
imagemagick.c:57: warning: initialization makes integer from pointer without a cast
imagemagick.c:57: initializer element is not computable at load time
imagemagick.c:57: (near initialization for `imagemagick_module_entry.size')
imagemagick.c:58: warning: initialization makes integer from pointer without a cast
imagemagick.c:59: warning: initialization makes integer from pointer without a cast
imagemagick.c:59: initializer element is not computable at load time
imagemagick.c:59: (near initialization for `imagemagick_module_entry.zend_debug')
imagemagick.c:60: warning: initialization makes integer from pointer without a cast
imagemagick.c:60: initializer element is not computable at load time
imagemagick.c:60: (near initialization for `imagemagick_module_entry.zts')
imagemagick.c:63: warning: initialization from incompatible pointer type
imagemagick.c: In function `zm_info_imagemagick':
imagemagick.c:153: warning: assignment discards qualifiers from pointer target type
imagemagick.c:169: warning: passing arg 1 of `GetMagickVersion' from incompatible pointer type
make[1]: *** [imagemagick.slo] ОШИБКА 1
Могет кто-нибудь поможет советом ?
Привет всем.
OS: Linux RH 7.2
Скачал ImageMagick 5.5.5, собрал, поставил.
При попытке собрать php_imagemagick выдает следующее
gcc -I. -I/root/tmp/php_imagemagick/ -I/root/tmp/php_imagemagick/main -I/root/tmp/php_imagemagick -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -c imagemagick.c -fPIC -DPIC -o imagemagick.o
imagemagick.c:57: warning: initialization makes integer from pointer without a cast
imagemagick.c:57: initializer element is not computable at load time
imagemagick.c:57: (near initialization for `imagemagick_module_entry.size')
imagemagick.c:58: warning: initialization makes integer from pointer without a cast
imagemagick.c:59: warning: initialization makes integer from pointer without a cast
imagemagick.c:59: initializer element is not computable at load time
imagemagick.c:59: (near initialization for `imagemagick_module_entry.zend_debug')
imagemagick.c:60: warning: initialization makes integer from pointer without a cast
imagemagick.c:60: initializer element is not computable at load time
imagemagick.c:60: (near initialization for `imagemagick_module_entry.zts')
imagemagick.c:63: warning: initialization from incompatible pointer type
imagemagick.c: In function `zm_info_imagemagick':
imagemagick.c:153: warning: assignment discards qualifiers from pointer target type
imagemagick.c:169: warning: passing arg 1 of `GetMagickVersion' from incompatible pointer type
make[1]: *** [imagemagick.slo] ОШИБКА 1
Могет кто-нибудь поможет советом ?