#30641 [Asn]: Compile error: error: symbol "zend_error" is used but not defined
| From: | nlopess@php.net | Date: | Sun, 23 Jan 2005 12:57:05 +0000 |
| Subject: | #30641 [Asn]: Compile error: error: symbol "zend_error" is used but not defined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-72693@lists.php.net to get a copy of this message | ||
ID: 30641
Updated by: nlopess@php.net
Reported By: hakan at lisas dot de
Status: Assigned
Bug Type: Compile Failure
Operating System: Solaris 9
PHP Version: 5CVS-2004-11-01 (dev)
Assigned To: andi
New Comment:
The problem is that the code isn't staandard.
An alias must defined in the same file as the aliased function file.
So, in theory, moving that declaration to zend.c (where zend_error() is
declared) whould solve the problems.
Previous Comments:
------------------------------------------------------------------------
[2005-01-20 19:02:25] maande10 at vt dot edu
Found this problem when compiling the php5-200501192330 snapshot on
Solaris 8. gcc 3.4.2. Switching to the alternate definition of
zend_error_noreturn() in Zend/zend_execute.c fixed the compile problem.
------------------------------------------------------------------------
[2005-01-19 01:39:32] sniper@php.net
Looks a lot like Andi wrote that..let's assign this to him. :)
------------------------------------------------------------------------
[2005-01-01 14:18:30] nlopess@php.net
In zend_execute.c if you comment the line 47 (void
zend_error_return..) and uncomment the next line (alternative defition
of zend_error_noreturn) it compiles successfully (although with some
iconv problems).
------------------------------------------------------------------------
[2004-12-26 13:09:44] nlopess@php.net
I'm also getting this error on Solaris 9:
gcc 3.3
as -V:
GNU assembler version 2.14.90.0.4 (sparc-sun-solaris2.9) using BFD
version 2.14.
90.0.4 20030523
------------------------------------------------------------------------
[2004-11-14 06:15:21] hakan at lisas dot de
Tried with gcc 3.4.2. Still the same error.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30641
--
Edit this bug report at http://bugs.php.net/?id=30641&edit=1