#26045 [Com]: Mono extension fails to compile
ID: 26045
Comment by: josh at mediascape dot com
Reported By: kris dot hofmans at pandora dot be
Status: Assigned
Bug Type: Compile Failure
Operating System: Linux 2.4.21
PHP Version: 5CVS-2003-10-30 (dev)
Assigned To: sterling
New Comment:
Here's a minimal patch to make the extension build again:
http://w3.indecisive.com/patches/php-5.0b3-mono.patch
This sample still doesn't run correctly with the patch applied:
php -r "$cons = new Mono('System.Console');"
On the other hand, the System.Collections.Stack sample that just checks
for proper pushing and popping worked for me.
Previous Comments:
------------------------------------------------------------------------
[2003-10-30 21:02:47] sniper@php.net
Assigned to the author of this extension.
------------------------------------------------------------------------
[2003-10-30 19:11:06] kris dot hofmans at pandora dot be
Description:
------------
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c: In function
`method_get':
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:667: structure has
no member
named `arg_types'
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c: At top level:
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:740: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:742: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:745: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:746: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:748: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:749: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:750: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:751: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:753: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:755: warning:
initialization
from incompatible pointer type
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c: In function
`zm_startup_mon
o':
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:1041: structure has
no membe
r named `arg_types'
/home/blacky/builds/php-5.0.0b2/ext/mono/php_mono.c:1054: structure has
no membe
r named `arg_types'
make: *** [ext/mono/php_mono.lo] Error 1
make: *** Waiting for unfinished jobs....
Expected result:
----------------
I hope the mono extension will be fixed since the last working version
I saw was PHP5-B1 and it got broken soon after that.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26045&edit=1
Thread (4 messages)