[mapserver-users] compile problems

Caffeinate The World mochaexpress at yahoo.com
Fri Nov 22 20:25:18 EST 2002


I get this compile error in both latest stable and nightly built:

--- from nightly built

ns01$ gmake
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_S
VR      -DUSE_TIFF -DUSE_JPEG -DUSE_GD_SWAP_XY     -DUSE_POSTGIS   -I/usr/local/include  -I
/usr/local/include -I/usr/pkg/include -I/usr/pkg/include       -I/usr/local_install/postgre
sql-7.2.3/include    mapwms.c -o mapwms.o
mapwms.c: In function `msWMSGetCapabilities':
mapwms.c:705: syntax error before `,'
gmake: *** [mapwms.o] Error 1
---

Here is the code from that section (nightly built):

    msWMSPrintRequestCap(wmtver, "Map", script_url_encoded,
#ifdef USE_GD_GIF
                      "<GIF />"
#endif
#ifdef USE_GD_PNG
                      "<PNG />"
#endif
#ifdef USE_GD_JPEG
                      "<JPEG />"
#endif
#ifdef USE_GD_WBMP
                      "<WBMP />"
#endif
                      , NULL); //<<<<<----------------HERE
    msWMSPrintRequestCap(wmtver, "Capabilities", script_url_encoded, "<WMS_XML />", NULL);
    msWMSPrintRequestCap(wmtver, "FeatureInfo", script_url_encoded, "<MIME /><GML.1 />", NU
LL);
  }
  else
  {

---

I indicated with the //<<<<<----------------HERE above




---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021122/ad177fb8/attachment.html


More information about the mapserver-users mailing list