[mapserver-users] PHP 4.1.1
malone at creedence.org
malone at creedence.org
Mon Feb 4 04:15:51 PST 2002
Hi,
The mapscript doesn't compile with PHP version 4.1.1 (Conectiva Linux 7.0) :
gdbm -I/usr/include/db1 -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-I/home/michel/mapserver_3.5 -I/usr/include -I/usr/include/php
-I/usr/include/php/dl -I/usr/include/php/main -I/usr/include/php/Zend
-I/usr/include/php/include -I/usr/include/php/TSRM -c -o php_mapscript.o
php_mapscript.c
php_mapscript.c:434: warning: initialization makes integer from pointer without
a cast
php_mapscript.c:434: initializer element is not computable at load time
php_mapscript.c:434: (near initialization for `php3_ms_module_entry.size')
php_mapscript.c:434: warning: initialization makes integer from pointer without
a cast
php_mapscript.c:434: warning: initialization makes integer from pointer without
a cast
php_mapscript.c:434: initializer element is not computable at load time
php_mapscript.c:434: (near initialization for `php3_ms_module_entry.zend_debug')
php_mapscript.c:434: warning: initialization makes integer from pointer without
a cast
php_mapscript.c:434: initializer element is not computable at load time
php_mapscript.c:434: (near initialization for `php3_ms_module_entry.zts')
php_mapscript.c:437: warning: initialization from incompatible pointer type
php_mapscript.c: In function `php3_ms_img_saveImage':
php_mapscript.c:3917: warning: implicit declaration of function `php_header'
make[1]: *** [php_mapscript.o] Error 1
make[1]: Leaving directory `/home/michel/mapserver_3.5/mapscript/php3'
With PHP 4.0.6 works fine.
Is a bug in PHP or in mapscript ?
[]'s
Michel M. dos Santos
More information about the MapServer-users
mailing list