Error buildung php_mapscript from svn

Nicol Hermann mapserver at GEOWORLD.DE
Tue Jul 24 09:56:26 EDT 2007


Hi List,

i checkout out the lastest svn version of mapserver and try to compile
it on my debian etch box.
During the build process i get the following error (see below) while
building php_mapscript.

Any hints how to solve this?

Many thanks
Nicol

gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)


gcc -fPIC -g -O2 -fPIC -Wall  -DUSE_PHP_REGEX -DCOMPILE_DL=1 -DPHP4
-DENABLE_STDERR_DEBUG -DNEED_NONBLOCKING_STDERR    -DUSE_WMS_LYR
-DUSE_WFS_LYR  -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR
-DUSE_MING_FLASH -DUSE_ORACLESPATIAL  -DUSE_POSTGIS  -DUSE_GDAL
-DUSE_OGR -DUSE_GEOS -DUSE_SDE  -DUSE_PROJ -DUSE_EPPL    -DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW
-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB
-I/home/nicol/public_html/mapserver/sources/mapserver_svn/mapserver
-I/home/oracle/product/10.1.0/client/rdbms/public
-I/home/oracle/product/10.1.0/client/rdbms/demo
-I/home/oracle/product/10.1.0/client/rdbms/public
-I/usr/local/pgsql_8/include  -I/usr/local/include -I/usr/local/include
-I/usr/local/sdeexe83/include -I/usr/local/include
-I/usr/local/include -I/usr/include   -I/usr/local/include/php/
-I/usr/local/include/php//dl -I/usr/local/include/php//main
-I/usr/local/include/php//Zend -I/usr/local/include/php//include
-I/usr/local/include/php//TSRM   -c -o php_mapscript.o php_mapscript.c
php_mapscript.c:919: error: 'php3_ms_symbol_setStyle' undeclared here
(not in a function)
php_mapscript.c:920: error: 'php3_ms_symbol_getStyle' undeclared here
(not in a function)
php_mapscript.c: In function '_phpms_build_map_object':
php_mapscript.c:1482: error: 'mapObj' has no member named 'scale'
php_mapscript.c:1482: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c: In function 'php3_ms_map_setProperty':
php_mapscript.c:1704: error: 'mapObj' has no member named 'scale'
php_mapscript.c:1704: warning: statement with no effect
php_mapscript.c: In function 'php3_ms_map_setExtent':
php_mapscript.c:1780: error: 'mapObj' has no member named 'scale'
php_mapscript.c:1780: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_setSize':
php_mapscript.c:1883: error: 'mapObj' has no member named 'scale'
php_mapscript.c:1883: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function '_php3_ms_map_setProjection':
php_mapscript.c:1960: error: 'mapObj' has no member named 'scale'
php_mapscript.c:1960: warning: passing argument 6 of 'msCalculateScale'
from incompatible pointer type
php_mapscript.c:1963: error: 'mapObj' has no member named 'scale'
php_mapscript.c:1963: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_zoomPoint':
php_mapscript.c:2366: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:2368: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:2368: error: invalid operands to binary >
php_mapscript.c:2378: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2378: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2378: error: invalid operands to binary <
php_mapscript.c:2382: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2384: error: incompatible type for argument 1 of
'GetDeltaExtentsUsingScale'
php_mapscript.c:2470: error: 'mapObj' has no member named 'scale'
php_mapscript.c:2470: warning: passing argument 6 of 'msCalculateScale'
from incompatible pointer type
php_mapscript.c:2476: error: 'mapObj' has no member named 'scale'
php_mapscript.c:2476: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_zoomRectangle':
php_mapscript.c:2646: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:2646: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:2646: error: invalid operands to binary >
php_mapscript.c:2651: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2651: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2651: error: invalid operands to binary <
php_mapscript.c:2659: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2661: error: incompatible type for argument 1 of
'GetDeltaExtentsUsingScale'
php_mapscript.c:2746: error: 'mapObj' has no member named 'scale'
php_mapscript.c:2746: warning: passing argument 6 of 'msCalculateScale'
from incompatible pointer type
php_mapscript.c:2752: error: 'mapObj' has no member named 'scale'
php_mapscript.c:2752: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_zoomScale':
php_mapscript.c:2958: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:2960: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:2960: error: invalid operands to binary >
php_mapscript.c:2970: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2970: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2970: error: invalid operands to binary <
php_mapscript.c:2974: error: 'webObj' has no member named 'minscale'
php_mapscript.c:2976: error: incompatible type for argument 1 of
'GetDeltaExtentsUsingScale'
php_mapscript.c:3063: error: 'mapObj' has no member named 'scale'
php_mapscript.c:3063: warning: passing argument 6 of 'msCalculateScale'
from incompatible pointer type
php_mapscript.c:3069: error: 'mapObj' has no member named 'scale'
php_mapscript.c:3069: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_prepareQuery':
php_mapscript.c:3262: error: 'mapObj' has no member named 'scale'
php_mapscript.c:3262: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_draw':
php_mapscript.c:3304: error: 'mapObj' has no member named 'scale'
php_mapscript.c:3304: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_drawQuery':
php_mapscript.c:3365: error: 'mapObj' has no member named 'scale'
php_mapscript.c:3365: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function 'php3_ms_map_loadMapContext':
php_mapscript.c:5515: error: 'mapObj' has no member named 'scale'
php_mapscript.c:5515: error: incompatible type for argument 3 of
'_phpms_set_property_double'
php_mapscript.c: In function '_phpms_build_layer_object':
php_mapscript.c:6394: error: 'layerObj' has no member named
'symbolscale'
php_mapscript.c:6394: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c:6395: error: 'layerObj' has no member named 'minscale'
php_mapscript.c:6395: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c:6396: error: 'layerObj' has no member named 'maxscale'
php_mapscript.c:6396: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c:6397: error: 'layerObj' has no member named
'labelminscale'
php_mapscript.c:6397: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c:6398: error: 'layerObj' has no member named
'labelmaxscale'
php_mapscript.c:6398: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c: In function 'php3_ms_lyr_setProperty':
php_mapscript.c:6551: error: 'layerObj' has no member named
'symbolscale'
php_mapscript.c:6551: warning: statement with no effect
php_mapscript.c:6552: error: 'layerObj' has no member named 'minscale'
php_mapscript.c:6552: warning: statement with no effect
php_mapscript.c:6553: error: 'layerObj' has no member named 'maxscale'
php_mapscript.c:6553: warning: statement with no effect
php_mapscript.c:6554: error: 'layerObj' has no member named
'labelminscale'
php_mapscript.c:6554: warning: statement with no effect
php_mapscript.c:6555: error: 'layerObj' has no member named
'labelmaxscale'
php_mapscript.c:6555: warning: statement with no effect
php_mapscript.c: In function '_phpms_build_class_object':
php_mapscript.c:8642: error: 'classObj' has no member named 'minscale'
php_mapscript.c:8642: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c:8643: error: 'classObj' has no member named 'maxscale'
php_mapscript.c:8643: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c: In function 'php3_ms_class_setProperty':
php_mapscript.c:8767: error: 'classObj' has no member named 'minscale'
php_mapscript.c:8767: warning: statement with no effect
php_mapscript.c:8768: error: 'classObj' has no member named 'maxscale'
php_mapscript.c:8768: warning: statement with no effect
php_mapscript.c: In function '_phpms_build_web_object':
php_mapscript.c:11852: error: 'webObj' has no member named 'minscale'
php_mapscript.c:11852: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c:11853: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:11853: error: incompatible type for argument 4 of
'add_property_double_ex'
php_mapscript.c: In function 'php3_ms_web_setProperty':
php_mapscript.c:11921: error: 'webObj' has no member named 'minscale'
php_mapscript.c:11921: warning: statement with no effect
php_mapscript.c:11922: error: 'webObj' has no member named 'maxscale'
php_mapscript.c:11922: warning: statement with no effect
php_mapscript.c: In function '_phpms_build_symbol_object':
php_mapscript.c:14268: error: 'symbolObj' has no member named
'stylelength'
php_mapscript.c:14268: warning: passing argument 4 of
'add_property_long_ex' makes integer from pointer without a cast
make[1]: *** [php_mapscript.o] Fehler 1



More information about the mapserver-dev mailing list