[Mapserver-users] mapserver nightly bulid compile problem

Aaron D. Hunt hunt at zedxinc.com
Wed Feb 4 14:58:38 EST 2004


This is a multi-part message in MIME format.

------=_NextPart_000_0108_01C3EB2F.5EC7D290
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When I compile=20
./configure --without-tiff    --without-libtiff--without-eppl    =
--with-jpeg  --with-proj=3D/home/mapserver/ =
--with-gdal=3D/home/mapserver/bin/gdal-config =
--with-ogr=3D/home/mapserver/bin/gdal-config  --with-wmsclient =
--with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/ =
--with-php=3D/usr/local/src/php-4.3.4/ =
--with-curl-config=3D/home/mapserver/bin/curl-config --with-ming =
--with-postgis=3D/usr/local/pgsql/bin/pg_config

 on a Linux redhat 9 system

I get=20

clude -I/usr/local/pgsql/include  -I/home/mapserver//include   =
mapogr.cpp -o mapogr.o
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ =
-DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR   -DUSE_MING_FLASH   =
-DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT   =
-DUSE_OGR -DUSE_GDAL -DUSE_POSTGIS    -I/home/mapserver//include  =
-I/home/mapserver//include       -I/home/mapserver//include =
-I/home/mapserver//include -I/usr/local/pgsql/include  =
-I/home/mapserver//include   mappostgis.c -o mappostgis.o
mappostgis.c:33: parse error before "__extension__"
mappostgis.c:33: warning: type defaults to `int' in declaration of =
`__res'
mappostgis.c:33: `__c' undeclared here (not in a function)
mappostgis.c:33: `__c' undeclared here (not in a function)
mappostgis.c:33: `__c' undeclared here (not in a function)
mappostgis.c:33: `__c' undeclared here (not in a function)
mappostgis.c:33: warning: data definition has no type or storage class
mappostgis.c:33: parse error before '}' token
mappostgis.c:33: warning: type defaults to `int' in declaration of =
`__res'
mappostgis.c:33: warning: data definition has no type or storage class
mappostgis.c:33: parse error before '}' token
mappostgis.c: In function `msPOSTGISLayerGetShapeRandom':
mappostgis.c:1040: warning: enumeration value `MS_LAYER_GRATICULE' not =
handled in switch
mappostgis.c:1040: warning: enumeration value `MS_LAYER_TILEINDEX' not =
handled in switch
mappostgis.c:1040: warning: enumeration value `MS_LAYER_MASK' not =
handled in switch
mappostgis.c: In function `msPOSTGISLayerGetShape':
mappostgis.c:1236: warning: enumeration value `MS_LAYER_GRATICULE' not =
handled in switch
mappostgis.c:1236: warning: enumeration value `MS_LAYER_TILEINDEX' not =
handled in switch
mappostgis.c:1236: warning: enumeration value `MS_LAYER_MASK' not =
handled in switch
make: *** [mappostgis.o] Error 1

------=_NextPart_000_0108_01C3EB2F.5EC7D290
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When I compile </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure =
--without-tiff&nbsp;&nbsp;&nbsp;=20
--without-libtiff--without-eppl&nbsp;&nbsp;&nbsp; --with-jpeg&nbsp;=20
--with-proj=3D/home/mapserver/ =
--with-gdal=3D/home/mapserver/bin/gdal-config=20
--with-ogr=3D/home/mapserver/bin/gdal-config&nbsp; --with-wmsclient=20
--with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/=20
--with-php=3D/usr/local/src/php-4.3.4/=20
--with-curl-config=3D/home/mapserver/bin/curl-config --with-ming=20
--with-postgis=3D/usr/local/pgsql/bin/pg_config</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;on a Linux redhat 9 =
system</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I get </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>clude -I/usr/local/pgsql/include&nbsp;=20
-I/home/mapserver//include&nbsp;&nbsp; mapogr.cpp -o mapogr.o<BR>gcc -c=20
-O2&nbsp; -Wall -DIGNORE_MISSING_DATA&nbsp; -DUSE_EPPL -DUSE_PROJ=20
-DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR&nbsp;&nbsp;=20
-DUSE_MING_FLASH&nbsp;&nbsp; -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG =
-DUSE_GD_WBMP=20
-DUSE_GD_FT&nbsp;&nbsp; -DUSE_OGR -DUSE_GDAL =
-DUSE_POSTGIS&nbsp;&nbsp;&nbsp;=20
-I/home/mapserver//include&nbsp;=20
-I/home/mapserver//include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-I/home/mapserver//include -I/home/mapserver//include=20
-I/usr/local/pgsql/include&nbsp; -I/home/mapserver//include&nbsp;&nbsp;=20
mappostgis.c -o mappostgis.o<BR>mappostgis.c:33: parse error before=20
"__extension__"<BR>mappostgis.c:33: warning: type defaults to `int' in=20
declaration of `__res'<BR>mappostgis.c:33: `__c' undeclared here (not in =
a=20
function)<BR>mappostgis.c:33: `__c' undeclared here (not in a=20
function)<BR>mappostgis.c:33: `__c' undeclared here (not in a=20
function)<BR>mappostgis.c:33: `__c' undeclared here (not in a=20
function)<BR>mappostgis.c:33: warning: data definition has no type or =
storage=20
class<BR>mappostgis.c:33: parse error before '}' =
token<BR>mappostgis.c:33:=20
warning: type defaults to `int' in declaration of =
`__res'<BR>mappostgis.c:33:=20
warning: data definition has no type or storage =
class<BR>mappostgis.c:33: parse=20
error before '}' token<BR>mappostgis.c: In function=20
`msPOSTGISLayerGetShapeRandom':<BR>mappostgis.c:1040: warning: =
enumeration value=20
`MS_LAYER_GRATICULE' not handled in switch<BR>mappostgis.c:1040: =
warning:=20
enumeration value `MS_LAYER_TILEINDEX' not handled in=20
switch<BR>mappostgis.c:1040: warning: enumeration value `MS_LAYER_MASK' =
not=20
handled in switch<BR>mappostgis.c: In function=20
`msPOSTGISLayerGetShape':<BR>mappostgis.c:1236: warning: enumeration =
value=20
`MS_LAYER_GRATICULE' not handled in switch<BR>mappostgis.c:1236: =
warning:=20
enumeration value `MS_LAYER_TILEINDEX' not handled in=20
switch<BR>mappostgis.c:1236: warning: enumeration value `MS_LAYER_MASK' =
not=20
handled in switch<BR>make: *** [mappostgis.o] Error=20
1<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0108_01C3EB2F.5EC7D290--




More information about the mapserver-users mailing list