# trunk build failure on interface.c

- Thread: https://externals.io/message/56807
- Original archive: https://news-web.php.net/php.internals/56807
- Started by Daniel Convissor on 2011-12-06T14:32:52+00:00
- Messages: 7
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #56807 — Daniel Convissor — 2011-12-06T14:32:52+00:00

URL: https://externals.io/message/56807#56807

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

---

## #56808 — Daniel Convissor — 2011-12-06T15:00:25+00:00

URL: https://externals.io/message/56807#56808 · In reply to: #56807

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

---

## #56809 — Pierrick Charron - WebStart — 2011-12-06T15:03:24+00:00

URL: https://externals.io/message/56807#56809 · In reply to: #56808

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

---

## #56810 — Pierre Joye — 2011-12-06T15:32:26+00:00

URL: https://externals.io/message/56807#56810 · In reply to: #56809

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 :
>
> > […]
>
> --
> 
> 
>



-- 
Pierre

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

---

## #56811 — Pierre Joye — 2011-12-06T15:35:32+00:00

URL: https://externals.io/message/56807#56811 · In reply to: #56810

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:
> > […]
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org



-- 
Pierre

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

---

## #56812 — Daniel Convissor — 2011-12-06T15:53:04+00:00

URL: https://externals.io/message/56807#56812 · In reply to: #56811

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

---

## #56813 — Pierrick Charron — 2011-12-06T16:28:43+00:00

URL: https://externals.io/message/56807#56813 · In reply to: #56812

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
> option
>
>
> Thanks,
>
> --Dan
