PHP 4.0 Bug #6637 Updated: will not compile with sockets support

From: Date: Fri, 24 Nov 2000 03:38:52 +0000
Subject: PHP 4.0 Bug #6637 Updated: will not compile with sockets support
Groups: php.dev 
Request: Send a blank email to php-dev+get-39065@lists.php.net to get a copy of this message
ID: 6637 Updated by: chrisv Reported By: jlpatterson@att.com Status: Closed Bug Type: Compile Failure Assigned To: chrisv Comments: As far as I know the bug is fixed in the current CVS release. Closing. Previous Comments: --------------------------------------------------------------------------- [2000-10-22 02:48:58] chrisv@php.net You may want to try the current CVS, as I commited some changes that should hopefully make it compile on HP-UX. Chris --------------------------------------------------------------------------- [2000-09-28 05:12:25] jlpatterson@att.com Tried this on HP-UX 11 as well on the same system I have another disk with HP-UX 11 installed on it, so I can "dual boot". HP-UX B.11.00 A (Nov 1999 release) Same versions of s/w. The GNU tools were built for HP-UX 11. Same configuration. Identical output. --------------------------------------------------------------------------- [2000-09-08 17:58:03] jlpatterson@att.com HP 9000/785 (B2000)* running HP-UX B.10.20 A (Dec 1999 release**) * 64-bit processor / 32-bit OS ** earlier releases of HP-UX will not run on a B2000 --- PHP 4.02 Apache 1.3.12 GNU binutils 2.9.1 GNU CC 2.95.2 GNU bison 1.28 GNU flex 2.54 --- configured with: --prefix=/opt/apache --with-apache=../apache_1.3.12 --with-config-file-path=/opt/apache/conf --enable-sockets --enable-sysvshm --enable-sysvsem make failed after compiling some stuff for XML --- output of make where trouble started: sockets.c: In function `php_minit_sockets': sockets.c:189: `MSG_WAITALL' undeclared (first use in this function) sockets.c:189: (Each undeclared identifier is reported only once sockets.c:189: for each function it appears in.) sockets.c: In function `php_if_connect': sockets.c:875: warning: assignment from incompatible pointer type sockets.c:900: warning: assignment from incompatible pointer type sockets.c: In function `php_if_strerror': sockets.c:927: warning: assignment makes pointer from integer without a cast sockets.c: In function `php_if_bind': sockets.c:986: `h_errno' undeclared (first use in this function) sockets.c: In function `php_if_sendto': sockets.c:1494: `h_errno' undeclared (first use in this function) sockets.c: In function `php_if_recvmsg': sockets.c:1559: sizeof applied to an incomplete type sockets.c:1574: warning: assignment from incompatible pointer type sockets.c:1580: structure has no member named `msg_control' sockets.c:1581: structure has no member named `msg_controllen' sockets.c:1583: structure has no member named `msg_control' sockets.c:1584: structure has no member named `msg_controllen' sockets.c:1587: structure has no member named `msg_flags' sockets.c:1593: structure has no member named `msg_control' sockets.c:1600: dereferencing pointer to incomplete type sockets.c:1601: dereferencing pointer to incomplete type sockets.c:1602: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1606: structure has no member named `msg_controllen' sockets.c:1607: structure has no member named `msg_flags' sockets.c:1633: warning: assignment from incompatible pointer type sockets.c:1639: structure has no member named `msg_control' sockets.c:1640: structure has no member named `msg_controllen' sockets.c:1642: structure has no member named `msg_control' sockets.c:1643: structure has no member named `msg_controllen' sockets.c:1646: structure has no member named `msg_flags' sockets.c:1652: structure has no member named `msg_control' sockets.c:1659: dereferencing pointer to incomplete type sockets.c:1660: dereferencing pointer to incomplete type sockets.c:1661: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast sockets.c:1663: structure has no member named `msg_controllen' sockets.c:1664: structure has no member named `msg_flags' sockets.c: In function `php_if_sendmsg': sockets.c:1709: `h_errno' undeclared (first use in this function) sockets.c:1712: warning: assignment from incompatible pointer type sockets.c:1736: warning: assignment from incompatible pointer type *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. --- tried compiling with --enable-libgcc (a guess) ... still failed compiles ok without --enable-sockets --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6637

« previous php.dev (#39065) next »