php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20492 Compile fails with parse errors
Submitted: 2002-11-19 04:32 UTC Modified: 2002-12-01 16:35 UTC
From: j dot j dot d dot e dot lammerts at vanlanschot dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.2.3 OS: AIX 4.3.3 ML 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: j dot j dot d dot e dot lammerts at vanlanschot dot com
New email:
PHP Version: OS:

 

 [2002-11-19 04:32 UTC] j dot j dot d dot e dot lammerts at vanlanschot dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-19 04:34 UTC] 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-12-01 16:35 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC