ID: 24267
Updated by: [EMAIL PROTECTED]
Reported By: robert at artnickel dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Linux 2.2.19
PHP Version: 4.3.2
New Comment:
There's something very wrong within your system,
propably misconfigured linux headers, or something alike.
Previous Comments:
------------------------------------------------------------------------
[2003-06-20 02:56:12] robert at artnickel dot com
Description:
------------
In file included from /home/tech/dnloads/php-4.3.2/main/php.h:155,
from
/home/tech/dnloads/php-4.3.2/ext/standard/basic_functions.c:22:
/usr/include/unistd.h:247: warning: redefinition of `socklen_t'
/home/tech/dnloads/php-4.3.2/main/php.h:139: warning: `socklen_t'
previously declared here
In file included from /usr/include/netdb.h:31,
from
/home/tech/dnloads/php-4.3.2/ext/standard/basic_functions.c:42:
/usr/include/sys/socket.h:51: parse error before `0'
make: *** [ext/standard/basic_functions.lo] Error 1
$ gcc -v
gcc version 2.95.2 19991024 (release)
$ rpm -qa | grep glibc
glibc-2.1.92-14
glibc-devel-2.1.92-14
Couldn't find anywhere where this problem was listed on the bug
listing. I went to #php on oftc and ircnet with no luck (it's kinda
late 0840 UTC).
It's gagging on the following code segment on the SHUT_RD line:
/* The following constants should be used for the second parameter of
`shutdown'. */
enum
{
SHUT_RD = 0, /* No more receptions. */
#define SHUT_RD SHUT_RD
SHUT_WR, /* No more transmissions. */
#define SHUT_WR SHUT_WR
SHUT_RDWR /* No more receptions or transmissions. */
#define SHUT_RDWR SHUT_RDWR
};
Reproduce code:
---------------
N/A
Expected result:
----------------
N/A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24267&edit=1