#20492 [Fbk->NoF]: Compile fails with parse errors

From: Date: Sun, 01 Dec 2002 22:35:58 +0000
Subject: #20492 [Fbk->NoF]: Compile fails with parse errors
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26317@lists.php.net to get a copy of this message
ID: 20492 Updated by: sniper@php.net Reported By: j.j.d.e.lammerts@vanlanschot.com -Status: Feedback +Status: No Feedback Bug Type: Compile Failure Operating System: AIX 4.3.3 ML 10 PHP Version: 4.2.3 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-11-19 04:34:34] derick@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-11-19 04:32:57] j.j.d.e.lammerts@vanlanschot.com Hi, In the past I have been able to compile PHP-4.0.6 without any problems on AIX. Trying to compile 4.2.3 on AIX now gives below output. Not sure what I can do about this. I'm guessing make stops because of the parse errors, not because of the "redefined" warnings..... Anyone out there that can help me out, please ? Hans <snip> Making all in sockets /bin/sh /home/USTJLA/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/home/US TJLA/php-4.2.3/ext/sockets -I/home/USTJLA/php-4.2.3/main -I/home/USTJLA/php-4.2.3 -I/usr/H TTPServer/include -I/home/USTJLA/php-4.2.3/Zend -I/usr/local/include -I/sa/apps/oracle/pro duct/8.1.7/rdbms/public -I/sa/apps/oracle/product/8.1.7/rdbms/demo -DAIX=43 -DUSE_PTHREAD _SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -DAFPA -DNO_DL_NEEDED -I /home/USTJLA/php-4.2.3/TSRM -O2 -prefer-pic -c sockets.c sockets.c:32: warning: `_XOPEN_SOURCE_EXTENDED' redefined /usr/include/standards.h:102: warning: this is the location of the previous definition In file included from /home/USTJLA/php-4.2.3/main/php_network.h:33, from sockets.c:36: /usr/include/netinet/in.h:86: parse error /usr/include/netinet/in.h:344: parse error In file included from /usr/include/sys/socket.h:70, from /home/USTJLA/php-4.2.3/main/php_network.h:37, from sockets.c:36: /usr/include/sys/uio.h:53: parse error In file included from /home/USTJLA/php-4.2.3/main/php_network.h:37, from sockets.c:36: /usr/include/sys/socket.h:142: parse error sockets.c:40: warning: `_XOPEN_SOURCE_EXTENDED' redefined sockets.c:32: warning: this is the location of the previous definition make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20492&edit=1

« previous php.bugs (#26317) next »