php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57346 FileInfo won't compile
Submitted: 2006-11-06 14:22 UTC Modified: 2006-11-07 16:17 UTC
From: evert at rooftopsolutions dot nl Assigned:
Status: Closed Package: Fileinfo (PECL)
PHP Version: 5.2.0 RC4 OS: Debian 3.1
Private report: No CVE-ID: None
 [2006-11-06 14:22 UTC] evert at rooftopsolutions dot nl
Description:
------------
FileInfo does not compile with the latest PHP5.2
(note that the bug says PHP5.2rc4 but I couldn't specify the release version)

Reproduce code:
---------------
phpize && ./configure && make && make install

Expected result:
----------------
compiled package

Actual result:
--------------
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:124:61: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:125:61: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:125: error: `ZEND_ME_MAPPING' undeclared here (not in a function)
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:125: error: initializer element is not constant
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:125: error: (near initialization for `finfo_class_functions[0]')
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:125: error: syntax error before "ZEND_ME_MAPPING"
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:126:61: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:127:61: macro "ZEND_ME_MAPPING" requires 4 arguments, but only 3 given
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:128: error: initializer element is not constant
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:128: error: (near initialization for `finfo_class_functions[1]')
/home/filemobile/pecl/Fileinfo-1.0.3/fileinfo.c:129: error: syntax error before '}' token


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-07 16:17 UTC] ilia at prohost dot org
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 [2011-07-05 20:46 UTC] stevejr at traxlerconstruction dot com
Posts like this birtghen up my day. Thanks for taking the time.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 02:01:23 2019 UTC