php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6854 zend_execute compile failure -> for all ZEND_API inline's in the .h
Submitted: 2000-09-22 14:48 UTC Modified: 2001-08-03 23:47 UTC
From: waldowda at plu dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: IRIX 6.5.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: waldowda at plu dot edu
New email:
PHP Version: OS:

 

 [2000-09-22 14:48 UTC] waldowda at plu dot 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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-25 14:45 UTC] waldowda at plu dot 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-29 08:45 UTC] waldowda at plu dot 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-11-29 04:43 UTC] sniper@php.net
reclassified
 [2000-11-30 00:43 UTC] waldowda at plu dot 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-12-18 11:06 UTC] sniper@php.net
This is duplicate of #5882.
But please try latest snapshot from http://snaps.php.net/
if this is already fixed..

--Jani
 [2001-08-03 23:35 UTC] sniper@php.net
reopened as the duplicate report was closed (no feedback).

 [2001-08-03 23:47 UTC] sas@php.net
This has been fixed in CVS. Thanks for your report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 22:01:27 2025 UTC