[Mapserver-users] Error with libcurl, wms and wfs client in make

Lorenzo Moretti lorenzo.moretti at bologna.enea.it
Wed Jul 14 11:11:12 EDT 2004


--============_-1122304623==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

I would built Mapserver with wms and wfs client support. Whitout this 
support it's possible to built MapServer 4.2.1 and mapscript in OS X, 
but I want to use wms and wfs client. I have libcurl 7.10.8 and I 
have this error:

maphttp.c: In function `msHTTPInit':
maphttp.c:127: warning: implicit declaration of function `curl_global_init'
maphttp.c:127: error: `CURL_GLOBAL_ALL' undeclared (first use in this function)
maphttp.c:127: error: (Each undeclared identifier is reported only once
maphttp.c:127: error: for each function it appears in.)
maphttp.c: In function `msHTTPCleanup':
maphttp.c:147: warning: implicit declaration of function `curl_global_cleanup'
maphttp.c: In function `msHTTPExecuteRequests':
maphttp.c:271: error: `CURLM' undeclared (first use in this function)
maphttp.c:271: error: `multi_handle' undeclared (first use in this function)
maphttp.c:272: error: `CURLMsg' undeclared (first use in this function)
maphttp.c:272: error: `curl_msg' undeclared (first use in this function)
maphttp.c:303: warning: implicit declaration of function `curl_multi_init'
maphttp.c:391: error: `CURLOPT_WRITEDATA' undeclared (first use in 
this function)
maphttp.c:420: warning: implicit declaration of function 
`curl_multi_add_handle'
maphttp.c:432: error: `CURLM_CALL_MULTI_PERFORM' undeclared (first 
use in this function)
maphttp.c:433: warning: implicit declaration of function `curl_multi_perform'
maphttp.c:454: warning: implicit declaration of function `curl_multi_fdset'
maphttp.c:486: warning: implicit declaration of function `curl_multi_info_read'
maphttp.c:490: error: `CURLMSG_DONE' undeclared (first use in this function)
maphttp.c:612: error: `CURLINFO_STARTTRANSFER_TIME' undeclared (first 
use in this function)
maphttp.c:627: warning: implicit declaration of function 
`curl_multi_remove_handle'
maphttp.c:634: warning: implicit declaration of function `curl_multi_cleanup'
make: *** [maphttp.o] Error 1

Libcurl is supported in OS X (see 
http://developer.apple.com/documentation/Darwin/Reference/ManPages/html/curl_global_init.3.html) 
but the flag is not recognized ....

Who can help me?


-- 
________________________________________________________________________
||       Lorenzo Moretti        e-mail: lorenzo.moretti at bologna.enea.it     
||/|/|   ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/    
||   |   via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/ (res.)
~~~~~~   40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131
			Download GRASS for MAC OS X:    
	           http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________
--============_-1122304623==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Error with libcurl, wms and wfs client in
make</title></head><body>
<div>I would built Mapserver with wms and wfs client support. Whitout
this support it's possible to built MapServer 4.2.1 and mapscript in
OS X, but I want to use wms and wfs client. I have libcurl 7.10.8 and
I have this error:</div>
<div><br></div>
<blockquote>maphttp.c: In function `msHTTPInit':</blockquote>
<blockquote>maphttp.c:127: warning: implicit declaration of function
`curl_global_init'</blockquote>
<blockquote>maphttp.c:127: error: `CURL_GLOBAL_ALL' undeclared (first
use in this function)</blockquote>
<blockquote>maphttp.c:127: error: (Each undeclared identifier is
reported only once</blockquote>
<blockquote>maphttp.c:127: error: for each function it appears
in.)</blockquote>
<blockquote>maphttp.c: In function `msHTTPCleanup':</blockquote>
<blockquote>maphttp.c:147: warning: implicit declaration of function
`curl_global_cleanup'</blockquote>
<blockquote>maphttp.c: In function
`msHTTPExecuteRequests':</blockquote>
<blockquote>maphttp.c:271: error: `CURLM' undeclared (first use in
this function)</blockquote>
<blockquote>maphttp.c:271: error: `multi_handle' undeclared (first use
in this function)</blockquote>
<blockquote>maphttp.c:272: error: `CURLMsg' undeclared (first use in
this function)</blockquote>
<blockquote>maphttp.c:272: error: `curl_msg' undeclared (first use in
this function)</blockquote>
<blockquote>maphttp.c:303: warning: implicit declaration of function
`curl_multi_init'</blockquote>
<blockquote>maphttp.c:391: error: `CURLOPT_WRITEDATA' undeclared
(first use in this function)</blockquote>
<blockquote>maphttp.c:420: warning: implicit declaration of function
`curl_multi_add_handle'</blockquote>
<blockquote>maphttp.c:432: error: `CURLM_CALL_MULTI_PERFORM'
undeclared (first use in this function)</blockquote>
<blockquote>maphttp.c:433: warning: implicit declaration of function
`curl_multi_perform'</blockquote>
<blockquote>maphttp.c:454: warning: implicit declaration of function
`curl_multi_fdset'</blockquote>
<blockquote>maphttp.c:486: warning: implicit declaration of function
`curl_multi_info_read'</blockquote>
<blockquote>maphttp.c:490: error: `CURLMSG_DONE' undeclared (first use
in this function)</blockquote>
<blockquote>maphttp.c:612: error: `CURLINFO_STARTTRANSFER_TIME'
undeclared (first use in this function)</blockquote>
<blockquote>maphttp.c:627: warning: implicit declaration of function
`curl_multi_remove_handle'</blockquote>
<blockquote>maphttp.c:634: warning: implicit declaration of function
`curl_multi_cleanup'</blockquote>
<blockquote>make: *** [maphttp.o] Error 1</blockquote>
<blockquote><br></blockquote>
<div>Libcurl is supported in OS X (see
http://developer.apple.com/documentation/Darwin/Reference/ManPages/ht<span
></span>ml/curl_global_init.3.html) but the flag is not recognized
....</div>
<div><br></div>
<div>Who can help me?</div>
<div><br></div>
<div><br></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><font face="Courier New"
color="#000000"
>____________________________________________________________________<span
></span>____</font></div>
<div><font face="Courier New"
color="#000000">||&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lorenzo
Moretti&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e-mail:
lorenzo.moretti at bologna.enea.it&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></div
>
<div><font face="Courier New" color="#000000">||/|/|&nbsp;&nbsp; ENEA
prot/idr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Web:
http://wwwamb.bologna.enea.it/&nbsp;&nbsp;&nbsp;&nbsp;</font></div>
<div><font face="Courier New" color="#000000">||&nbsp;&nbsp; |&nbsp;&nbsp;
via Don Fiammelli, 2&nbsp;&nbsp; FTP:
ftp://ftpamb.bologna.enea.it/&nbsp;(res.)</font></div>
<div><font face="Courier New" color="#000000">~~~~~~&nbsp;&nbsp; 40128
BOLOGNA - ITALY&nbsp; Ph: +39-0516098086&nbsp; Fax:
+39-0516098131</font></div>
<div><font face="Courier New"
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Download GRASS for MAC OS
X:&nbsp;&nbsp;&nbsp;&nbsp;</font></div>
<div><font face="Courier New"
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
http://wwwamb.bologna.enea.it/forgrass/</font></div>
<div><font face="Courier New"
color="#000000"
>____________________________________________________________________<span
></span>____</font></div>
</body>
</html>
--============_-1122304623==_ma============--



More information about the mapserver-users mailing list