[Mapserver-users] mapserver win32 compilation problems

Rosangela Silva rosangela.silva at zenitpolar.com.br
Mon May 12 10:40:15 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C3187B.41908460
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I'm trying to compile mapserver on win32 (winxp) and I'm looking
for some help but I coundn't find it in lists (mapserver, libwww).

I'm using the precompiled Libwww avaiable for Vladimir A. Kozlov
(ftp://ftp.idm.ru/libwww).

And I'm using the "compiling postgis with mapserver" instructions by =
Gayathri Swaminathan=20
(http://lists.gis.umn.edu/pipermail/mapserver-users/2003-April/003469.htm=
l). About
postgis, I don't know if it will run, because the warnings "ignored" =
lines.

The mapserver compilation erros results are:


nmake /f Makefile.vc

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

        cl libpq7.3.2/libpq.lib libpq7.3.2/interfaces/libpq/libpqdll.lib =
/nologo
 /Zi /W3 /DDEBUG /DWIN32 libpq7.3.2/libpq.lib =
libpq7.3.2/interfaces/libpq/libpqd
ll.lib -I gd-1.8.4 -I tiff-v3.5.7/libtiff   -I proj-4.4.5/src   =
-Iphp-4.3.1\rege
x -DPHP_NO_ALIASES -Igdal-1.1.7/ogr/ogrsf_frmts -Igdal-1.1.7/ogr =
-Igdal-1.1.7/og
r/../port -Igdal-1.1.7/core  -I Libwww/library/src -I =
Libwww/modules/expat/xmlpa
rse -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP  =
 -DUSE_
EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF  -DUSE_GD_GIF -DUSE_GD_PNG =
-DUSE_GD_
JPEG -DUSE_GD_WBMP -DUSE_GD_TTF  -DUSE_GD_TTF -DGD_HAS_GDIMAGEGIFPTR =
-DUSE_OGR -
DUSE_WMS -DUSE_WMS_LYR  -DIGNORE_MISSING_DATA -DUSE_GDAL =
-DFEATURE_INFO_HTML /c
mapwmslayer.c /Fomapwmslayer.obj
Command line warning D4027 : source file 'libpq7.3.2/libpq.lib' ignored
Command line warning D4027 : source file =
'libpq7.3.2/interfaces/libpq/libpqdll.l ib' ignored
Command line warning D4027 : source file 'libpq7.3.2/libpq.lib' ignored
Command line warning D4027 : source file =
'libpq7.3.2/interfaces/libpq/libpqdll.l ib' ignored
mapwmslayer.c
Libwww/Library/src/HTProt.h(58) : error C2061: syntax error : identifier =
'HTProtocolId'
Libwww/Library/src/HTProt.h(58) : error C2059: syntax error : ';'
Libwww/Library/src/HTProt.h(85) : error C2146: syntax error : missing =
')' before  identifier 'port'
Libwww/Library/src/HTProt.h(85) : error C2081: 'HTProtocolId' : name in =
formal parameter list illegal
Libwww/Library/src/HTProt.h(85) : error C2061: syntax error : identifier =
'port'
Libwww/Library/src/HTProt.h(85) : error C2059: syntax error : ';'
Libwww/Library/src/HTProt.h(85) : error C2059: syntax error : ','
Libwww/Library/src/HTProt.h(88) : error C2059: syntax error : ')'
Libwww/Library/src/HTProt.h(132) : error C2061: syntax error : =
identifier 'HTProtocol_id'
Libwww/Library/src/HTProt.h(132) : error C2059: syntax error : ';'
Libwww/Library/src/HTProt.h(132) : error C2059: syntax error : 'type'
Libwww/Library/src/HTHost.h(65) : error C2146: syntax error : missing =
')' before identifier 'u_port'
Libwww/Library/src/HTHost.h(65) : error C2081: 'u_short' : name in =
formal parameter list illegal
Libwww/Library/src/HTHost.h(65) : error C2061: syntax error : identifier =
'u_port'
Libwww/Library/src/HTHost.h(65) : error C2059: syntax error : ';'
Libwww/Library/src/HTHost.h(65) : error C2059: syntax error : ')'
Libwww/Library/src/HTHost.h(66) : error C2146: syntax error : missing =
')' before identifier 'u_port'
Libwww/Library/src/HTHost.h(66) : error C2081: 'u_short' : name in =
formal parameter list illegal
Libwww/Library/src/HTHost.h(66) : error C2061: syntax error : identifier =
'u_port'
Libwww/Library/src/HTHost.h(66) : error C2059: syntax error : ';'
Libwww/Library/src/HTHost.h(66) : error C2059: syntax error : ')'
Libwww/Library/src/HTHstMan.h(60) : error C2061: syntax error : =
identifier 'u_short'
Libwww/Library/src/HTHstMan.h(94) : error C2079: 'sock_addr' uses =
undefined struct 'sockaddr_in'
Libwww/Library/src/HTHstMan.h(110) : error C2059: syntax error : '}'
mapwmslayer.c(292) : warning C4013: 'index' undefined; assuming extern =
returning int
mapwmslayer.c(292) : warning C4047: '=3D' : 'const char *' differs in =
levels of in direction from 'int '
mapwmslayer.c(340) : warning C4013: 'isspace' undefined; assuming extern =
returning int
mapwmslayer.c(368) : warning C4090: 'function' : different 'const' =
qualifiers
mapwmslayer.c(368) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 2
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

All helps are welcome,
Thanks
Ros=E2ngela
------=_NextPart_000_000B_01C3187B.41908460
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.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to compile mapserver on =
win32 (winxp)=20
and I'm looking</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>for some help but I coundn't find it in =
lists=20
(mapserver, libwww).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm using the precompiled&nbsp;Libwww =
avaiable for=20
Vladimir A. Kozlov</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(<A =
href=3D"ftp://ftp.idm.ru/libwww/"><FONT=20
face=3D"Times New Roman" =
size=3D3>ftp://ftp.idm.ru/libwww</FONT></A>).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>And I'm using&nbsp;the "compiling =
postgis with=20
mapserver" </FONT><FONT face=3DArial size=3D2>instructions by Gayathri =
Swaminathan=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(<A=20
href=3D"http://lists.gis.umn.edu/pipermail/mapserver-users/2003-April/003=
469.html">http://lists.gis.umn.edu/pipermail/mapserver-users/2003-April/0=
03469.html</A>).=20
About</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>postgis, I don't know if it will run, =
because the=20
warnings "ignored" lines.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The mapserver compilation erros results =

are:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>nmake /f Makefile.vc</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Microsoft (R) Program Maintenance=20
Utility&nbsp;&nbsp; Version 6.00.8168.0<BR>Copyright (C) Microsoft Corp=20
1988-1998. All rights reserved.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl=20
libpq7.3.2/libpq.lib libpq7.3.2/interfaces/libpq/libpqdll.lib=20
/nologo<BR>&nbsp;/Zi /W3 /DDEBUG /DWIN32 libpq7.3.2/libpq.lib=20
libpq7.3.2/interfaces/libpq/libpqd<BR>ll.lib -I gd-1.8.4 -I=20
tiff-v3.5.7/libtiff&nbsp;&nbsp; -I proj-4.4.5/src&nbsp;&nbsp;=20
-Iphp-4.3.1\rege<BR>x -DPHP_NO_ALIASES -Igdal-1.1.7/ogr/ogrsf_frmts=20
-Igdal-1.1.7/ogr -Igdal-1.1.7/og<BR>r/../port -Igdal-1.1.7/core&nbsp; -I =

Libwww/library/src -I Libwww/modules/expat/xmlpa<BR>rse -DHAVE_STRING_H=20
-DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP&nbsp;&nbsp; =
-DUSE_<BR>EPPL=20
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF&nbsp; -DUSE_GD_GIF -DUSE_GD_PNG=20
-DUSE_GD_<BR>JPEG -DUSE_GD_WBMP -DUSE_GD_TTF&nbsp; -DUSE_GD_TTF=20
-DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -<BR>DUSE_WMS -DUSE_WMS_LYR&nbsp;=20
-DIGNORE_MISSING_DATA -DUSE_GDAL -DFEATURE_INFO_HTML /c<BR>mapwmslayer.c =

/Fomapwmslayer.obj<BR>Command line warning D4027 : source file=20
'libpq7.3.2/libpq.lib' ignored<BR>Command line warning D4027 : source =
file=20
'libpq7.3.2/interfaces/libpq/libpqdll.l ib' ignored<BR>Command line =
warning=20
D4027 : source file 'libpq7.3.2/libpq.lib' ignored<BR>Command line =
warning D4027=20
: source file 'libpq7.3.2/interfaces/libpq/libpqdll.l ib'=20
ignored<BR>mapwmslayer.c<BR>Libwww/Library/src/HTProt.h(58) : error =
C2061:=20
syntax error : identifier =
'HTProtocolId'<BR>Libwww/Library/src/HTProt.h(58) :=20
error C2059: syntax error : ';'<BR>Libwww/Library/src/HTProt.h(85) : =
error=20
C2146: syntax error : missing ')' before&nbsp;&nbsp;identifier=20
'port'<BR>Libwww/Library/src/HTProt.h(85) : error C2081: 'HTProtocolId' =
: name=20
in formal parameter list illegal<BR>Libwww/Library/src/HTProt.h(85) : =
error=20
C2061: syntax error : identifier =
'port'<BR>Libwww/Library/src/HTProt.h(85) :=20
error C2059: syntax error : ';'<BR>Libwww/Library/src/HTProt.h(85) : =
error=20
C2059: syntax error : ','<BR>Libwww/Library/src/HTProt.h(88) : error =
C2059:=20
syntax error : ')'<BR>Libwww/Library/src/HTProt.h(132) : error C2061: =
syntax=20
error : identifier 'HTProtocol_id'<BR>Libwww/Library/src/HTProt.h(132) : =
error=20
C2059: syntax error : ';'<BR>Libwww/Library/src/HTProt.h(132) : error =
C2059:=20
syntax error : 'type'<BR>Libwww/Library/src/HTHost.h(65) : error C2146: =
syntax=20
error : missing ')' before&nbsp;identifier=20
'u_port'<BR>Libwww/Library/src/HTHost.h(65) : error C2081: 'u_short' : =
name in=20
formal parameter list illegal<BR>Libwww/Library/src/HTHost.h(65) : error =
C2061:=20
syntax error : identifier 'u_port'<BR>Libwww/Library/src/HTHost.h(65) : =
error=20
C2059: syntax error : ';'<BR>Libwww/Library/src/HTHost.h(65) : error =
C2059:=20
syntax error : ')'<BR>Libwww/Library/src/HTHost.h(66) : error C2146: =
syntax=20
error : missing ')' before&nbsp;identifier=20
'u_port'<BR>Libwww/Library/src/HTHost.h(66) : error C2081: 'u_short' : =
name in=20
formal parameter list illegal<BR>Libwww/Library/src/HTHost.h(66) : error =
C2061:=20
syntax error : identifier 'u_port'<BR>Libwww/Library/src/HTHost.h(66) : =
error=20
C2059: syntax error : ';'<BR>Libwww/Library/src/HTHost.h(66) : error =
C2059:=20
syntax error : ')'<BR>Libwww/Library/src/HTHstMan.h(60) : error C2061: =
syntax=20
error : identifier 'u_short'<BR>Libwww/Library/src/HTHstMan.h(94) : =
error C2079:=20
'sock_addr' uses undefined struct=20
'sockaddr_in'<BR>Libwww/Library/src/HTHstMan.h(110) : error C2059: =
syntax error=20
: '}'<BR>mapwmslayer.c(292) : warning C4013: 'index' undefined; assuming =
extern=20
returning&nbsp;int<BR>mapwmslayer.c(292) : warning C4047: '=3D' : 'const =
char *'=20
differs in levels of in direction from 'int '<BR>mapwmslayer.c(340) : =
warning=20
C4013: 'isspace' undefined; assuming extern returning =
int<BR>mapwmslayer.c(368)=20
: warning C4090: 'function' : different 'const' =
qualifiers<BR>mapwmslayer.c(368)=20
: warning C4024: 'strcasecmp' : different types for formal and actual =
parameter=20
2<BR>NMAKE : fatal error U1077: 'cl' : return code=20
'0x2'<BR>Stop.<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>All helps are welcome,</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ros=E2ngela</DIV></FONT></BODY></HTML>

------=_NextPart_000_000B_01C3187B.41908460--




More information about the mapserver-users mailing list