ARudik / phc

Automatically exported from code.google.com/p/phc
0 stars 0 forks source link

Compile phc fails for PHP 5.3.2, 5.3.3 and 5.3.5 #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install PHP 5.3.3 or 5.3.5 with
./configure --enable-embed --enable-bcmath --with-pgsql --with-mysql --with-gmp
(using more options will fail... phc can not detect the embed sapi

2. change to the phc directory, use the svn download and apply the README.svn

3. ./configure => ok
4. make =>
src/embed/optimize.cpp:223: error: invalid conversion from 'zend_fcall_info*' 
to 'uint'
src/embed/optimize.cpp:223: error: cannot convert 'zend_fcall_info_cache*' to 
'zend_fcall_info*' for argument '3' to 'int zend_fcall_info_init(zval*, uint, 
zend_fcall_info*, zend_fcall_info_cache*, char**, char**)'
make[2]: *** [optimize.lo] Fehler 1
make[2]: Leaving directory `/usr/src/phc-svn/phc-read-only'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/phc-svn/phc-read-only'
make: *** [all] Fehler 2

What version of the product are you using? On what operating system?
- phc from svn (checkout 11.08.2011)
- Debian Squeeze, latest patch level (11.08.2011)
- PHP from www.php.net/releases

I tried 5.3.2 as someone stated that they use 5.3.2 without any problem.

Original issue reported on code.google.com by ulrich.j...@gmail.com on 11 Aug 2011 at 8:01

GoogleCodeExporter commented 9 years ago
Hi.

The issue seems to be a duplicate of #135. A patch is attached at 
https://plonker.villiros.com/pipermail/phc-internals/2011-February/005920.html.

Regards
Oliver

Original comment by oliver.metz on 19 Aug 2011 at 12:07

GoogleCodeExporter commented 9 years ago
Thanks for the triage, Oliver :)

Original comment by paul.biggar on 22 Aug 2011 at 8:41