php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57800 Compile Error
Submitted: 2007-08-28 01:07 UTC Modified: 2017-02-17 10:36 UTC
From: dirk at dav-gera dot de Assigned: jpauli (profile)
Status: Closed Package: ffi (PECL)
PHP Version: 5.2.1 OS: openSuSE 10.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dirk at dav-gera dot de
New email:
PHP Version: OS:

 

 [2007-08-28 01:07 UTC] dirk at dav-gera dot de
Description:
------------
WITH PHP 5.2.3

have error after extract sources and ./configure && make:
Zend/zend_default_class.h no such file

ffi_struct.c : file modified with:
-#include zend/zend_default_class.h
+#include Zend/zend_exceptions.h

 gcc -I/usr/local/src/php-5.2.3/ext/ffi-0.3/libffi/include -I. -I/usr/local/src/php-5.2.3/ext/ff
i-0.3 -DPHP_ATOM_INC -I/usr/local/src/php-5.2.3/ext/ffi-0.3/include -I/usr/local/src/php-5.2.3/e
xt/ffi-0.3/main -I/usr/local/src/php-5.2.3/ext/ffi-0.3 -I/usr/local/include/php -I/usr/local/inc           lude/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/p           hp/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.2.3/           ext/ffi-0.3/ffi_struct.c  -fPIC -DPIC -o .libs/ffi_struct.o
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:291: warning: initialization from incompatible            pointer type
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:293: warning: initialization from incompatible            pointer type
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:303: warning: initialization from incompatible            pointer type
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:310: warning: initialization from incompatible            pointer type
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c: In function ?php_ffi_struct_object_new?:
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:347: warning: passing argument 3 of ?zend_obje           cts_store_put? from incompatible pointer type
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:347: error: too few arguments to function ?zen           d_objects_store_put?
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c: In function ?php_ffi_native_to_zval?:
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:492: warning: passing argument 3 of ?zend_obje           cts_store_put? from incompatible pointer type
/usr/local/src/php-5.2.3/ext/ffi-0.3/ffi_struct.c:492: error: too few arguments to function ?zen           d_objects_store_put?
make: *** [ffi_struct.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-17 10:36 UTC] jpauli@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jpauli
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC