FAQ
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

Search Discussions

  • Daniel Convissor at Dec 6, 2011 at 3:00 pm
    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
  • Pierrick Charron - WebStart at Dec 6, 2011 at 3:03 pm
    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

    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php
  • Pierre Joye at Dec 6, 2011 at 3:32 pm
    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
    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

    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php
    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php


    --
    Pierre

    @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
  • Pierre Joye at Dec 6, 2011 at 3:35 pm
    and fixed in svn, thanks for the headup!
    On Tue, Dec 6, 2011 at 4:32 PM, Pierre Joye wrote:
    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
    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

    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php
    --
    PHP Internals - PHP Runtime Development Mailing List
    To unsubscribe, visit: http://www.php.net/unsub.php


    --
    Pierre

    @pierrejoye | http://blog.thepimp.net | http://www.libgd.org


    --
    Pierre

    @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
  • Daniel Convissor at Dec 6, 2011 at 3:53 pm
    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
  • Pierrick Charron at Dec 6, 2011 at 4:28 pm
    Thanks Daniel for testing and Pierre for the fix :)
    On 6 December 2011 10:53, Daniel Convissor 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
    option


    Thanks,

    --Dan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedDec 6, '11 at 2:32p
activeDec 6, '11 at 4:28p
posts7
users3
websitephp.net

People

Translate

site design / logo © 2022 Grokbase