php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26045 Mono extension fails to compile
Submitted: 2003-10-30 19:11 UTC Modified: 2004-02-15 06:25 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: kris dot hofmans at pandora dot be Assigned: sterling (profile)
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2003-10-30 (dev) OS: Linux 2.4.21
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kris dot hofmans at pandora dot be
New email:
PHP Version: OS:

 

 [2003-10-30 19:11 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-30 21:02 UTC] sniper@php.net
Assigned to the author of this extension.

 [2004-02-05 10:46 UTC] josh at mediascape dot com
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.
 [2004-02-15 06:25 UTC] jan@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 17:01:34 2024 UTC