ID: 24104
Updated by: [EMAIL PROTECTED]
Reported By: wax at y12 dot doe dot gov
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: OSF1 V4.0 878 alpha
PHP Version: 4.3.2
New Comment:
Yes, try this:
# rm config.cache ./configure --disable-all --disable-cgi make
clean make
Previous Comments:
[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?
[2003-06-09 23:04:01] [EMAIL PROTECTED]
Please ignore the previous comment, neither of those compilers are
'stable' in the way 2.95.3 is for example.
[2003-06-09 18:52:48] [EMAIL PROTECTED]
Please try with a stable compiler such as gcc 2.96 or
3.2.3.
You could also try with Tru64's compiler (CC=cc
./configure). I personally haven't seen anything like this
with 4.3.2 on Tru64.
[2003-06-09 17:45:18] wax at y12 dot doe dot gov
I do this as a configure string:
./configure --prefix=/opt/local/stow/php-4.3.2 --with-mysql
--with-apache=/usr/local/apache --with-zlib=/opt/local
--with-zlib-dir=~wax/zlib --with-gd=/opt/local
--with-jpeg-dir=/opt/local --with-png=/opt/local
My GCC version is 2.7.2.2 .
It works fine it seems... I then run make and I get this:
gcc -IZend/ -I/u00/wax/php-4.3.3/Zend/ -DPHP_ATOM_INC
-I/u00/wax/php-4.3.3/include -I/u00/wax/php-4.3.3/main
-I/u00/wax/php-4.3.3 -I/u00/wax/php-4.3.3/Zend -I/opt/local/include
-I/u00/wax/php-4.3.3/ext/xml/expat -I/u00/wax/php-4.3.3/TSRM -g -O2
-c /u00/wax/php-4.3.3/Zend/zend_stack.c -o Zend/zend_stack.o echo
Zend/zend_stack.lo
gcc -IZend/ -I/u00/wax/php-4.3.3/Zend/ -DPHP_ATOM_INC
-I/u00/wax/php-4.3.3/include -I/u00/wax/php-4.3.3/main
-I/u00/wax/php-4.3.3 -I/u00/wax/php-4.3.3/Zend -I/opt/local/include
-I/u00/wax/php-4.3.3/ext/xml/expat -I/u00/wax/php-4.3.3/TSRM -g -O2
-c /u00/wax/php-4.3.3/Zend/zend_variables.c -o Zend/zend_variables.o
echo Zend/zend_variables.lo
gcc -IZend/ -I/u00/wax/php-4.3.3/Zend/ -DPHP_ATOM_INC
-I/u00/wax/php-4.3.3/include -I/u00/wax/php-4.3.3/main
-I/u00/wax/php-4.3.3 -I/u00/wax/php-4.3.3/Zend -I/opt/local/include
-I/u00/wax/php-4.3.3/ext/xml/expat -I/u00/wax/php-4.3.3/TSRM -g -O2
-c /u00/wax/php-4.3.3/Zend/zend.c -o Zend/zend.o echo
Zend/zend.lo
/u00/wax/php-4.3.3/Zend/zend.c: In function `zend_error':
/u00/wax/php-4.3.3/Zend/zend.c:780: request for member `__offset' in
something not a structure or union
/u00/wax/php-4.3.3/Zend/zend.c:780: request for member `__base' in
something not a