Edit report at http://bugs.php.net/bug.php?id=40510&edit=1
ID: 40510 Updated by: [email protected] Reported by: lew dot payne at gmail dot com Summary: Add multicast support in sockets.c -Status: Closed +Status: Re-Opened 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: 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 Previous Comments: ------------------------------------------------------------------------ [2011-04-06 12:08:38] [email protected] Closing. Trunk only. ------------------------------------------------------------------------ [2011-03-14 15:54:52] [email protected] Changed package, re-assigned and more accurately classified as suspended. ------------------------------------------------------------------------ [2011-03-14 01:12:21] [email protected] Implemented for trunk; to be considered to 5.3 after 5.3.6 release. ------------------------------------------------------------------------ [2011-03-14 01:08:31] [email protected] Automatic comment from SVN on behalf of cataphract Revision: http://svn.php.net/viewvc/?view=revision&revision=309198 Log: - Added multicast support to the sockets extension (bug #40510). ------------------------------------------------------------------------ [2011-03-03 01:02:29] [email protected] Chris, PHP 5.2 is dead, adding this feature to it is out of question. Adding it to PHP 5.3 depends on the release master, but probably won't be possible due to the need to keep binary compatibility. ------------------------------------------------------------------------ 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 http://bugs.php.net/bug.php?id=40510 -- Edit this bug report at http://bugs.php.net/bug.php?id=40510&edit=1
