#30641 [Opn]: Compile error: error: symbol "zend_error" is used but not defined
| From: | nlopess@php.net | Date: | Sat, 01 Jan 2005 13:18:31 +0000 |
| Subject: | #30641 [Opn]: 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-71366@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: Open
Bug Type: Compile Failure
Operating System: Solaris 9
PHP Version: 5CVS-2004-11-01 (dev)
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2004-11-10 07:03:08] dmitry@php.net
Can you please provide information about versions of your GCC and AS?
------------------------------------------------------------------------
[2004-11-01 04:50:37] hakan at lisas dot de
Description:
------------
Compile of latest HEAD fails with:
/bin/sh /usr/local/php-src/libtool --silent --preserve-dup-deps
--mode=compile gcc -IZend/ -I/usr/local/php-src/Zend/ -DPHP_ATOM_INC
-I/usr/local/php-src/include -I/usr/local/php-src/main
-I/usr/local/php-src -I/usr/local/php-src/Zend
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/mysql/include/mysql
-I/usr/local/pgsql/include -D_POSIX_PTHREAD_SEMANTICS
-I/usr/local/php-src/TSRM -g -O2 -prefer-pic -c
/usr/local/php-src/Zend/zend_execute.c -o Zend/zend_execute.lo
/usr/ccs/bin/as: "/var/tmp//ccOlcxja.s": error: symbol "zend_error" is
used but not defined
/usr/ccs/bin/as: "/var/tmp//ccOlcxja.s": internal error:
evaluate_symbol_expression(): op 20?
make: *** [Zend/zend_execute.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30641&edit=1