php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60618 Errors building bcompiler using 5.4RC5(snap)
Submitted: 2011-12-28 16:31 UTC Modified: 2017-01-10 07:58 UTC
Votes:26
Avg. Score:4.5 ± 0.8
Reproduced:21 of 21 (100.0%)
Same Version:10 (47.6%)
Same OS:8 (38.1%)
From: aristeo dot m at rocketmail dot com Assigned:
Status: Suspended Package: bcompiler (PECL)
PHP Version: 5.4SVN-2011-12-28 (snap) OS: Win7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: aristeo dot m at rocketmail dot com
New email:
PHP Version: OS:

 

 [2011-12-28 16:31 UTC] aristeo dot m at rocketmail dot com
Description:
------------
Building bcompiler using PHP 5.4RC5 (snap) fails on Windows 7.1 SDK. 
Build works if I use PHP 5.3.9RC5 (snap)

Test script:
---------------
sorry no test script as it is a build issue

Expected result:
----------------
nmake php_bcompiler.dll should build OK

Actual result:
--------------
nmake php_bcompiler.dll build fails with errors:

php_bcompiler.c
..\pecl\bcompiler\bcompiler_zend.c(188) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(475) : error C2065: 'IS_CLASS' : undeclared 
identifier
..\pecl\bcompiler\bcompiler_zend.c(475) : error C2051: case expression not 
constant
..\pecl\bcompiler\bcompiler_zend.c(476) : error C2065: 'IS_SCALAR' : undeclared 
identifier
..\pecl\bcompiler\bcompiler_zend.c(476) : error C2051: case expression not 
constant
..\pecl\bcompiler\bcompiler_zend.c(477) : error C2065: 'IS_NUMERIC' : undeclared 
identifier
..\pecl\bcompiler\bcompiler_zend.c(477) : error C2051: case expression not 
constant
..\pecl\bcompiler\bcompiler_zend.c(555) : error C2065: 'IS_CLASS' : undeclared 
identifier
..\pecl\bcompiler\bcompiler_zend.c(555) : error C2051: case expression not 
constant
..\pecl\bcompiler\bcompiler_zend.c(556) : error C2065: 'IS_SCALAR' : undeclared 
identifier
..\pecl\bcompiler\bcompiler_zend.c(556) : error C2051: case expression not 
constant
..\pecl\bcompiler\bcompiler_zend.c(557) : error C2065: 'IS_NUMERIC' : undeclared 
identifier
..\pecl\bcompiler\bcompiler_zend.c(557) : error C2051: case expression not 
constant
..\pecl\bcompiler\bcompiler_zend.c(639) : error C2039: 'return_reference' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(639) : error C2039: 'return_reference' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(640) : error C2039: 'required_num_args' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(640) : error C2039: 'required_num_args' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(670) : error C2039: 'return_reference' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(670) : error C2039: 'return_reference' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(671) : error C2039: 'required_num_args' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(671) : error C2039: 'required_num_args' : is 
not a member of '_zend_arg_info'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(225) : see declaration of '_zend_arg_info'
..\pecl\bcompiler\bcompiler_zend.c(738) : warning C4018: '<' : signed/unsigned 
mismatch
..\pecl\bcompiler\bcompiler_zend.c(759) : warning C4018: '<' : signed/unsigned 
mismatch
..\pecl\bcompiler\bcompiler_zend.c(777) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(858) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(872) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(886) : error C2039: 'constants_updated' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(886) : error C2039: 'constants_updated' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(933) : error C2039: 'builtin_functions' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(934) : error C2039: 'builtin_functions' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(941) : error C2039: 'builtin_functions' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(941) : error C2198: 
'apc_serialize_zend_function_entry' : too few arguments for call
..\pecl\bcompiler\bcompiler_zend.c(959) : warning C4018: '<' : signed/unsigned 
mismatch
..\pecl\bcompiler\bcompiler_zend.c(967) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(977) : error C2039: 'filename' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(977) : error C2198: 
'bcompiler_handle_filename' : too few arguments for call
..\pecl\bcompiler\bcompiler_zend.c(979) : error C2039: 'line_start' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(979) : error C2039: 'line_start' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(980) : error C2039: 'line_end' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(980) : error C2039: 'line_end' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(981) : error C2039: 'doc_comment' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(981) : error C2039: 'doc_comment_len' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(981) : error C2198: 'apc_serialize_zstring' : 
too few arguments for call
..\pecl\bcompiler\bcompiler_zend.c(982) : error C2039: 'doc_comment_len' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(982) : error C2039: 'doc_comment_len' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1092) : error C2039: 'constants_updated' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1092) : error C2039: 'constants_updated' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1187) : error C2039: 'builtin_functions' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1189) : error C2039: 'builtin_functions' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1191) : error C2039: 'builtin_functions' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1191) : error C2198: 
'apc_deserialize_zend_function_entry' : too few arguments for call
..\pecl\bcompiler\bcompiler_zend.c(1216) : warning C4018: '<' : signed/unsigned 
mismatch
..\pecl\bcompiler\bcompiler_zend.c(1240) : error C2039: 'filename' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1241) : error C2039: 'line_start' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1241) : error C2039: 'line_start' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1242) : error C2039: 'line_end' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1242) : error C2039: 'line_end' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1243) : error C2039: 'doc_comment' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1243) : warning C4047: 'function' : 'char **' 
differs in levels of indirection from 'int'
..\pecl\bcompiler\bcompiler_zend.c(1243) : warning C4024: 'apc_create_string_u' 
: different types for formal and actual parameter 1
..\pecl\bcompiler\bcompiler_zend.c(1243) : error C2198: 'apc_create_string_u' : 
too few arguments for call
..\pecl\bcompiler\bcompiler_zend.c(1244) : error C2039: 'doc_comment_len' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1244) : error C2039: 'doc_comment_len' : is 
not a member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\bcompiler_zend.c(1374) : warning C4018: '<' : signed/unsigned 
mismatch
..\pecl\bcompiler\bcompiler_zend.c(1553) : warning C4018: '<' : signed/unsigned 
mismatch
..\pecl\bcompiler\bcompiler_zend.c(1566) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(1571) : error C2039: 'size_literal' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1571) : error C2039: 'size_literal' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1579) : error C2039: 'size' : is not a member 
of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1579) : error C2039: 'size' : is not a member 
of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1602) : error C2039: 'current_brk_cont' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1602) : error C2039: 'current_brk_cont' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1615) : error C2039: 'return_reference' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1615) : error C2039: 'return_reference' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1616) : error C2039: 'done_pass_two' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1616) : error C2039: 'done_pass_two' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1617) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(1631) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(1635) : error C2039: 'pass_rest_by_reference' 
: is not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1635) : error C2039: 'pass_rest_by_reference' 
: is not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1637) : error C2039: 'backpatch_count' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1637) : error C2039: 'backpatch_count' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1649) : error C2039: 'size_var' : is not a 
member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1649) : error C2039: 'size_var' : is not a 
member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1684) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\bcompiler_zend.c(1702) : warning C4018: '<' : signed/unsigned 
mismatch
..\pecl\bcompiler\bcompiler_zend.c(1713) : error C2039: 'size_literal' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1713) : error C2039: 'size_literal' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1729) : error C2039: 'size' : is not a member 
of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1729) : error C2039: 'size' : is not a member 
of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1743) : error C2039: 'current_brk_cont' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1743) : error C2039: 'current_brk_cont' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1756) : error C2039: 'start_op' : is not a 
member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1758) : error C2039: 'return_reference' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1758) : error C2039: 'return_reference' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1759) : error C2039: 'done_pass_two' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1759) : error C2039: 'done_pass_two' : is not 
a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1805) : error C2039: 'pass_rest_by_reference' 
: is not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1805) : error C2039: 'pass_rest_by_reference' 
: is not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1806) : error C2039: 'backpatch_count' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1806) : error C2039: 'backpatch_count' : is 
not a member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1818) : error C2039: 'size_var' : is not a 
member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1818) : error C2039: 'size_var' : is not a 
member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1819) : error C2039: 'size_var' : is not a 
member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1820) : error C2039: 'size_var' : is not a 
member of '_zend_op_array'
        f:\php-sdk\php54dev\vc10\x86\php5.4-
201112281430\zend\zend_compile.h(255) : see declaration of '_zend_op_array'
..\pecl\bcompiler\bcompiler_zend.c(1820) : error C2198: '_ecalloc' : too few 
arguments for call
..\pecl\bcompiler\php_bcompiler.c(468) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\php_bcompiler.c(574) : error C2039: 'filename' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\php_bcompiler.c(574) : error C2039: 'filename' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\php_bcompiler.c(574) : error C2168: 'strcmp' : too few actual 
parameters for intrinsic function
..\pecl\bcompiler\php_bcompiler.c(581) : warning C4090: 'function' : different 
'const' qualifiers
..\pecl\bcompiler\php_bcompiler.c(635) : error C2039: 'filename' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\php_bcompiler.c(635) : error C2039: 'filename' : is not a 
member of '_zend_class_entry'
        F:\php-sdk\php54dev\vc10\x86\php5.4-201112281430\Zend\zend.h(462) : see 
declaration of '_zend_class_entry'
..\pecl\bcompiler\php_bcompiler.c(635) : error C2168: 'strcmp' : too few actual 
parameters for intrinsic function

Patches

bcompiler_php54RC5.patch (last revision 2011-12-28 17:30 UTC by aristeo dot m at rocketmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-03 06:48 UTC] alan_k@php.net
The patch looks a bit strange, as it mixes  ZEND_ENGINE_2_4 and   
PHP_MAJOR_VERSION >= 6 checks quite a bit.

What zend engine version does 5.4 have now?
 [2012-01-03 14:42 UTC] aristeo dot m at rocketmail dot com
Please ignore the patch - it does not work
 [2013-01-14 09:11 UTC] jandanson at soloeurope dot com
Hi,

I can't fix bcompiler.
but i want to inform about a starting project for compiling with PHP 5.4 : https://github.com/kenjikobe/bcompiler 

it seem's to compile but not working. 
Maybe it will help someone for fixing this issue.
 [2014-01-25 06:28 UTC] slawekk87 at gmail dot com
On debian 7 x64 5.4 install fails:
pecl install bcompiler
downloading bcompiler-1.0.2.tgz ...
Starting to download bcompiler-1.0.2.tgz (57,347 bytes)
..............done: 57,347 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
building in /tmp/pear/temp/pear-build-rootQIulcG/bcompiler-1.0.2
running: /tmp/pear/temp/bcompiler/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20100525
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable bcompiler support... yes, shared
checking whether to include debug code in bcompiler (default: no)... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /tmp/pear/temp/pear-build-rootQIulcG/bcompiler-1.0.2/libtool --mode=compile cc  -I. -I/tmp/pear/temp/bcompiler -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootQIulcG/bcompiler-1.0.2/include -I/tmp/pear/temp/pear-build-rootQIulcG/bcompiler-1.0.2/main -I/tmp/pear/temp/bcompiler -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/bcompiler/php_bcompiler.c -o php_bcompiler.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/bcompiler -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootQIulcG/bcompiler-1.0.2/include -I/tmp/pear/temp/pear-build-rootQIulcG/bcompiler-1.0.2/main -I/tmp/pear/temp/bcompiler -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/bcompiler/php_bcompiler.c  -fPIC -DPIC -o .libs/php_bcompiler.o
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function '_bcompiler_write_functions_from_file':
/tmp/pear/temp/bcompiler/php_bcompiler.c:468:6: warning: passing argument 1 of 'apc_serialize_zstring' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:0:
/tmp/pear/temp/bcompiler/php_bcompiler.h:298:6: note: expected 'char *' but argument is of type 'const char *'
/tmp/pear/temp/bcompiler/php_bcompiler.c: In function 'zif_bcompiler_write_file':
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:10: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:574:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:581:5: warning: passing argument 4 of 'apc_serialize_zend_class_entry' discards 'const' qualifier from pointer target type [enabled by default]
In file included from /tmp/pear/temp/bcompiler/php_bcompiler.c:22:0:
/tmp/pear/temp/bcompiler/php_bcompiler.h:305:6: note: expected 'char *' but argument is of type 'const char *'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:10: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
/tmp/pear/temp/bcompiler/php_bcompiler.c:635:24: error: 'zend_class_entry' has no member named 'filename'
make: *** [php_bcompiler.lo] Błąd 1
ERROR: `make' failed
 [2015-08-03 21:38 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2015-08-03 21:38 UTC] cmb@php.net
Indeed, bcompiler is not ready for PHP 5.4 or higher (yet).
 [2017-01-10 07:58 UTC] kalle@php.net
-Status: Verified +Status: Suspended
 [2017-01-10 07:58 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 6 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 07:01:30 2024 UTC