[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 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_S<BR>VR -DUSE_TIFF -DUSE_JPEG -DUSE_GD_SWAP_XY -DUSE_POSTGIS -I/usr/local/include -I<BR>/usr/local/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/local_install/postgre<BR>sql-7.2.3/include 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> msWMSPrintRequestCap(wmtver, "Map", script_url_encoded,<BR>#ifdef USE_GD_GIF<BR> "<GIF />"<BR>#endif<BR>#ifdef USE_GD_PNG<BR> "<PNG />"<BR>#endif<BR>#ifdef USE_GD_JPEG<BR> "<JPEG />"<BR>#endif<BR>#ifdef USE_GD_WBMP<BR> "<WBMP />"<BR>#endif<BR> , NULL); //<<<<<----------------HERE<BR> &n!
bsp; msWMSPrintRequestCap(wmtver, "Capabilities", script_url_encoded, "<WMS_XML />", NULL);<BR> msWMSPrintRequestCap(wmtver, "FeatureInfo", script_url_encoded, "<MIME /><GML.1 />", NU<BR>LL);<BR> }<BR> else<BR> {</P>
<P>---</P>
<P>I indicated with the //<<<<<----------------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--