Bug #18053 Updated: zend_operators compile error AIX 4.3.3
| From: | holmberg at lci dot kent dot edu | Date: | Tue, 02 Jul 2002 12:47:31 +0000 |
| Subject: | Bug #18053 Updated: zend_operators compile error AIX 4.3.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12791@lists.php.net to get a copy of this message | ||
ID: 18053
Updated by: holmberg@lci.kent.edu
Reported By: holmberg@lci.kent.edu
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: AIX 4.3.3
PHP Version: 4.2.1
New Comment:
I tried 'latest.tar.gz' and now get...
# ./configure --with-apache=../apache_1.3.26
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... powerpc-ibm-aix4.3.1.0
checking how to run the C preprocessor... (cached) /lib/cpp
checking for AIX... no
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -I/usr/local/ssl/include )
works... yes
checking whether the C compiler (cc -O -I/usr/local/ssl/include ) is a
cross-com
piler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
......
# gmake
cc -Iext/mysql/ -I/Samba/holmberg/Apache/php4-200207010900/ext/mysql/
-DPHP_ATO
M_INC -I/Samba/holmberg/Apache/php4-200207010900/include
-I/Samba/holmberg/Apach
e/php4-200207010900/main -I/Samba/holmberg/Apache/php4-200207010900
-I/Samba/hol
mberg/Apache/php4-200207010900/Zend
-I/Samba/holmberg/Apache/php4-200207010900/e
xt/xml/expat -I/Samba/holmberg/Apache/php4-200207010900/TSRM -O
-I/usr/local/ss
l/include -c
/Samba/holmberg/Apache/php4-200207010900/ext/mysql/php_mysql.c -o
ext/mysql/php_mysql.o && echo > ext/mysql/php_mysql.lo
"/usr/include/sys/param.h", line 103.9: 1506-236 (W) Macro name
MAXPATHLEN has b
een redefined.
"/usr/include/sys/param.h", line 103.9: 1506-358 (I) "MAXPATHLEN" is
defined on
line 223 of /Samba/holmberg/Apache/php4-200207010900/main/php.h.
"/Samba/holmberg/Apache/php4-200207010900/TSRM/tsrm_config_common.h",
line 27.2:
1506-224 (I) Incorrect #pragma ignored.
"/Samba/holmberg/Apache/php4-200207010900/ext/mysql/php_mysql.c", line
65.11: 15
06-296 (S) #include file <mysql.h> not found.
"/Samba/holmberg/Apache/php4-200207010900/ext/mysql/php_mysql.c", line
113.9: 15
06-046 (S) Syntax error.
"/Samba/holmberg/Apache/php4-200207010900/ext/mysql/php_mysql.c", line
232.9: 15
06-045 (S) Undeclared identifier MYSQL_RES.
"/Samba/holmberg/Apache/php4-200207010900/ext/mysql/php_mysql.c", line
232.20: 1
506-045 (S) Undeclared identifier mysql_result.
And about 100 more syntax errors like the above.
Previous Comments:
------------------------------------------------------------------------
[2002-07-01 11:02:39] sniper@php.net
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
It compiled fine on AIX 4.3.3 yesterday.
(I was using gcc though..)
------------------------------------------------------------------------
[2002-07-01 10:10:59] holmberg@lci.kent.edu
I get the exact same results with Version 4.2.1...
----------------------------------------------------------
# gmake install
Making install in Zend
gmake[1]: Entering directory `/Samba/holmberg/Apache/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main
-I../TSRM -O -I/usr/local/ssl/include -prefer-non-pic -static -c -o
zend_oper
ators.lo
test -f zend_operators.c || echo './'zend_operators.c
"zend_operators.c", line 566.34: 1506-275 (S) Unexpected text zval
encountered.
"zend_operators.c", line 566.41: 1506-046 (S) Syntax error.
"zend_operators.c", line 566.21: 1506-068 (W) Operation between types
"struct _z
val_struct**" and "int" is not allowed.
"zend_operators.c", line 581.34: 1506-275 (S) Unexpected text zval
encountered.
"zend_operators.c", line 581.41: 1506-046 (S) Syntax error.
"zend_operators.c", line 581.21: 1506-068 (W) Operation between types
"struct _z
val_struct**" and "int" is not allowed.
"zend_operators.c", line 596.34: 1506-275 (S) Unexpected text zval
encountered.
"zend_operators.c", line 596.41: 1506-046 (S) Syntax error.
"zend_operators.c", line 596.21: 1506-068 (W) Operation between types
"struct _z
val_struct**" and "int" is not allowed.
gmake[1]: *** [zend_operators.lo] Error 1
gmake[1]: Leaving directory `/Samba/holmberg/Apache/php-4.2.1/Zend'
gmake: *** [install-recursive] Error 1
#
-------------------------------------------------------
------------------------------------------------------------------------
[2002-06-28 15:56:06] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2002-06-28 15:54:06] holmberg@lci.kent.edu
I get the following syntax errors compiling zend_operators.c with
apache 1.3.26...
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main
-I../TSRM -O -I/usr/local/ssl/openssl -prefer-non-pic -static -c
zend_operato
rs.c
"zend_operators.c", line 566.34: 1506-275 (S) Unexpected text zval
encountered.
"zend_operators.c", line 566.41: 1506-046 (S) Syntax error.
"zend_operators.c", line 566.21: 1506-068 (W) Operation between types
"struct _z
val_struct**" and "int" is not allowed.
"zend_operators.c", line 581.34: 1506-275 (S) Unexpected text zval
encountered.
"zend_operators.c", line 581.41: 1506-046 (S) Syntax error.
"zend_operators.c", line 581.21: 1506-068 (W) Operation between types
"struct _z
val_struct**" and "int" is not allowed.
"zend_operators.c", line 596.34: 1506-275 (S) Unexpected text zval
encountered.
"zend_operators.c", line 596.41: 1506-046 (S) Syntax error.
"zend_operators.c", line 596.21: 1506-068 (W) Operation between types
"struct _z
val_struct**" and "int" is not allowed.
gmake[1]: *** [zend_operators.lo] Error 1
gmake[1]: Leaving directory `/Samba/holmberg/Apache/php-4.1.2/Zend'
gmake: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18053&edit=1