From: sonny at sun dot com Operating system: Solaris 9 PHP version: 5CVS-2003-08-04 (dev) PHP Bug Type: Compile Failure Bug description: Error due compiling sockets
Description: ------------ Compiling Error with --enable-sockets /tmp/php5-200308041730/ext/sockets/sockets.c: In function `zif_socket_recvmsg': /tmp/php5-200308041730/ext/sockets/sockets.c:1783: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1784: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1793: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1801: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1812: warning: passing arg 4 of `add_assoc_string_ex' makes pointer from integer without a cast /tmp/php5-200308041730/ext/sockets/sockets.c:1841: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1842: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1851: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1859: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1870: warning: passing arg 4 of `add_assoc_string_ex' makes pointer from integer without a cast /tmp/php5-200308041730/ext/sockets/sockets.c:1894: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1895: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1897: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1898: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1909: structure has no member named `msg_control' /tmp/php5-200308041730/ext/sockets/sockets.c:1918: structure has no member named `msg_controllen' /tmp/php5-200308041730/ext/sockets/sockets.c:1927: warning: passing arg 4 of `add_assoc_string_ex' makes pointer from integer without a cast make: *** [ext/sockets/sockets.lo] Error 1 Reproduce code: --------------- CONFIGURE: ./configure --prefix=/tmp/PHP --enable-memory-limit --enable-yp --enable-wddx --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-sockets --enable-pcntl --enable-cli --enable-ftp --enable-dbase --enable-dbx --enable-dio --enable-bcmath --enable-calendar GCC: gcc version 3.2 make: GNU Make version 3.79.1 Expected result: ---------------- Working sockets -- Edit bug report at http://bugs.php.net/?id=24938&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24938&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24938&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24938&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24938&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24938&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24938&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24938&r=support Expected behavior: http://bugs.php.net/fix.php?id=24938&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24938&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24938&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24938&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24938&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24938&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24938&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24938&r=gnused