|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-26 13:00 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Feb 19 22:00:01 2026 UTC |
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