#30641 [Asn]: Compile error: error: symbol "zend_error" is used but not defined

From: Date: Fri, 25 Mar 2005 00:19:52 +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-75833@lists.php.net to get a copy of this message
ID: 30641 Updated by: sniper@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) +PHP Version: 5CVS-2005-03-25 Assigned To: andi New Comment: Andi, this was verified still to happen in HEAD. Previous Comments: ------------------------------------------------------------------------ [2005-01-23 13:57:03] nlopess@php.net 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. ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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

« previous php.bugs (#75833) next »