Edit report at https://bugs.php.net/bug.php?id=40510&edit=1
ID: 40510 Updated by: cataphr...@php.net Reported by: lew dot payne at gmail dot com Summary: Add multicast support in sockets.c -Status: Re-Opened +Status: Closed Type: Feature/Change Request Package: Sockets related Operating System: FreeBSD 6.2-REL PHP Version: 5.2.1 Assigned To: cataphract Block user comment: N Private report: N New Comment: Closing; current compilation problems in Mac OSX should be followed on bug #55111. Previous Comments: ------------------------------------------------------------------------ [2011-06-10 22:58:28] cataphr...@php.net Please test: http://nebm.ist.utl.pt/~glopes/misc/bug40510-reloaded.diff ------------------------------------------------------------------------ [2011-06-06 00:23:12] lstro...@php.net This patch seems to break compilation on Mac OS X (r311824): /bin/sh /usr/src/PHP_5_4/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/sockets/ -I/usr/src/PHP_5_4/ext/sockets/ -DPHP_ATOM_INC - I/usr/src/PHP_5_4/include -I/usr/src/PHP_5_4/main -I/usr/src/PHP_5_4 - I/usr/src/PHP_5_4/ext/date/lib -I/usr/src/PHP_5_4/ext/ereg/regex - I/usr/include/libxml2 -I/usr/src/PHP_5_4/ext/mbstring/oniguruma - I/usr/src/PHP_5_4/ext/mbstring/libmbfl - I/usr/src/PHP_5_4/ext/mbstring/libmbfl/mbfl - I/usr/src/PHP_5_4/ext/sqlite3/libsqlite -I/usr/src/PHP_5_4/TSRM - I/usr/src/PHP_5_4/Zend -no-cpp-precomp -I/usr/include -g -O2 - fvisibility=hidden -c /usr/src/PHP_5_4/ext/sockets/sockets.c -o ext/sockets/sockets.lo /usr/src/PHP_5_4/ext/sockets/sockets.c: In function âzm_startup_socketsâ: /usr/src/PHP_5_4/ext/sockets/sockets.c:820: error: âIP_BLOCK_SOURCEâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:820: error: (Each undeclared identifier is reported only once /usr/src/PHP_5_4/ext/sockets/sockets.c:820: error: for each function it appears in.) /usr/src/PHP_5_4/ext/sockets/sockets.c:821: error: âIP_UNBLOCK_SOURCEâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:822: error: âIP_ADD_SOURCE_MEMBERSHIPâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:823: error: âIP_DROP_SOURCE_MEMBERSHIPâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c: In function âzif_socket_connectâ: /usr/src/PHP_5_4/ext/sockets/sockets.c:1552: warning: cast from pointer to integer of different size /usr/src/PHP_5_4/ext/sockets/sockets.c: In function âphp_do_mcast_optâ: /usr/src/PHP_5_4/ext/sockets/sockets.c:2068: error: âIP_BLOCK_SOURCEâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:2071: error: âIP_UNBLOCK_SOURCEâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:2074: error: âIP_ADD_SOURCE_MEMBERSHIPâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:2077: error: âIP_DROP_SOURCE_MEMBERSHIPâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c: In function âzif_socket_set_optionâ: /usr/src/PHP_5_4/ext/sockets/sockets.c:2158: error: âIP_BLOCK_SOURCEâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:2159: error: âIP_UNBLOCK_SOURCEâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:2160: error: âIP_ADD_SOURCE_MEMBERSHIPâ undeclared (first use in this function) /usr/src/PHP_5_4/ext/sockets/sockets.c:2161: error: âIP_DROP_SOURCE_MEMBERSHIPâ undeclared (first use in this function) make: *** [ext/sockets/sockets.lo] Error 1 ------------------------------------------------------------------------ [2011-04-06 12:08:38] cataphr...@php.net Closing. Trunk only. ------------------------------------------------------------------------ [2011-03-14 15:54:52] cataphr...@php.net Changed package, re-assigned and more accurately classified as suspended. ------------------------------------------------------------------------ [2011-03-14 01:12:21] cataphr...@php.net Implemented for trunk; to be considered to 5.3 after 5.3.6 release. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=40510 -- Edit this bug report at https://bugs.php.net/bug.php?id=40510&edit=1