#24104 [Csd->Bgs]: make failure

From: Date: Wed, 11 Jun 2003 22:23:00 +0000
Subject: #24104 [Csd->Bgs]: make failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-41717@lists.php.net to get a copy of this message
ID: 24104 Updated by: sniper@php.net Reported By: wax at y12 dot doe dot gov -Status: Closed +Status: Bogus Bug Type: Compile Failure Operating System: OSF1 V4.0 878 alpha PHP Version: 4.3.2 New Comment: still not PHP bug -> bogus. Previous Comments: ------------------------------------------------------------------------ [2003-06-11 12:53:25] wax at y12 dot doe dot gov I searched all over and never saw that. I finally got it to use cc though... So I can successfully compile it now... Thank you. ------------------------------------------------------------------------ [2003-06-11 12:22:26] sniper@php.net After some searching with Google (you should try that sometimes..) I found some references claiming this is actually a gcc bug (on Alpha), you need to upgrade to gcc 3.x ------------------------------------------------------------------------ [2003-06-10 12:15:11] wax at y12 dot doe dot gov OK ran it with GCC 2.7.2.2 and this happened: gcc -IZend/ -I/u00/wax/php-4.3.2/Zend/ -DPHP_ATOM_INC -I/u00/wax/php-4.3.2/include -I/u00/wax/php-4.3.2/main -I/u00/wax/php-4.3.2 -I/u00/wax/php-4.3.2/Zend -I/u00/wax/php-4.3.2/TSRM -g -O2 -c /u00/wax/php-4.3.2/Zend/zend_variables.c -o Zend/zend_variables.o && echo > Zend/zend_variables.lo gcc -IZend/ -I/u00/wax/php-4.3.2/Zend/ -DPHP_ATOM_INC -I/u00/wax/php-4.3.2/include -I/u00/wax/php-4.3.2/main -I/u00/wax/php-4.3.2 -I/u00/wax/php-4.3.2/Zend -I/u00/wax/php-4.3.2/TSRM -g -O2 -c /u00/wax/php-4.3.2/Zend/zend.c -o Zend/zend.o && echo > Zend/zend.lo /u00/wax/php-4.3.2/Zend/zend.c: In function `zend_error': /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__base' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union *** Exit 1 Ran it with GCC 2.95.2 gcc -IZend/ -I/u00/wax/php-4.3.2/Zend/ -DPHP_ATOM_INC -I/u00/wax/php-4.3.2/include -I/u00/wax/php-4.3.2/main -I/u00/wax/php-4.3.2 -I/u00/wax/php-4.3.2/Zend -I/u00/wax/php-4.3.2/TSRM -g -O2 -c /u00/wax/php-4.3.2/Zend/zend_variables.c -o Zend/zend_variables.o && echo > Zend/zend_variables.lo In file included from /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/stdarg.h:36, from /u00/wax/php-4.3.2/Zend/zend.h:63, from /u00/wax/php-4.3.2/Zend/zend_variables.c:22: /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here gcc -IZend/ -I/u00/wax/php-4.3.2/Zend/ -DPHP_ATOM_INC -I/u00/wax/php-4.3.2/include -I/u00/wax/php-4.3.2/main -I/u00/wax/php-4.3.2 -I/u00/wax/php-4.3.2/Zend -I/u00/wax/php-4.3.2/TSRM -g -O2 -c /u00/wax/php-4.3.2/Zend/zend.c -o Zend/zend.o && echo > Zend/zend.lo In file included from /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/stdarg.h:36, from /u00/wax/php-4.3.2/Zend/zend.h:63, from /u00/wax/php-4.3.2/Zend/zend.c:21: /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /u00/wax/php-4.3.2/Zend/zend.c: In function `zend_error': /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__base' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union make: *** [Zend/zend.lo] Error 1 OK I have tried that on php-4.3.2 & php4-STABLE-200306092130... Same result. Due to this I am trying to get php-3.0.18 installed just to see if that will work and then work my way up... Does that sound like a good idea?? I have tried doing the CC=cc ./configure thing... no good... also tried CC=cc make and still nothing... Is there any information you need from me to help debug this issue? ------------------------------------------------------------------------ [2003-06-10 11:56:52] sniper@php.net Yes, try this: # rm config.cache && ./configure --disable-all --disable-cgi && make clean && make ------------------------------------------------------------------------ [2003-06-10 10:23:30] wax at y12 dot doe dot gov OK I have it using GCC 2.95.2 ... Here is the error message now: gcc -IZend/ -I/u00/wax/php-4.3.2/Zend/ -DPHP_ATOM_INC -I/u00/wax/php-4.3.2/include -I/u00/wax/php-4.3.2/main -I/u00/wax/php-4.3.2 -I/u00/wax/php-4.3.2/Zend -I/opt/local/include -I/u00/wax/php-4.3.2/ext/xml/expat -I/u00/wax/php-4.3.2/TSRM -g -O2 -c /u00/wax/php-4.3.2/Zend/zend_variables.c -o Zend/zend_variables.o && echo > Zend/zend_variables.lo In file included from /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/stdarg.h:36, from /u00/wax/php-4.3.2/Zend/zend.h:63, from /u00/wax/php-4.3.2/Zend/zend_variables.c:22: /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here gcc -IZend/ -I/u00/wax/php-4.3.2/Zend/ -DPHP_ATOM_INC -I/u00/wax/php-4.3.2/include -I/u00/wax/php-4.3.2/main -I/u00/wax/php-4.3.2 -I/u00/wax/php-4.3.2/Zend -I/opt/local/include -I/u00/wax/php-4.3.2/ext/xml/expat -I/u00/wax/php-4.3.2/TSRM -g -O2 -c /u00/wax/php-4.3.2/Zend/zend.c -o Zend/zend.o && echo > Zend/zend.lo In file included from /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/stdarg.h:36, from /u00/wax/php-4.3.2/Zend/zend.h:63, from /u00/wax/php-4.3.2/Zend/zend.c:21: /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list' /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here /u00/wax/php-4.3.2/Zend/zend.c: In function `zend_error': /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__base' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union /u00/wax/php-4.3.2/Zend/zend.c:763: request for member `__offset' in something not a structure or union make: *** [Zend/zend.lo] Error 1 webdev# gcc -v Reading specs from /opt/gnu/lib/gcc-lib/alpha-dec-osf4.0d/2.95.2/specs gcc version 2.95.2 19991024 (release) Anymore suggesionts? ------------------------------------------------------------------------ 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/24104 -- Edit this bug report at http://bugs.php.net/?id=24104&edit=1

« previous php.bugs (#41717) next »