[Date Prev][Date Next] [Chronological] [Thread] [Top]

[mapserver-users] mapscript compile problem



When I try to compile mapserver with php 4.1.1 Below is some information for what I am getting and my configs.
 
Thank you for any help,
 
Aaron
 
Errors when compiling mapserver:
 
php_mapscript.c:493: warning: initialization makes integer from pointer without a cast
php_mapscript.c:493: initializer element is not computable at load time
php_mapscript.c:493: (near initialization for `php3_ms_module_entry.size')
php_mapscript.c:493: warning: initialization makes integer from pointer without a cast
php_mapscript.c:493: warning: initialization makes integer from pointer without a cast
php_mapscript.c:493: initializer element is not computable at load time
php_mapscript.c:493: (near initialization for `php3_ms_module_entry.zend_debug')
php_mapscript.c:493: warning: initialization makes integer from pointer without a cast
php_mapscript.c:493: initializer element is not computable at load time
php_mapscript.c:493: (near initialization for `php3_ms_module_entry.zts')
php_mapscript.c:496: warning: initialization from incompatible pointer type
php_mapscript.c: In function `php3_ms_img_saveImage':
php_mapscript.c:4082: warning: implicit declaration of function `php_header'
make[1]: *** [php_mapscript.o] Error 1
make[1]: Leaving directory `/home/hunt/mapserver_dev/mapscript/php3'
The php config is :
./configure --with-mysql --with-dbase --with-system-regex
 
The mapserver config is :
./configure --with-proj4 --with-ogr --with-gdal --with-php=/home/hunt/php-4.1.1