ID:               20492
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: AIX 4.3.3 ML 10
 PHP Version:      4.2.3
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2002-11-19 04:32:57] [EMAIL PROTECTED]

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

Reply via email to