From:             [EMAIL PROTECTED]
Operating system: AIX 4.3.3 ML 10
PHP version:      4.2.3
PHP Bug Type:     Compile Failure
Bug description:  Compile fails with parse errors

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 bug report at http://bugs.php.net/?id=20492&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20492&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20492&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20492&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20492&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20492&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20492&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20492&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20492&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20492&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20492&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20492&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20492&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20492&r=isapi

Reply via email to