PHP 4.0 Bug #6854 Updated: zend_execute compile failure -> for all ZEND_API inline's in the .h

From: Date: Mon, 18 Dec 2000 16:06:39 +0000
Subject: PHP 4.0 Bug #6854 Updated: zend_execute compile failure -> for all ZEND_API inline's in the .h
Groups: php.dev 
Request: Send a blank email to php-dev+get-41773@lists.php.net to get a copy of this message
ID: 6854 Updated by: sniper Reported By: waldowda@plu.edu Old-Status: Open Status: Duplicate Bug Type: Compile Failure Assigned To: Comments: This is duplicate of #5882. But please try latest snapshot from http://snaps.php.net/ if this is already fixed.. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-30 00:43:53] waldowda@plu.edu Hi... I have not figured out anything new. When I finally got it up and running I have never really looked back. I really should move from 4.0.2 to something newer but I am a bit worried about how much time it may take given how long it took to get php4 running... 8-) If there is something I can / should try which would be helpful. Please let me know. I have not tried 4.0.3pl... --------------------------------------------------------------------------- [2000-11-29 04:43:21] sniper@php.net reclassified --------------------------------------------------------------------------- [2000-09-29 08:45:35] waldowda@plu.edu I FINALLY found a way to make php4 work using sgi's cc. Here is an email from Mark Rosa with my notes added. I still don't think this is what one should need to do to get it to work. If it is figured out, could you let me know? or if I can help in some way also let me know. Thanks! Mark Rosa wrote: > > hi dean, > > i managed to compile and install php4 (4.0.2) on my SGI INDIGO with IRIX > 6.5.8 using these configuration options: > > prompt> setenv CFLAGS "-O2 -D__inline=0" Dean's version> setenv CC cc Dean's version> setenv CFLAGS "-O2 -D__inline=0 -wall" > prompt> ./configure --enable-c9x-inline --with-mysql=/usr/local/mysql > --with-openssl=/usr/local/openssl > --with-imap=/src/imap-4.7c --enable-ftp > --with-exec-dir=/usr/local/php/bin > --with-config-file-path=/usr/local/php/lib --enable-discard-path > --enable-force-cgi-redirect --enable-trans-sid > --prefix=/usr/local/php/bin Dean's version> ./configure --enable-c9x-inline ?--with-mysql=/usr/local/mysql ?--enable-track-vars ?--with-apxs=/usr/local/apache/bin/apxs > the important parts are to set the CFLAGS and then the > '--enable-c9x-inline' part in the configure-line. > the rest is my personal configuration option set. > > have fun, > > mark > -- > "Thank you for your recent message to customer support. > Please be advised that there will be a seven to ten day > delay while our legal department reviews our customer > support staff's reply. Thank you for your patience while > we reduce our legal liability." > - anonymous > > ------------------------------------------------------------- > Mark Rosa - Dipl. Arch. ETH > YourCell.Net (occupy your cell on the net) > email: info@yourcell.net www: http://www.yourcell.net > mobile: ++41-76-390 06 37 fax: ++49-89-244 35 64 08 > email: rosa@yourcell.net www: http://www.yourcell.net/rosa > ------------------------------------------------------------- --------------------------------------------------------------------------- [2000-09-25 14:45:56] waldowda@plu.edu I tried using 4.0.3RC1 but with CC the same errors occured. I also just tried with gcc. It goes through configure, make, and make install fine. When I try to use it appears to work until I try to use it! I get entries like the following in the error-log: [Sun Sep 24 23:36:32 2000] [notice] child pid 212001 exit signal Segmentation fault (11) AND... in a page I ask for <? phpinfo() ?> It all looks fine until I get to the following php variables part and then the php segmentation faults... PHP Variables <T Any help would surely be appreciated... I have been trying to install PHP 4 since May through versions 4.0.0, .1, .2... Please let me know if I can help in some way... Dean Waldow --------------------------------------------------------------------------- [2000-09-22 14:48:01] waldowda@plu.edu install fails with 5 errors in compile of zend_execute.c. Procedure is as follows with some condensation. from tcsh shell: setenv CC cc ./configure --with-mysql=/usr/local/mysql/ --enable-track-vars --with-apxs=/usr/local/apache/bin/apxs "./zend_execute.h", line 57: error(1113): function "safe_free_zval_ptr" was referenced but not defined ZEND_API inline void safe_free_zval_ptr(zval *p) ^ "./zend_execute.h", line 71: error(1113): function "i_zend_is_true" was referenced but not defined ZEND_API inline int i_zend_is_true(zval *op) ^ "./zend_execute.h", line 115: error(1113): function "zend_ptr_stack_clear_multiple" was referenced but not defined ZEND_API inline void zend_ptr_stack_clear_multiple(ELS_D) ^ "./zend_execute.h", line 131: error(1113): function "zend_ptr_stack_get_arg" was referenced but not defined ZEND_API inline int zend_ptr_stack_get_arg(int requested_arg, void **data ELS_DC) ^ "./zend_execute.h", line 174: error(1113): function "zend_assign_to_variable_reference" was referenced but not defined ZEND_API inline void zend_assign_to_variable_reference(znode *result, zval **variable_ptr_ptr, zval **value_ptr_ptr, temp_variable *Ts ELS_DC) ^ 5 errors detected in the compilation of "./zend_execute.c". *** Error code 1 (bu21) *** Error code 1 (bu21) --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=6854

« previous php.dev (#41773) next »