[Mapserver-users] problems with curl

Lars Möller moeller at basis5.de
Wed Jun 2 11:37:47 EDT 2004


hi,

I have a problem with make.
I start with this configure:

./configure --with-proj=/usr/local/ 
--with-gdal=/usr/local/bin/gdal-config 
--with-ogr=/usr/local/bin/gdal-config --disable-ignore-missing-data 
--with-wmsclient --with-wfsclient --with-ttf=/usr

all is fine after that:


configure: checking for curl-config...
checking for curl-config... /usr/local/bin/curl-config
         found libcurl version 7.12.0
         OGC WMS Client Connections enabled (-DUSE_WMS_LYR).
         OGC WFS Client Connections enabled (-DUSE_WFS_LYR).
configure: checking HTTPD server (Apache) version...


with make I get errors:

maphttp.c: In function `msHTTPExecuteRequests':
maphttp.c:244: `CURLM' undeclared (first use in this function)
maphttp.c:244: (Each undeclared identifier is reported only once
maphttp.c:244: for each function it appears in.)
maphttp.c:244: `multi_handle' undeclared (first use in this function)
maphttp.c:244: warning: statement with no effect
maphttp.c:245: `CURLMsg' undeclared (first use in this function)
maphttp.c:245: `curl_msg' undeclared (first use in this function)
maphttp.c:245: warning: statement with no effect
maphttp.c:246: parse error before `char'
maphttp.c:268: warning: implicit declaration of function `curl_multi_init'
maphttp.c:293: `debug' undeclared (first use in this function)
maphttp.c:357: `CURLOPT_WRITEDATA' undeclared (first use in this function)
maphttp.c:371: warning: implicit declaration of function 
`curl_multi_add_handle'
maphttp.c:381: `CURLM_CALL_MULTI_PERFORM' undeclared (first use in this 
function)
maphttp.c:382: warning: implicit declaration of function 
`curl_multi_perform'
maphttp.c:403: warning: implicit declaration of function `curl_multi_fdset'
maphttp.c:435: warning: implicit declaration of function 
`curl_multi_info_read'
maphttp.c:439: `CURLMSG_DONE' undeclared (first use in this function)
maphttp.c:549: warning: implicit declaration of function 
`curl_multi_remove_handle'
maphttp.c:556: warning: implicit declaration of function 
`curl_multi_cleanup'
make: *** [maphttp.o] Error 1



what happend? could it be that I have two version one older and one newer?
how can I solve teh problem.

all the best

lars möller









More information about the mapserver-users mailing list