Re: Engine 2
| From: | Markus Fischer | Date: | Fri, 10 Aug 2001 15:38:52 +0000 |
| Subject: | Re: Engine 2 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62851@lists.php.net to get a copy of this message | ||
Doesn't compile for me ..
make output attached; bails out at ext/mysql ...
If I disable mysql then it fails at ext/pcre, ext/posix, ...
- markus
On Fri, Aug 10, 2001 at 05:20:55PM +0300, Andi Gutmans wrote :
> Hey,
>
> The Engine 2 CVS pretty much implements the first step of the new object
> model. Objects are now handles which reference the same object and
> $obj->method1()->method2() is supported now. Quite a few places in PHP that
> use objects like call_user_function() might still not work though.
> If anyone can try and run PHP with the Engine 2 CVS and send feedback on
> how well or badly their old object code runs that'll be great. I'm also
> interested in how many scripts are actually broken by the fact that objects
> are not copied when sent to functions by value and so on.
>
> To check it out just checkout the ZendEngine2 CVS tree from cvs.zend.com
> and rename it from ZendEngine2 -> Zend before building PHP.
>
> Andi
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Markus Fischer, http://guru.josefine.at/~mfischer/
EMail: mfischer@guru.josefine.at
PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
Making all in Zend make[1]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/Zend' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/Zend' Making all in main make[1]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' make[2]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' make[2]: Nothing to be done for `all-p'. make[2]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' make[1]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' Making all in ext make[1]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext' Making all in mysql make[2]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' Making all in libmysql make[3]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[4]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[4]: Nothing to be done for `all-p'. make[4]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[3]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[3]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' gcc -I. -I/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql -I/public/mfischer-home/mfischer/isrc/cvs/php4/main -I/public/mfischer-home/mfischer/isrc/cvs/php4 -I/public/mfischer-home/mfischer/isrc/cvs/php4/Zend -I/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql -I/public/mfischer-home/mfischer/isrc/cvs/php4/ext/xml/expat -I/public/mfischer-home/mfischer/isrc/cvs/php4/TSRM -g -O2 -c php_mysql.c && touch php_mysql.lo In file included from php_mysql.c:33: php_mysql.h:41: warning: parameter names (without types) in function declaration php_mysql.h:41: warning: data definition has no type or storage class php_mysql.h:42: warning: parameter names (without types) in function declaration php_mysql.h:42: warning: data definition has no type or storage class php_mysql.h:43: warning: parameter names (without types) in function declaration php_mysql.h:43: warning: data definition has no type or storage class php_mysql.h:44: warning: parameter names (without types) in function declaration php_mysql.h:44: warning: data definition has no type or storage class php_mysql.h:45: warning: parameter names (without types) in function declaration php_mysql.h:45: warning: data definition has no type or storage class In file included from php_mysql.c:35: /public/mfischer-home/mfischer/isrc/cvs/php4/ext/standard/php_string.h:95: warning: parameter names (without types) in function declaration /public/mfischer-home/mfischer/isrc/cvs/php4/ext/standard/php_string.h:95: warning: data definition has no type or storage class php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.module_startup_func') php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.module_shutdown_func') php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.request_startup_func') php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.request_shutdown_func') php_mysql.c:186: `mysql' undeclared here (not in a function) php_mysql.c:186: initializer element is not constant php_mysql.c:186: (near initialization for `mysql_module_entry.info_func') php_mysql.c: In function `ZEND_MODULE_STARTUP_D': php_mysql.c:315: `module_number' undeclared (first use in this function) php_mysql.c:315: (Each undeclared identifier is reported only once php_mysql.c:315: for each function it appears in.) php_mysql.c:319: `type' undeclared (first use in this function) php_mysql.c: In function `ZEND_MODULE_SHUTDOWN_D': php_mysql.c:335: `module_number' undeclared (first use in this function) php_mysql.c: In function `ZEND_MODULE_INFO_D': php_mysql.c:385: `zend_module' undeclared (first use in this function) make[3]: *** [php_mysql.lo] Error 1 make[3]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext' make: *** [all-recursive] Error 1
Making all in Zend make[1]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/Zend' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/Zend' Making all in main make[1]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' make[2]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' make[2]: Nothing to be done for `all-p'. make[2]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' make[1]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/main' Making all in ext make[1]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext' Making all in mysql make[2]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' Making all in libmysql make[3]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[4]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[4]: Nothing to be done for `all-p'. make[4]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[3]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql' make[3]: Entering directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' gcc -I. -I/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql -I/public/mfischer-home/mfischer/isrc/cvs/php4/main -I/public/mfischer-home/mfischer/isrc/cvs/php4 -I/public/mfischer-home/mfischer/isrc/cvs/php4/Zend -I/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql/libmysql -I/public/mfischer-home/mfischer/isrc/cvs/php4/ext/xml/expat -I/public/mfischer-home/mfischer/isrc/cvs/php4/TSRM -g -O2 -c php_mysql.c && touch php_mysql.lo In file included from php_mysql.c:33: php_mysql.h:41: warning: parameter names (without types) in function declaration php_mysql.h:41: warning: data definition has no type or storage class php_mysql.h:42: warning: parameter names (without types) in function declaration php_mysql.h:42: warning: data definition has no type or storage class php_mysql.h:43: warning: parameter names (without types) in function declaration php_mysql.h:43: warning: data definition has no type or storage class php_mysql.h:44: warning: parameter names (without types) in function declaration php_mysql.h:44: warning: data definition has no type or storage class php_mysql.h:45: warning: parameter names (without types) in function declaration php_mysql.h:45: warning: data definition has no type or storage class In file included from php_mysql.c:35: /public/mfischer-home/mfischer/isrc/cvs/php4/ext/standard/php_string.h:95: warning: parameter names (without types) in function declaration /public/mfischer-home/mfischer/isrc/cvs/php4/ext/standard/php_string.h:95: warning: data definition has no type or storage class php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.module_startup_func') php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.module_shutdown_func') php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.request_startup_func') php_mysql.c:185: `mysql' undeclared here (not in a function) php_mysql.c:185: initializer element is not constant php_mysql.c:185: (near initialization for `mysql_module_entry.request_shutdown_func') php_mysql.c:186: `mysql' undeclared here (not in a function) php_mysql.c:186: initializer element is not constant php_mysql.c:186: (near initialization for `mysql_module_entry.info_func') php_mysql.c: In function `ZEND_MODULE_STARTUP_D': php_mysql.c:315: `module_number' undeclared (first use in this function) php_mysql.c:315: (Each undeclared identifier is reported only once php_mysql.c:315: for each function it appears in.) php_mysql.c:319: `type' undeclared (first use in this function) php_mysql.c: In function `ZEND_MODULE_SHUTDOWN_D': php_mysql.c:335: `module_number' undeclared (first use in this function) php_mysql.c: In function `ZEND_MODULE_INFO_D': php_mysql.c:385: `zend_module' undeclared (first use in this function) make[3]: *** [php_mysql.lo] Error 1 make[3]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext/mysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/public/mfischer-home/mfischer/isrc/cvs/php4/ext' make: *** [all-recursive] Error 1