PHP 4.0 Bug #6637: will not compile with sockets support
| From: | jlpatterson at att dot com | Date: | Fri, 08 Sep 2000 21:58:03 +0000 |
| Subject: | PHP 4.0 Bug #6637: will not compile with sockets support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32725@lists.php.net to get a copy of this message | ||
From: jlpatterson@att.com
Operating system: HP-UX 10.20 (HP-UX B.10.20 A)
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description: will not compile with sockets support
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