RE: [PECL-DEV] pear install ffi fails?
| From: | Wez Furlong | Date: | Mon, 17 May 2004 22:29:24 +0000 |
| Subject: | RE: [PECL-DEV] pear install ffi fails? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-648@lists.php.net to get a copy of this message | ||
I need to update it as there have been a few changes to the ZE2 guts.
Give me a couple of days; I have a few things to wrap up by the middle of the
week.
--Wez.
> -----Original Message-----
> From: Hannes Gassert [mailto:gassert@acm.org]
> Sent: 17 May 2004 22:39
> To: pecl-dev@lists.php.net
> Subject: [PECL-DEV] pear install ffi fails?
>
> Hi,
>
> Today I tried to install ffi-0.3 via pear with a recent snapshot of
> PHP5. It didn't compile, make failed with the following messages:
>
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c:291: warning: initialization from
> incompatible pointer type
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c:293: warning: initialization from
> incompatible pointer type
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c: In function
> `php_ffi_struct_object_new':
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c:347: warning: passing arg 3 of
> `zend_objects_store_put' from incompatible pointer type
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c:347: error: too few arguments to
> function `zend_objects_store_put'
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c: In function
> `php_ffi_native_to_zval':
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c:492: warning: passing arg 3 of
> `zend_objects_store_put' from incompatible pointer type
> /tmp/tmpdH3krz/ffi-0.3/ffi_struct.c:492: error: too few arguments to
> function `zend_objects_store_put'
> make: *** [ffi_struct.lo] Error 1
> `make' failed
>
> Question: Is this due to a bug or is it my fault? What can I
> do in order
> to be able to play with "ext/dangerous"?
>
> Thanks a lot for your help,
> Hannes
>
> Ps: I checked out the ffi extension from CVS and tried to build it
> directly in $phpDist/ext, but the error messages this produced where
> even worse.
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>