[Mapserver-dev] error in Mapserver compilation

"Vázquez Cascales, Sebastián" svazquez at sadiel.es
Fri May 14 09:43:31 EDT 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C439B9.71F6DC25
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


	Hello everybody!

	I'm a newbie to mapserver. I'm wanting to compile mapserver4.0 in win32 =
as part of a proyect. The final goal is building a simple gis service in =
plone.=20
http://plonemap.makina-corpus.org/map (this one seems to be working in a =
linux box)

One of the problems that I have found is about mapows.c. At compilation =
time I'm given an error

C:\plonemap\mapserver-4.0>nmake /f Makefile.vc

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 =
-IC:\plonemap\mapserver-4.0\
gd-2.0.23     -IC:\plonemap\mapserver-4.0\regex-0.12 =
-IC:\plonemap\mapserver-4.0
\gdal-1.2.0/gcore -IC:\plonemap\mapserver-4.0\gdal-1.2.0/alg =
-IC:\plonemap\mapse
rver-4.0\gdal-1.2.0/ogr/ogrsf_frmts =
-IC:\plonemap\mapserver-4.0\gdal-1.2.0/ogr -
IC:\plonemap\mapserver-4.0\gdal-1.2.0/ogr/../port  =
-Ic:/projects/curl-7.10.2/inc
lude       -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP =
-DNEED_STRNCASECMP
     -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF =
-DGD_HAS_GDIMAGEGIFPT
R -DUSE_GD_FT -DUSE_OGR -DUSE_WMS_SVR  -DUSE_WMS_LYR  =
-DIGNORE_MISSING_DATA -DUS
E_GDAL  -DFEATURE_INFO_HTML -DUSE_WFS_SVR -DUSE_WFS_LYR    =
-DUSE_GD_ANTIALIAS /c
 mapows.c /Fomapows.obj
mapows.c
mapows.c(196) : warning C4090: 'function' : different 'const' qualifiers
mapows.c(196) : warning C4024: 'strcasecmp' : different types for formal =
and act
ual parameter 1
mapows.c(439) : error C2223: left of '->is_latlong' must point to =
struct/union
mapows.c(497) : warning C4090: 'function' : different 'const' qualifiers
mapows.c(497) : warning C4024: 'strcasecmp' : different types for formal =
and act
ual parameter 1
mapows.c(734) : warning C4018: '!=3D' : signed/unsigned mismatch
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

it's included as an entry in Makefile.vc. Can I remove it? The issue is =
that I don't know if I need OGC web services.

Honestly, I'm not a programer!!

thanks in advance



Sebasti=E1n V=E1zquez Cascales
SADIEL, S.A.
Pabell=F3n de Portugal
Isaac Newton s/n
Isla de la Cartuja
41092 SEVILLA
Tel. 955 04 36 00
Fax: 955 04 36 01
http://www.sadiel.es/ e-mail: svazquez at sadiel.es


------_=_NextPart_001_01C439B9.71F6DC25
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.6944.0">
<TITLE>error in Mapserver compilation</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">Hello everybody!</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">I'm a newbie to mapserver. I'm wanting to compile =
mapserver4.0 in win32 as part of a proyect. The final goal is building a =
simple gis service in plone. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial"><A =
HREF=3D"http://plonemap.makina-corpus.org/map">http://plonemap.makina-cor=
pus.org/map</A> (this one seems to be working in a linux box)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">One of the problems that I have found =
is about mapows.c. At compilation time I'm given an error</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">C:\plonemap\mapserver-4.0&gt;nmake /f =
Makefile.vc</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Microsoft (R) Program Maintenance =
Utility&nbsp;&nbsp; Version 6.00.8168.0</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Copyright (C) Microsoft Corp =
1988-1998. All rights reserved.</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl /nologo /Zi =
/W3 /DDEBUG -DWIN32 -D_WIN32 -IC:\plonemap\mapserver-4.0\</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">gd-2.0.23&nbsp;&nbsp;&nbsp;&nbsp; =
-IC:\plonemap\mapserver-4.0\regex-0.12 =
-IC:\plonemap\mapserver-4.0</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">\gdal-1.2.0/gcore =
-IC:\plonemap\mapserver-4.0\gdal-1.2.0/alg -IC:\plonemap\mapse</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">rver-4.0\gdal-1.2.0/ogr/ogrsf_frmts =
-IC:\plonemap\mapserver-4.0\gdal-1.2.0/ogr -</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">IC:\plonemap\mapserver-4.0\gdal-1.2.0/ogr/../port&nbsp; =
-Ic:/projects/curl-7.10.2/inc</FONT>

<BR><FONT SIZE=3D2 =
FACE=3D"Arial">lude&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DHAVE_STRING_H =
-DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_GD_PNG =
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPT</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">R -DUSE_GD_FT -DUSE_OGR =
-DUSE_WMS_SVR&nbsp; -DUSE_WMS_LYR&nbsp; -DIGNORE_MISSING_DATA =
-DUS</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">E_GDAL&nbsp; -DFEATURE_INFO_HTML =
-DUSE_WFS_SVR -DUSE_WFS_LYR&nbsp;&nbsp;&nbsp; -DUSE_GD_ANTIALIAS =
/c</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;mapows.c /Fomapows.obj</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">mapows.c</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">mapows.c(196) : warning C4090: =
'function' : different 'const' qualifiers</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">mapows.c(196) : warning C4024: =
'strcasecmp' : different types for formal and act</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">ual parameter 1</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">mapows.c(439) : error C2223: left of =
'-&gt;is_latlong' must point to struct/union</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">mapows.c(497) : warning C4090: =
'function' : different 'const' qualifiers</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">mapows.c(497) : warning C4024: =
'strcasecmp' : different types for formal and act</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">ual parameter 1</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">mapows.c(734) : warning C4018: '!=3D' =
: signed/unsigned mismatch</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">NMAKE : fatal error U1077: 'cl' : =
return code '0x2'</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Stop.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">it's included as an entry in =
Makefile.vc. Can I remove it? The issue is that I don't know if I need =
OGC web services.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Honestly, I'm not a programer!!</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">thanks in advance</FONT>
</P>
<BR>
<BR>

<P><B><FONT SIZE=3D2 FACE=3D"Verdana">Sebasti=E1n V=E1zquez =
Cascales</FONT></B>

<BR><FONT SIZE=3D2 FACE=3D"Verdana">SADIEL, S.A.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Verdana">Pabell=F3n de Portugal</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Verdana">Isaac Newton s/n<BR>
Isla de la Cartuja<BR>
41092 SEVILLA<BR>
Tel. 955 04 36 00<BR>
Fax: 955 04 36 01</FONT>

<BR><U><FONT COLOR=3D"#0000FF" FACE=3D"Times New Roman"><A =
HREF=3D"http://www.sadiel.es/">http://www.sadiel.es/</A></FONT></U><FONT =
FACE=3D"Times New Roman"></FONT> <FONT SIZE=3D2 =
FACE=3D"Arial">e-mail:</FONT><U></U><U></U><U> <FONT COLOR=3D"#0000FF" =
FACE=3D"Times New Roman">svazquez at sadiel.es</FONT></U>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C439B9.71F6DC25--



More information about the mapserver-dev mailing list