[mapserver-users] compile problems

Caffeinate The World mochaexpress@yahoo.com
Fri, 22 Nov 2002 17:28:06 -0800 (PST)


--0-1815746372-1038014886=:62387
Content-Type: text/plain; charset=us-ascii


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
--0-1815746372-1038014886=:62387
Content-Type: text/html; charset=us-ascii

<P>I get this compile error in both latest stable and nightly built:</P>
<P>--- from nightly built</P>
<P>ns01$ gmake<BR>gcc -c -O2&nbsp; -Wall -DIGNORE_MISSING_DATA&nbsp; -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_S<BR>VR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_TIFF -DUSE_JPEG -DUSE_GD_SWAP_XY&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_POSTGIS&nbsp;&nbsp; -I/usr/local/include&nbsp; -I<BR>/usr/local/include -I/usr/pkg/include -I/usr/pkg/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -I/usr/local_install/postgre<BR>sql-7.2.3/include&nbsp;&nbsp;&nbsp; mapwms.c -o mapwms.o<BR>mapwms.c: In function `msWMSGetCapabilities':<BR>mapwms.c:705: syntax error before `,'<BR>gmake: *** [mapwms.o] Error 1<BR>---</P>
<P>Here is the code from that section (nightly built):</P>
<P>&nbsp;&nbsp;&nbsp; msWMSPrintRequestCap(wmtver, "Map", script_url_encoded,<BR>#ifdef USE_GD_GIF<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;GIF /&gt;"<BR>#endif<BR>#ifdef USE_GD_PNG<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;PNG /&gt;"<BR>#endif<BR>#ifdef USE_GD_JPEG<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;JPEG /&gt;"<BR>#endif<BR>#ifdef USE_GD_WBMP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;WBMP /&gt;"<BR>#endif<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; , NULL); //&lt;&lt;&lt;&lt;&lt;----------------HERE<BR>&nbsp;&nbsp;&n!
bsp; msWMSPrintRequestCap(wmtver, "Capabilities", script_url_encoded, "&lt;WMS_XML /&gt;", NULL);<BR>&nbsp;&nbsp;&nbsp; msWMSPrintRequestCap(wmtver, "FeatureInfo", script_url_encoded, "&lt;MIME /&gt;&lt;GML.1 /&gt;", NU<BR>LL);<BR>&nbsp; }<BR>&nbsp; else<BR>&nbsp; {</P>
<P>---</P>
<P>I indicated with the //&lt;&lt;&lt;&lt;&lt;----------------HERE above<BR></P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
--0-1815746372-1038014886=:62387--