ID: 24938 Updated by: [EMAIL PROTECTED] Reported By: sonny at sun dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Solaris 9 PHP Version: 5CVS-2003-08-04 (dev) New Comment:
Does this happen with the latest PHP 4 (stable) snapshots? Previous Comments: ------------------------------------------------------------------------ [2003-08-04 13:37:52] sonny at sun dot com Just tried with: configure: env CC=cc CXX=CC CFLAGS="-O" ./configure --with-tsrm-pthreads --enable-zend-multibyte --enable-memory-limit ....... Compiler: cc: Sun C 5.5 Patch 112760-01 2003/05/18 ------------------------------------------------------------------------ [2003-08-04 13:32:24] sonny at sun dot com 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 this bug report at http://bugs.php.net/?id=24938&edit=1