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

From: Date: Thu, 20 Jan 2005 18:02:26 +0000
Subject: #30641 [Com]: 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-72528@lists.php.net to get a copy of this message
ID: 30641 Comment by: maande10 at vt dot edu 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: 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. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2004-11-10 10:29:28] hakan at lisas dot de bwsx010:/# gcc --version gcc (GCC) 3.3.2 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. bwsx010:/# as -V as: Sun WorkShop 6 update 2 Compiler Common 6.2 Solaris_9_CBE 2001/04/02 ------------------------------------------------------------------------ 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 (#72528) next »