Hi:
I'm getting the following error while building trunk:
/php/php-src/trunk/ext/curl/interface.c: In function
‘zif_curl_copy_handle’:
/php/php-src/trunk/ext/curl/interface.c:1978: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1979: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1980: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1981: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1982: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1982: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1984: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1984: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1985: error:
‘CURLOPT_FNMATCH_DATA’ undeclared (first use in this function)
/php/php-src/trunk/ext/curl/interface.c:1985: error: (Each undeclared
identifier is reported only once
/php/php-src/trunk/ext/curl/interface.c:1985: error: for each function
it appears in.)
/php/php-src/trunk/ext/curl/interface.c: In function
‘_php_curl_reset_handlers’:
/php/php-src/trunk/ext/curl/interface.c:3222: warning: assignment makes
integer from pointer without a cast
make: *** [ext/curl/interface.lo] Error 1
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
Hi Again:
After sending that email, I realized I should mention my library
version. curl --version says, in part "7.19.7 (x86_64-pc-linux-gnu)".
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
I'll have a look just after my meeting. Thanks
Envoyé de mon iPhone / Sent from my iPhone
Le 2011-12-06 à 10:00, Daniel Convissor danielc@analysisandsolutions.com a écrit :
Hi Again:
After sending that email, I realized I should mention my library
version. curl --version says, in part "7.19.7 (x86_64-pc-linux-gnu)".Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
hi Pierrick,
CURLOPT_FNMATCH_DATA is 7.21.0 and later only. That's the cause of
this build error.
Btw, check out:
http://curl.haxx.se/libcurl/c/symbols-in-versions.html
Very handy to quickly check which features are available in which version :)
Cheers,
On Tue, Dec 6, 2011 at 4:03 PM, Pierrick Charron - WebStart
pierrick@webstart.fr wrote:
I'll have a look just after my meeting. Thanks
Envoyé de mon iPhone / Sent from my iPhone
Le 2011-12-06 à 10:00, Daniel Convissor danielc@analysisandsolutions.com a écrit :
Hi Again:
After sending that email, I realized I should mention my library
version. curl --version says, in part "7.19.7 (x86_64-pc-linux-gnu)".Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409--
--
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
and fixed in svn, thanks for the headup!
hi Pierrick,
CURLOPT_FNMATCH_DATA is 7.21.0 and later only. That's the cause of
this build error.Btw, check out:
http://curl.haxx.se/libcurl/c/symbols-in-versions.html
Very handy to quickly check which features are available in which version :)
Cheers,
On Tue, Dec 6, 2011 at 4:03 PM, Pierrick Charron - WebStart
pierrick@webstart.fr wrote:I'll have a look just after my meeting. Thanks
Envoyé de mon iPhone / Sent from my iPhone
Le 2011-12-06 à 10:00, Daniel Convissor danielc@analysisandsolutions.com a écrit :
Hi Again:
After sending that email, I realized I should mention my library
version. curl --version says, in part "7.19.7 (x86_64-pc-linux-gnu)".Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409--
--
--
Pierre@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
Hi Pierre:
Thanks for the quick fix. I did a make clean and vsclean then rebuilt,
but there's a similar issue, still:
/php/php-src/trunk/ext/curl/interface.c: In function
‘zif_curl_copy_handle’:
/php/php-src/trunk/ext/curl/interface.c:1978: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1979: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1980: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1981: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1982: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1982: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1984: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1984: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c: In function
‘_php_curl_reset_handlers’:
/php/php-src/trunk/ext/curl/interface.c:3224: warning: assignment makes
integer from pointer without a cast
make: *** [ext/curl/interface.lo] Error 1
make: *** Waiting for unfinished jobs....
/php/php-src/trunk/ext/curl/streams.c: In function
‘php_curl_stream_opener’:
/php/php-src/trunk/ext/curl/streams.c:308: warning: call to
‘_curl_easy_setopt_err_progress_cb’ declared with attribute warning:
curl_easy_setopt expects a curl_progress_callback argument for this
option
Thanks,
--Dan
Thanks Daniel for testing and Pierre for the fix :)
On 6 December 2011 10:53, Daniel Convissor <danielc@analysisandsolutions.com
wrote:
Hi Pierre:
Thanks for the quick fix. I did a make clean and vsclean then rebuilt,
but there's a similar issue, still:/php/php-src/trunk/ext/curl/interface.c: In function
‘zif_curl_copy_handle’:
/php/php-src/trunk/ext/curl/interface.c:1978: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1979: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1980: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1981: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1982: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1982: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1984: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c:1984: error: ‘php_curl_handlers’
has no member named ‘fnmatch’
/php/php-src/trunk/ext/curl/interface.c: In function
‘_php_curl_reset_handlers’:
/php/php-src/trunk/ext/curl/interface.c:3224: warning: assignment makes
integer from pointer without a cast
make: *** [ext/curl/interface.lo] Error 1
make: *** Waiting for unfinished jobs....
/php/php-src/trunk/ext/curl/streams.c: In function
‘php_curl_stream_opener’:
/php/php-src/trunk/ext/curl/streams.c:308: warning: call to
‘_curl_easy_setopt_err_progress_cb’ declared with attribute warning:
curl_easy_setopt expects a curl_progress_callback argument for this
optionThanks,
--Dan