From gbuckmaster@cox.net Sun Jun 1 02:19:07 2003 From: gbuckmaster@cox.net (Gerald Buckmaster) Date: Sat, 31 May 2003 18:19:07 -0700 Subject: [Mapserver-users] styleObj? member of classObj? In-Reply-To: <3ED92399.AD9F062F@dmsolutions.ca> References: <200305311354.49411.gbuckmaster@cox.net> <3ED92399.AD9F062F@dmsolutions.ca> Message-ID: <200305311819.07240.gbuckmaster@cox.net> Ok, that makes a bit more sense, but I guess it begs more questions from me. How do you know which styleObj is index 0? Would that be the first styleObj created within a classObj, ie the first style within the class within a layer within the .map file? And if that is so, if I create another styleObj with a different variable, does it start over at 0? Gerald On Saturday 31 May 2003 02:50 pm, Daniel Morissette wrote: > Gerald, > > You have to call $class->GetStyle( style_index ) to access a given > style. And you use ms_newStlyeObj($class) to create a new style inside > a class. > > > Since there can be more than one style in a class, we cannot present a > single class member called style like we do for style->label for > instance. We would have to present an array of styles, not just a > single style... I guess we could have tried to do it this way, but there > may have been some issues with the PHP wrappers and anyway the > getStyle() approach was more consistent with the way layers are accessed > inside the map, and the way classes are accessed inside layers. > > > Daniel > > Gerald Buckmaster wrote: > > Greetings, > > > > Trying to understand the 3.7/4.0 documentation in regards to styleObjs. > > Reading the info on styleObj class leads me to believe instances of > > styleObj are always embedded inside the classObj, yet when I look at the > > members of the classObj, I don't see it named: > > > > Members: > > > > string name > > string title > > int type > > int status (MS_ON, MS_OFF or MS_DELETE) > > int minscale > > int maxscale > > string template > > labelObj label > > int numstyles > > > > All I see is a member called numstyles and a method called getStyle(). > > > > So how do I "attach" a styleObj to a classObj? Doesn't seem to be > > consistent, ie the labelObj is named label. > > > > $cityLabel = $cityCls->label; # I understand > > $cityStyle = $cityCls->???; # no clue > > > > Thanks, > > Gerald From gbuckmaster@cox.net Sun Jun 1 02:29:03 2003 From: gbuckmaster@cox.net (Gerald Buckmaster) Date: Sat, 31 May 2003 18:29:03 -0700 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <010701c327b9$0753c7b0$3ade26c0@o57> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> Message-ID: <200305311829.03041.gbuckmaster@cox.net> Hi, I think this link might be what you are looking for: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto HTH Gerald On Saturday 31 May 2003 02:07 pm, Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier, when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). > > XML is the future :-) > > /Morten Nielsen > http://www.iter.dk > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From elshayal@smartwebonline.com Sun Jun 1 04:13:23 2003 From: elshayal@smartwebonline.com (Mohamed Elshayal Smart) Date: Sun, 1 Jun 2003 06:13:23 +0300 Subject: [Mapserver-users] (no subject) Message-ID: <00ae01c327eb$c565b240$017efea9@mamafatma> This is a multi-part message in MIME format. ------=_NextPart_000_00AB_01C32804.E8373BE0 Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: quoted-printable Dear Sirs, I am working with GIS and DB and VB=20 I found your mapserv is very usefull. I installed it in my computer in work and it worked very good. (perfect) I copied the same files to my comupter in my home and put them in same = directories. I did every thing the same But, I receive a warrning message (open, save, cancel,help) for running = mapserv.exe=20 and after that I hve got a message to select a program to open = mapserv.exe with Please kindly help me if possible for setting my IIS Awaiting for your reply Mohamed Elshayal ------=_NextPart_000_00AB_01C32804.E8373BE0 Content-Type: text/html; charset="windows-1256" Content-Transfer-Encoding: quoted-printable
Dear Sirs,
I am working with GIS and DB and = VB=20
I found your mapserv is very = usefull.
I installed it in my computer in work = and it worked=20 very good. (perfect)
 
I copied the same files to my comupter = in my home=20 and put them in same directories. I did every thing the = same
But, I receive a warrning message = (open, save,=20 cancel,help) for running mapserv.exe
and after that I hve got a message to = select a=20 program to open mapserv.exe with
 
Please kindly help me if possible for = setting my=20 IIS
Awaiting for your reply
Mohamed Elshayal
 
 
------=_NextPart_000_00AB_01C32804.E8373BE0-- From spencer@dmsolutions.ca Sun Jun 1 05:20:23 2003 From: spencer@dmsolutions.ca (Paul Spencer) Date: Sun, 01 Jun 2003 00:20:23 -0400 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <010701c327b9$0753c7b0$3ade26c0@o57> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> Message-ID: <3ED97F07.7060905@magma.ca> No, although this has been discussed extensively. If you search the list archives I believe that for the near term the decision was that XML would likely add too much overhead (especially if it validates) to the parsing process (and probably adds an additional library dependency on something like xerces) and no real benefits. The MapServer developers place a high emphasis on keeping the core of MapServer lean and mean so it can perform very well in high-load situations, so I believe that it is unlikely that a compelling argument for XML could be made that would influence the core developers. If you really believe strongly in it, though, you can do it yourself and then try to sell the idea (ah, the beauty of open source ;)). The capability that Gerald refers to is an XML format for a "map-file-like" document that describes WMS layers only, and does not directly include the ability to style layers, add labels, and all the other cool things that MapServer can do via the MAP file. MapServer support for Contexts requires the GDAL library and parses the XML using the GDAL minixml driver, which is a non-validating parser. This format is probably of very little actual benefit to most MapServer users except those that use WMS. The Context document itself is meant primarily as an interchange format that allows users to share views. Cheers, Paul Gerald Buckmaster wrote: > Hi, > > I think this link might be what you are looking for: > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto > > HTH > > Gerald > Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier, when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). > > XML is the future :-) > > /Morten Nielsen > http://www.iter.dk > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca From thfischer@mapmedia.de Sun Jun 1 11:55:03 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 01 Jun 2003 12:55:03 +0200 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <010701c327b9$0753c7b0$3ade26c0@o57> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> Message-ID: <1054464903.645.5.camel@jeanjacques> On Sat, 2003-05-31 at 23:07, Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier > when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). > > XML is the future :-) The future of what ... I recommend reading the following before trying to squeeze xml into any and every place just because you can. http://c2.com/cgi/wiki?XmlSucks http://xmlsucks.org/but_you_have_to_use_it_anyway/does-xml-suck.html Also this has been brought up a couple of times; search the mailing list archive for xml and mapfile to see the debate. hth, thorsten From gayathri@ou.edu Sun Jun 1 17:45:01 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Sun, 1 Jun 2003 11:45:01 -0500 Subject: [Mapserver-users] (no subject) Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3285D.251616A0 Content-Type: text/plain; charset="windows-1256" Does your cgi-bin directory (where mapserv.exe is) in IIS have execute permissions? Thanks, Gayathri -----Original Message----- From: Mohamed Elshayal Smart [mailto:elshayal@smartwebonline.com] Sent: Saturday, May 31, 2003 8:13 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] (no subject) Dear Sirs, I am working with GIS and DB and VB I found your mapserv is very usefull. I installed it in my computer in work and it worked very good. (perfect) I copied the same files to my comupter in my home and put them in same directories. I did every thing the same But, I receive a warrning message (open, save, cancel,help) for running mapserv.exe and after that I hve got a message to select a program to open mapserv.exe with Please kindly help me if possible for setting my IIS Awaiting for your reply Mohamed Elshayal ------_=_NextPart_001_01C3285D.251616A0 Content-Type: text/html; charset="windows-1256"
Does your cgi-bin directory (where mapserv.exe is) in IIS have execute permissions?
Thanks,
Gayathri
-----Original Message-----
From: Mohamed Elshayal Smart [mailto:elshayal@smartwebonline.com]
Sent: Saturday, May 31, 2003 8:13 PM
To: mapserver-users@lists.gis.umn.edu
Subject: [Mapserver-users] (no subject)

Dear Sirs,
I am working with GIS and DB and VB
I found your mapserv is very usefull.
I installed it in my computer in work and it worked very good. (perfect)
 
I copied the same files to my comupter in my home and put them in same directories. I did every thing the same
But, I receive a warrning message (open, save, cancel,help) for running mapserv.exe
and after that I hve got a message to select a program to open mapserv.exe with
 
Please kindly help me if possible for setting my IIS
Awaiting for your reply
Mohamed Elshayal
 
 
------_=_NextPart_001_01C3285D.251616A0-- From pbaker@where2getit.com Sun Jun 1 20:12:55 2003 From: pbaker@where2getit.com (Paul Baker) Date: Sun, 1 Jun 2003 14:12:55 -0500 Subject: [Mapserver-users] [ANNOUNCE] Mapserver 3.6.5 Debian Package Message-ID: <0C7589F8-9465-11D7-8384-0003937562B8@where2getit.com> --Apple-Mail-3-1025657770 Content-Type: multipart/mixed; boundary=Apple-Mail-2-1025647590 --Apple-Mail-2-1025647590 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Just in time for the MapServer Users Meeting beginning Friday I have packaged MapServer 3.6.5 for Debian GNU/Linux. As this package has not been fully tested I do not yet recommend it's usage in a production environment and I await feedback. This package is built against Debian Sid (unstable) and will not work on Woody, the current stable Debian 3.0 distribution. To download and install simply add the following lines to your /etc/apt/sources.list file: deb http://paulbaker.net/debian unstable main deb-src http://paulbaker.net/debian unstable main Of course you may download the .deb files directly by pointing your web browser at http://paulbaker.net/debian/dists/unstable/binary-i386/science/ -- Paul Baker "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759 GPG Key: http://homepage.mac.com/pauljbaker/public.asc --Apple-Mail-2-1025647590 Content-Disposition: attachment; filename=mapserver_3.6.5-1_i386.txt Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name="mapserver_3.6.5-1_i386.txt" -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 1 Jun 2003 00:57:55 -0500 Source: mapserver Binary: mapserver-cgi mapserver-utils libmapscript-perl Architecture: source i386 Version: 3.6.5-1 Distribution: unstable Urgency: low Maintainer: Paul Baker (w2gi) Changed-By: Paul Baker (w2gi) Description: libmapscript-perl - UMN's MapServer - MapScript/Perl Support mapserver-cgi - UMN's MapServer - Web Mapping CGI Application mapserver-utils - UMN's MapServer - Utilities Changes: mapserver (3.6.5-1) unstable; urgency=low . * New upstream release. * fix to compile under gcc 3.3. * Standards-Version 3.5.10 (no changes required). Files: 3f472ca1b835af042e848d8509019c37 683 science extra mapserver_3.6.5-1.dsc 3bb4d6d021cce643a3f611aab6b0c439 615739 science extra mapserver_3.6.5.orig.tar.gz 17bc8a839c76e60ab7061581bfda3e22 64495 science extra mapserver_3.6.5-1.diff.gz 1d2bd756b3856d472ff3b7eae5a17c36 168512 science extra mapserver-cgi_3.6.5-1_i386.deb 83ebb5f192ae1e3d2711a0ab1479c680 317080 perl extra libmapscript-perl_3.6.5-1_i386.deb 29026e823a5a877841e97275d51e9e1d 918580 science extra mapserver-utils_3.6.5-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+2jiGoxmRVfL3nlsRAqM+AKCKEOfGcKUN9WXN9dAI5kWeWv7WpACfd3sq L7b3ozuj/xOWvHbPm7lx948= =11Sd -----END PGP SIGNATURE----- --Apple-Mail-2-1025647590-- --Apple-Mail-3-1025657770 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-disposition: inline content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE+2lBCoxmRVfL3nlsRArypAKCTEOdzacgJ70n8R5pdDDryk7So4QCfXo3B 7mA2sXKdkyIv8GbfJshw/2c= =+Grp -----END PGP SIGNATURE----- --Apple-Mail-3-1025657770-- From pbaker@where2getit.com Sun Jun 1 20:40:39 2003 From: pbaker@where2getit.com (Paul Baker) Date: Sun, 1 Jun 2003 14:40:39 -0500 Subject: [Mapserver-users] [ANNOUNCE] Mapserver 3.6.5 Debian Package In-Reply-To: <0C7589F8-9465-11D7-8384-0003937562B8@where2getit.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, June 1, 2003, at 02:12 PM, Paul Baker wrote: > Just in time for the MapServer Users Meeting beginning Friday I have > packaged MapServer 3.6.5 for Debian GNU/Linux. [snip] My bad. The url to directly download the .deb files is actually http://paulbaker.net/debian/dists/unstable/main/binary-i386/science/ Sorry for any inconvenience. - -- Paul Baker "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759 GPG Key: http://homepage.mac.com/pauljbaker/public.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE+2lbCoxmRVfL3nlsRAo8gAJ97dLWW1wmxdo8/DjVRkWCIRNt3hQCdEEyb w/e3Ochm+BqT9x9eDarVByo= =CH32 -----END PGP SIGNATURE----- From LVN@hvm.dk Sun Jun 1 21:11:04 2003 From: LVN@hvm.dk (Lars V. Nielsen) Date: Sun, 1 Jun 2003 22:11:04 +0200 Subject: [Mapserver-users] Mapfile format in XML In-Reply-To: <3ED97F07.7060905@magma.ca> References: <200305311354.49411.gbuckmaster@cox.net> <010701c327b9$0753c7b0$3ade26c0@o57> <3ED97F07.7060905@magma.ca> Message-ID: <1054498264.3eda5dd8df81f@php.mira.dk> Hear, hear. XML may be the future, but it isn't the answer to every task. And validating a line oriented format like the MAP file shouldn't be too difficult. Maybe someone has made a validator for it already ? Best regards / Med venlig hilsen Lars V. Nielsen ------------------------------- Hvenegaard & Meklenborg, Odense http://www.hvm.dk Citering Paul Spencer : > No, although this has been discussed extensively. If you search the > list archives I believe that for the near term the decision was that XML > would likely add too much overhead (especially if it validates) to the > parsing process (and probably adds an additional library dependency on > something like xerces) and no real benefits. The MapServer developers > place a high emphasis on keeping the core of MapServer lean and mean so > it can perform very well in high-load situations, so I believe that it > is unlikely that a compelling argument for XML could be made that would > influence the core developers. > > If you really believe strongly in it, though, you can do it yourself and > then try to sell the idea (ah, the beauty of open source ;)). > > The capability that Gerald refers to is an XML format for a > "map-file-like" document that describes WMS layers only, and does not > directly include the ability to style layers, add labels, and all the > other cool things that MapServer can do via the MAP file. MapServer > support for Contexts requires the GDAL library and parses the XML using > the GDAL minixml driver, which is a non-validating parser. This format > is probably of very little actual benefit to most MapServer users except > those that use WMS. The Context document itself is meant primarily as > an interchange format that allows users to share views. > > Cheers, > > Paul > > Gerald Buckmaster wrote: > > > Hi, > > > > I think this link might be what you are looking for: > > > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto > > > > HTH > > > > Gerald > > > > Morten Nielsen wrote: > > > Is there any plans on upgrading/supplementing the MAP format to XML ? > > It would make a lot of things easier, when processing the Map file in > other > > scripts (not to mention the validating that a DTD could offer). > > > > XML is the future :-) > > > > /Morten Nielsen > > http://www.iter.dk > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > -- > Paul Spencer > Applications and Software Development > DM Solutions Group Inc. > http://www.dmsolutions.ca > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From kenlord@email.com Sun Jun 1 22:36:39 2003 From: kenlord@email.com (Ken Lord) Date: Mon, 02 Jun 2003 05:36:39 +0800 Subject: [Mapserver-users] Custom Projections Message-ID: <20030601213639.20619.qmail@email.com> Hello list! I am wondering if it is possible to use projection objects in a map file to reproject a local custom grid into UTM Coordinates for display with other layers in MapServer. For example ... My data is on a local Mine Grid. -'north' on the mine grid is at an azimuth of 043 degrees. -the units of the mine grid are feet. -I can determine a false easting, and false northing at the origin or any point on the mine grid (the UTM Zone 10N coordinates of '0,0' on the mine grid). If I could project my data this way it would save a huge effort in converting the data. Any help is very much appreciated, Thanks, Ken Lord -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup From bwragg@tpg.com.au Sun Jun 1 23:47:58 2003 From: bwragg@tpg.com.au (Benjamin Wragg) Date: Mon, 2 Jun 2003 08:17:58 +0930 Subject: [Mapserver-users] PostGIS Spatial Query - Completely Within In-Reply-To: <3ED7835F.1080409@refractions.net> Message-ID: <003201c3288f$da451260$1f00a8c0@mapping12> Heiko Kehlenbrink suggested the truly_inside(geometryA,geometryB) function. Why won't this work for me? Cheers, Benjamin -----Original Message----- From: David Blasby [mailto:dblasby@refractions.net] Sent: Saturday, 31 May 2003 1:44 AM To: bwragg@tpg.com.au; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] PostGIS Spatial Query - Completely Within Benjamin Wragg wrote: > What I need to do now is alter this query slightly and only find > polygons that are completely within the country selected. You can do this, but you have to have the GEOS (JTS for C++) extension. cf. geos.refractions.net and postgis.refractions.net See recent messages in the mailing list archive. The first [experimental] version of GEOS for PostGIS has been released, but not for general consumption. Your query would be something like: SELECT * FROM WHERE contains(g1,g2) See http://www.opengis.org/techno/specs/99-049.pdf for the OGC definition of 'contains' and other spatial operators. dave From Antti.Roppola@brs.gov.au Mon Jun 2 06:16:12 2003 From: Antti.Roppola@brs.gov.au (Antti.Roppola@brs.gov.au) Date: Mon, 2 Jun 2003 15:16:12 +1000 Subject: [Mapserver-users] Mapfile format in XML Message-ID: <3E4215C93D3CE24D84A9FF385DF88D87FC43BD@afeb-ms-02> Hi all, I have added an entry to the FAQ on the Wiki, but was not able to find the post I was looking for that explained the pros and cons nicely. http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?FAQ If anyone wants to improve on my rather vague entry, feel free to do so. Cheers, Antti -----Original Message----- From: Lars V. Nielsen [mailto:LVN@hvm.dk] Sent: Monday, 2 June 2003 6:11 AM To: spencer@dmsolutions.ca; Paul Spencer Cc: Morten Nielsen; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Mapfile format in XML Hear, hear. XML may be the future, but it isn't the answer to every task. And validating a line oriented format like the MAP file shouldn't be too difficult. Maybe someone has made a validator for it already ? Best regards / Med venlig hilsen Lars V. Nielsen ------------------------------- Hvenegaard & Meklenborg, Odense http://www.hvm.dk Citering Paul Spencer : > No, although this has been discussed extensively. If you search the > list archives I believe that for the near term the decision was that XML > would likely add too much overhead (especially if it validates) to the > parsing process (and probably adds an additional library dependency on > something like xerces) and no real benefits. The MapServer developers > place a high emphasis on keeping the core of MapServer lean and mean so > it can perform very well in high-load situations, so I believe that it > is unlikely that a compelling argument for XML could be made that would > influence the core developers. > > If you really believe strongly in it, though, you can do it yourself and > then try to sell the idea (ah, the beauty of open source ;)). > > The capability that Gerald refers to is an XML format for a > "map-file-like" document that describes WMS layers only, and does not > directly include the ability to style layers, add labels, and all the > other cool things that MapServer can do via the MAP file. MapServer > support for Contexts requires the GDAL library and parses the XML using > the GDAL minixml driver, which is a non-validating parser. This format > is probably of very little actual benefit to most MapServer users except > those that use WMS. The Context document itself is meant primarily as > an interchange format that allows users to share views. > > Cheers, > > Paul > > Gerald Buckmaster wrote: > > > Hi, > > > > I think this link might be what you are looking for: > > > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapContextHowto > > > > HTH > > > > Gerald > > > > Morten Nielsen wrote: > > > Is there any plans on upgrading/supplementing the MAP format to XML ? > > It would make a lot of things easier, when processing the Map file in > other > > scripts (not to mention the validating that a DTD could offer). > > > > XML is the future :-) > > > > /Morten Nielsen > > http://www.iter.dk > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > -- > Paul Spencer > Applications and Software Development > DM Solutions Group Inc. > http://www.dmsolutions.ca > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From jwitte@gmx.at Mon Jun 2 09:39:17 2003 From: jwitte@gmx.at (=?utf-8?Q?J=C3=B6rn_Witte?=) Date: Mon, 2 Jun 2003 10:39:17 +0200 Subject: [Mapserver-users] problem with WMS Client support Message-ID: <000001c328e2$81a8a920$3efefea9@poldi> This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C328F3.4532FFC0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I=E2=80=99am trying to compile the UMN Mapserver with the WMS Client = support and always get the following error-message: =20 =20 WIN32 /c mapwms.c /Fomapwms.obj mapwms.c mapwms.c(44) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(46) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(170) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(589) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(745) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(828) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(832) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(836) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(859) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(879) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(906) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(918) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(983) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern = mit Rueckgabetyp int cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 = -I../tiff-v3.5.5/libtiff -I../proj-4.4.3/src -I..\php-4.0.4\regex = -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core = -I../libwww/library/src -I../libwww/modules/expat/xmlp arse -I ../arcsde/include -DNEED_STRCASECMP -DNEED_STRNCASECMP = -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 -DFEATURE_INFO_HTML -DUSE_SDE -D WIN32 /c mapwmslayer.c /Fomapwmslayer.obj mapwmslayer.c ../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocolId' ../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : Name = in der formalen Parameterliste ist ungueltig ../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : = Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ',' ../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocol_id' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : 'type' ../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : = Bezeichner 'u_short' ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' ../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}' mapwmslayer.c(292) : warning C4013: 'index' undefiniert; Annahme: extern = mit Rueckgabetyp int mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl der = Dereferenzierungen bei 'const char *' und 'int ' unterschiedlich mapwmslayer.c(340) : warning C4013: 'isspace' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche = Typen fuer formalen und uebergebenen Parameter 2 NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' Stop. =20 =20 =20 Does anyone have an idea of what is going wrong? =20 Thanks, Witte ------=_NextPart_000_0001_01C328F3.4532FFC0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi,

I=E2=80=99am trying to = compile the UMN Mapserver with the WMS Client support and always get the following error-message:

 

 

WIN32 /c mapwms.c /Fomapwms.obj

mapwms.c

mapwms.c(44) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(44) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(46) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(46) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(170) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(170) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(589) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(589) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(745) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(745) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(828) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(828) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(832) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(832) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(836) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(836) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(859) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(859) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(879) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(879) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(906) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(906) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(918) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(918) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(983) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(983) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1053) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1053) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1387) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1387) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1388) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1388) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1400) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1400) : warning C4024: = 'strncasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1401) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1401) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1403) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1403) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1424) : warning C4013: = 'getpid' undefiniert; Annahme: extern mit Rueckgabetyp int

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = cl /nologo /Zi /W3 /DDEBUG /DWIN32 = -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff=C2=A0=C2=A0 -I../proj-4.4.3/src=C2=A0=C2=A0 -I..\php-4.0.4\regex -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core=C2=A0 = -I../libwww/library/src -I../libwww/modules/expat/xmlp

arse -I ../arcsde/include=C2=A0 -DNEED_STRCASECMP -DNEED_STRNCASECMP=C2=A0=C2=A0 -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF=C2=A0 = -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_TTF=C2=A0 -DUSE_GD_TTF -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS -DUSE_WMS_LYR=C2=A0 -DIGNORE_MISSING_DATA=C2=A0 -DFEATURE_INFO_HTML -DUSE_SDE -D

WIN32 /c mapwmslayer.c /Fomapwmslayer.obj

mapwmslayer.c<= /span>

../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : Bezeichner 'HTProtocolId'

../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'port'

../libwww/library/src\HTProt.h(85) : = error C2081: 'HTProtocolId' : Name in der formalen Parameterliste ist ungueltig

../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : Bezeichner 'port'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ','

../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : Bezeichner 'HTProtocol_id'

../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(132) : = error C2059: Syntaxfehler : 'type'

../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(65) : = error C2081: 'u_short' = : Name in der formalen Parameterliste ist ungueltig

../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(66) : = error C2081: 'u_short' = : Name in der formalen Parameterliste ist ungueltig

../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : Bezeichner 'u_short'

../libwww/library/src\HTHstMan.h(94) : = error C2079: 'sock_addr' verwendet undefiniertes struct 'sockaddr_in'

../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}'

mapwmslayer.c<= /span>(292) : warning C4013: 'index' undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c<= /span>(292) : warning C4047: = '=3D' : Anzahl der Dereferenzierungen bei 'const char *' und 'int = ' unterschiedlich

mapwmslayer.c<= /span>(340) : warning C4013: 'isspace' undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c<= /span>(368) : warning C4090: = 'function' : Unterschiedliche 'const'-Bezeichner

mapwmslayer.c<= /span>(368) : warning C4024: = 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 2

NMAKE : fatal error = U1077: 'cl' : Rueckgabe-Code '0x2'

Stop.=

 

 

 

Does anyone have an = idea of what is going wrong?

 

Thanks,

Witte=

------=_NextPart_000_0001_01C328F3.4532FFC0-- From jwitte@gmx.at Mon Jun 2 09:39:48 2003 From: jwitte@gmx.at (=?utf-8?Q?J=C3=B6rn_Witte?=) Date: Mon, 2 Jun 2003 10:39:48 +0200 Subject: [Mapserver-users] problem with WMS Client support Message-ID: <000501c328e2$872c8e70$3efefea9@poldi> This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C328F3.4AB55E70 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I=E2=80=99am trying to compile the UMN Mapserver with the WMS Client = support and always get the following error-message: =20 =20 WIN32 /c mapwms.c /Fomapwms.obj mapwms.c mapwms.c(44) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(46) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer = formalen und uebergebenen Parameter 1 mapwms.c(170) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(589) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(745) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(828) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(832) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(836) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(859) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(879) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(906) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(918) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(983) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern = mit Rueckgabetyp int cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 = -I../tiff-v3.5.5/libtiff -I../proj-4.4.3/src -I..\php-4.0.4\regex = -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core = -I../libwww/library/src -I../libwww/modules/expat/xmlp arse -I ../arcsde/include -DNEED_STRCASECMP -DNEED_STRNCASECMP = -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 -DFEATURE_INFO_HTML -DUSE_SDE -D WIN32 /c mapwmslayer.c /Fomapwmslayer.obj mapwmslayer.c ../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocolId' ../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : Name = in der formalen Parameterliste ist ungueltig ../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : = Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ',' ../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocol_id' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : 'type' ../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : = Bezeichner 'u_short' ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' ../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}' mapwmslayer.c(292) : warning C4013: 'index' undefiniert; Annahme: extern = mit Rueckgabetyp int mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl der = Dereferenzierungen bei 'const char *' und 'int ' unterschiedlich mapwmslayer.c(340) : warning C4013: 'isspace' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche = 'const'-Bezeichner mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche = Typen fuer formalen und uebergebenen Parameter 2 NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' Stop. =20 =20 =20 Does anyone have an idea of what is going wrong? =20 Thanks, Witte ------=_NextPart_000_0006_01C328F3.4AB55E70 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi,

I=E2=80=99am trying to = compile the UMN Mapserver with the WMS Client support and always get the following error-message:

 

 

WIN32 /c mapwms.c /Fomapwms.obj

mapwms.c

mapwms.c(44) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(46) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(170) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(589) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(745) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(828) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(832) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(836) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(859) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(879) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(906) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(918) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(983) : warning C4090: 'function' : = Unterschiedliche 'const'-Bezeichner

mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 1

mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern mit Rueckgabetyp int

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff=C2=A0=C2=A0 -I../proj-4.4.3/src=C2=A0=C2=A0 -I..\php-4.0.4\regex = -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr = -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core=C2=A0 -I../libwww/library/src = -I../libwww/modules/expat/xmlp

arse -I ../arcsde/include=C2=A0 -DNEED_STRCASECMP -DNEED_STRNCASECMP=C2=A0=C2=A0 -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF=C2=A0 -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP = -DUSE_GD_TTF=C2=A0 -DUSE_GD_TTF = -DGD_HAS_GDIMAGEGIFPTR -DUSE_OGR -DUSE_WMS -DUSE_WMS_LYR=C2=A0 -DIGNORE_MISSING_DATA =C2=A0-DFEATURE_INFO_HTML -DUSE_SDE = -D

WIN32 /c mapwmslayer.c = /Fomapwmslayer.obj

mapwmslayer.c

../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : Bezeichner 'HTProtocolId'

../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'port'

../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : Name in der formalen Parameterliste ist = ungueltig

../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : Bezeichner 'port'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ','

../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : Bezeichner 'HTProtocol_id'

../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : 'type'

../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(65) : error C2081: = 'u_short' : Name in der formalen Parameterliste ist = ungueltig

../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';'

../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner = 'u_port'

../libwww/library/src\HTHost.h(66) : error C2081: = 'u_short' : Name in der formalen Parameterliste ist = ungueltig

../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : Bezeichner 'u_port'

../libwww/library/src\HTHost.h(66) : error C2059: = Syntaxfehler : ';'

../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')'

../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : Bezeichner 'u_short'

../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' verwendet undefiniertes struct = 'sockaddr_in'

../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : '}'

mapwmslayer.c(292) : warning C4013: 'index' = undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl = der Dereferenzierungen bei 'const char *' und 'int ' = unterschiedlich

mapwmslayer.c(340) : warning C4013: 'isspace' = undefiniert; Annahme: extern mit Rueckgabetyp int

mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner

mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen Parameter = 2

NMAKE : fatal error = U1077: 'cl' : Rueckgabe-Code '0x2'

Stop.=

 

 

 

Does anyone have an = idea of what is going wrong?

 

Thanks,

Witte=

------=_NextPart_000_0006_01C328F3.4AB55E70-- From braulioen@ono.com Mon Jun 2 12:15:45 2003 From: braulioen@ono.com (braulioen@ono.com) Date: Mon, 02 Jun 2003 13:15:45 +0200 Subject: [Mapserver-users] Question about PHP/Mapscript. Message-ID: <118cc911a928.11a928118cc9@ono.com> Hi! How I could center a polygon of a shapefile in a map in PHP/Mapscript?, that is to say, to fit the extent of the map to which he occupies the polygon. Thanks. Braulio. From N.Witte@bunnik.cso.nl Mon Jun 2 13:37:56 2003 From: N.Witte@bunnik.cso.nl (Nol Witte) Date: Mon, 2 Jun 2003 14:37:56 +0200 Subject: [Mapserver-users] gmap problem Message-ID: <5DB85700D035D7118F98000102A4837F217ABB@URANUS> Hi, I installed the MapServer and PHP/MapScript on a Windows NT machine using FoxServ (Apache, PHP). All is working fine (the MapServer Itasca demo is running fine, phpinfo_mapscript.phtml gives the right output, test_draw_map.phtml also functions). When I install gmap though, problems arise: phpinfo_mapscript.phtml suddenly gives a "500 Internal Server Error" when called from the gmap directory; the gmap75.phtml script gives the same problem. My guess is that there is a problem with the alias ... but I installed gmap exactly according to the manual. Any suggestions? Or known bugs of this kind? Thanks in advance, Nol Witte, the Netherlands From Chip.Hankley@rmtinc.com Mon Jun 2 14:03:25 2003 From: Chip.Hankley@rmtinc.com (Chip Hankley) Date: Mon, 02 Jun 2003 08:03:25 -0500 Subject: [Mapserver-users] Just in case you weren't reading ALL your Mapserver mail... Message-ID: --=_F5AA1D33.2E4F3EF8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I got a kick out of this response... particularly the second link. Though= t you guys might find this funny too. =20 =20 =20 Chip Hankley, GIS Specialist RMT, Inc. chip.hankley@rmtinc.com 608.662.5498 (Direct) >>> Thorsten Fischer 06/01/03 05:55AM >>> On Sat, 2003-05-31 at 23:07, Morten Nielsen wrote: > Is there any plans on upgrading/supplementing the MAP format to XML ? > It would make a lot of things easier > when processing the Map file in other > scripts (not to mention the validating that a DTD could offer). >=20 > XML is the future :-) The future of what ... I recommend reading the following before trying to squeeze xml into any and every place just because you can. http://c2.com/cgi/wiki?XmlSucks=20 http://xmlsucks.org/but_you_have_to_use_it_anyway/does-xml-suck.html=20 Also this has been brought up a couple of times; search the mailing list archive for xml and mapfile to see the debate. hth, thorsten _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu=20 http://lists.gis.umn.edu/mailman/listinfo/mapserver-users=20 Outgoing messages, along with any attachments, are scanned for viruses at= =20RMT prior to sending. -------------------------------------------------------------------------= ----- NOTICE--This email may contain confidential and privileged information=20 for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient,= please contact the sender immediately and delete all copies. --=_F5AA1D33.2E4F3EF8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I got a kick out of this response... particularly the second link. T= hought=20 you guys might find this funny too.
 
 
 
Chip Hankley, GIS Specialist
RMT, Inc.
chip.hankley@rmtinc.com
60= 8.662.5498=20 (Direct)


>>> Thorsten Fischer <thfischer@mapmedia.= de>=20 06/01/03 05:55AM >>>
On Sat, 2003-05-31 at 23:07, Morten Niel= sen=20 wrote:
> Is there any plans on upgrading/supplementing the MAP form= at to=20 XML ?
> It would make a lot of things easier
>  when pro= cessing=20 the Map file in other
> scripts (not to mention the validating that= =20a DTD=20 could offer).
>
> XML is the future :-)

The future of= =20what=20 ... I recommend reading the following before trying
to squeeze xml int= o any=20 and every place just because you can.

http://c2.com/cgi/wiki?XmlSucks<= /A>

http://xmlsucks.org/but_you_have_to_use_it_anyway/does-xml-suck.html=

Also=20 this has been brought up a couple of times; search the mailing list
ar= chive=20 for xml and mapfile to see the=20 debate.


hth,

thorsten

__________________________= _____________________
Mapserver-users=20 mailing list
Mapserver-users@lists.gis.umn.edu
http:/= /lists.gis.umn.edu/mailman/listinfo/mapserver-users

Outgoing messages, along with any attachments, are scanned for vi= ruses=20 at RMT prior to sending.=20


NOTICE-- This email may contain confidential and privileged information f= or the=20 sole use of the intended recipient. Any review or distribution by others = is=20 strictly prohibited. If you are not the intended recipient, please c= ontact=20 the sender immediately and delete all copies.=20

--=_F5AA1D33.2E4F3EF8-- From Chip.Hankley@rmtinc.com Mon Jun 2 14:30:09 2003 From: Chip.Hankley@rmtinc.com (Chip Hankley) Date: Mon, 02 Jun 2003 08:30:09 -0500 Subject: [Mapserver-users] MORE Just in case you weren't reading ALL your Mapserver mail... Message-ID: --=_AFF04773.1A7B0ACB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Obviously, I didn't mean to copy all of you on my commentary. Apologies. =20 I'm going to enroll in that e-mail 101 class now... =20 =20 Outgoing messages, along with any attachments, are scanned for viruses at= =20RMT prior to sending. -------------------------------------------------------------------------= ----- NOTICE--This email may contain confidential and privileged information=20 for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient,= please contact the sender immediately and delete all copies. --=_AFF04773.1A7B0ACB Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Obviously, I didn't mean to copy all of you on my commentary.=20 Apologies.
 
I'm going to enroll in that e-mail 101 class now...
 
 

Outgoing messages, along with any attachments, are scanned for vi= ruses=20 at RMT prior to sending.=20


NOTICE-- This email may contain confidential and privileged information f= or the=20 sole use of the intended recipient. Any review or distribution by others = is=20 strictly prohibited. If you are not the intended recipient, please c= ontact=20 the sender immediately and delete all copies.=20

--=_AFF04773.1A7B0ACB-- From gayathri@ou.edu Mon Jun 2 14:40:00 2003 From: gayathri@ou.edu (Swaminathan, Gayathri) Date: Mon, 2 Jun 2003 08:40:00 -0500 Subject: [Mapserver-users] problem with WMS Client support Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3290C.76DCBCF0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi: Got the same error messages when I was trying to compile through a "CL" too....If you changed u_short to short the ushort errors will go... You will still have this following error., =20 ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' =20 The sockaddr_in is defined in the wwwsys.h which in turn refers in.h = which is in the cygwin =20 All the problems however vanish if Mapserver is compiled in a VC++ environment...with supporting libs mentioned in the lib directories and supporting libraries mentioned in the include.... =20 Please check out the conversation Rosangela Silva and me have been = having on this.... =20 But really dont know why the libwww...does not work well with the "CL" compiler. HTH, Gayathri -----Original Message----- From: J=C3=B6rn Witte [mailto:jwitte@gmx.at] Sent: Monday, June 02, 2003 1:40 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] problem with WMS Client support Hi, I=E2=80=99am trying to compile the UMN Mapserver with the WMS Client = support and always get the following error-message: =20 =20 WIN32 /c mapwms.c /Fomapwms.obj mapwms.c mapwms.c(44) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(44) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(46) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(46) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(170) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(170) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(589) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(589) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(745) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(745) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(828) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(828) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(832) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(832) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(836) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(836) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(859) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(859) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(879) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(879) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(906) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(906) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(918) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(918) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(983) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(983) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1053) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1053) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1387) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1387) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1388) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1388) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1400) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1400) : warning C4024: 'strncasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1401) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1401) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1403) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwms.c(1403) : warning C4024: 'strcasecmp' : Unterschiedliche Typen = fuer formalen und uebergebenen Parameter 1 mapwms.c(1424) : warning C4013: 'getpid' undefiniert; Annahme: extern = mit Rueckgabetyp int cl /nologo /Zi /W3 /DDEBUG /DWIN32 -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff -I../proj-4.4.3/src -I..\php-4.0.4\regex -DPHP_NO_ALIASES -I..\gdal-1.1.8/ogr/ogrsf_frmts -I..\gdal-1.1.8/ogr -I..\gdal-1.1.8/ogr/../port -I..\gdal-1.1.8/core = -I../libwww/library/src -I../libwww/modules/expat/xmlp arse -I ../arcsde/include -DNEED_STRCASECMP -DNEED_STRNCASECMP = -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 -DFEATURE_INFO_HTML -DUSE_SDE -D WIN32 /c mapwmslayer.c /Fomapwmslayer.obj mapwmslayer.c ../libwww/library/src\HTProt.h(58) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocolId' ../libwww/library/src\HTProt.h(58) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2081: 'HTProtocolId' : = Name in der formalen Parameterliste ist ungueltig ../libwww/library/src\HTProt.h(85) : error C2061: Syntaxfehler : = Bezeichner 'port' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(85) : error C2059: Syntaxfehler : ',' ../libwww/library/src\HTProt.h(88) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTProt.h(132) : error C2061: Syntaxfehler : = Bezeichner 'HTProtocol_id' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTProt.h(132) : error C2059: Syntaxfehler : = 'type' ../libwww/library/src\HTHost.h(65) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(65) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(65) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHost.h(66) : error C2146: Syntaxfehler : = Fehlendes ')' vor Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2081: 'u_short' : Name in = der formalen Parameterliste ist ungueltig ../libwww/library/src\HTHost.h(66) : error C2061: Syntaxfehler : = Bezeichner 'u_port' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ';' ../libwww/library/src\HTHost.h(66) : error C2059: Syntaxfehler : ')' ../libwww/library/src\HTHstMan.h(60) : error C2061: Syntaxfehler : Bezeichner 'u_short' ../libwww/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' = verwendet undefiniertes struct 'sockaddr_in' ../libwww/library/src\HTHstMan.h(110) : error C2059: Syntaxfehler : = '}' mapwmslayer.c(292) : warning C4013: 'index' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(292) : warning C4047: '=3D' : Anzahl der = Dereferenzierungen bei 'const char *' und 'int ' unterschiedlich mapwmslayer.c(340) : warning C4013: 'isspace' undefiniert; Annahme: = extern mit Rueckgabetyp int mapwmslayer.c(368) : warning C4090: 'function' : Unterschiedliche 'const'-Bezeichner mapwmslayer.c(368) : warning C4024: 'strcasecmp' : Unterschiedliche = Typen fuer formalen und uebergebenen Parameter 2 NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' Stop. =20 =20 =20 Does anyone have an idea of what is going wrong? =20 Thanks, Witte ------_=_NextPart_001_01C3290C.76DCBCF0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi:
Got=20 the same error messages when I was trying to compile through a "CL" = too....If=20 you changed u_short to short the ushort errors will = go...
You=20 will still have this following error.,
 

../libwww/library/src\HTHstMan.h(94)=20 : error C2079: 'sock_addr' verwendet undefiniertes struct=20 'sockaddr_in'

 

The sockaddr_in is defined in the wwwsys.h = which in=20 turn refers in.h which is in the cygwin

 

All the problems however = vanish if=20 Mapserver is compiled in a VC++ environment...with supporting libs = mentioned in=20 the lib directories and supporting libraries mentioned in the=20 include....

 

Please check out the conversation Rosangela = Silva =20 and me have been having on this....

 

But really dont know why the = libwww...does not=20 work well with the "CL" compiler.

HTH,

Gayathri

-----Original Message-----
From: J=C3=B6rn Witte=20 [mailto:jwitte@gmx.at]
Sent: Monday, June 02, 2003 1:40=20 AM
To: mapserver-users@lists.gis.umn.edu
Subject: = [Mapserver-users] problem with WMS Client = support

Hi,

I=E2=80=99am=20 trying to compile the UMN Mapserver with the WMS Client support and = always get=20 the following error-message:

 

 

WIN32 /c=20 mapwms.c /Fomapwms.obj

mapwms.c

mapwms.c(44) : warning = C4090:=20 'function' : Unterschiedliche = 'const'-Bezeichner

mapwms.c(44) : warning = C4024:=20 'strcasecmp' : Unterschiedliche Typen fuer formalen und uebergebenen = Parameter=20 1