#9229 [Com]: Sockets extension does not compile -- possible problem
| From: | patrickb at buzzimage dot com | Date: | Tue, 03 Sep 2002 17:14:13 +0000 |
| Subject: | #9229 [Com]: Sockets extension does not compile -- possible problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18311@lists.php.net to get a copy of this message | ||
ID: 9229
Comment by: patrickb@buzzimage.com
Reported By: ben@univox.com
Status: Closed
Bug Type: Sockets related
Operating System: IRIX 6.5
PHP Version: 4.0.4pl1
New Comment:
I'm still getting this on Irix 6.5.12f with PHP 4.2.2
sockets.c:34:1: warning: "__EXTENSIONS__" redefined
<command line>:1:1: warning: this is the location of the previous
definition
sockets.c: In function `zif_socket_recvmsg':
sockets.c:1476: warning: assignment from incompatible pointer type
sockets.c:1481: warning: assignment from incompatible pointer type
sockets.c:1483: structure has no member named `msg_flags'
sockets.c:1499: structure has no member named `msg_flags'
sockets.c:1525: warning: assignment from incompatible pointer type
sockets.c:1531: warning: assignment from incompatible pointer type
sockets.c:1538: structure has no member named `msg_flags'
sockets.c:1554: structure has no member named `msg_flags'
sockets.c: In function `zif_socket_sendmsg':
sockets.c:1611: warning: assignment from incompatible pointer type
sockets.c:1639: warning: assignment from incompatible pointer type
gmake[3]: *** [sockets.lo] Error 1
gmake[3]: Leaving directory `/usr/src/php-4.2.2/ext/sockets'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/src/php-4.2.2/ext/sockets'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/php-4.2.2/ext'
gmake: *** [all-recursive] Error 1
Previous Comments:
------------------------------------------------------------------------
[2002-07-01 16:31:05] jason@php.net
This was fixed in 4.2.X
-jason
------------------------------------------------------------------------
[2002-03-23 07:07:12] joerg@php.net
Same or similar problem with 4.2.0rc1 on Irix6.5.12m
sockets.c:34: warning: `__EXTENSIONS__' redefined
*Initialization*:1: warning: this is the location of the previous
definition
sockets.c: In function `zif_socket_recvmsg':
sockets.c:1472: warning: assignment from incompatible pointer type
sockets.c:1477: warning: assignment from incompatible pointer type
sockets.c:1479: structure has no member named `msg_flags'
sockets.c:1495: structure has no member named `msg_flags'
sockets.c:1521: warning: assignment from incompatible pointer type
sockets.c:1527: warning: assignment from incompatible pointer type
sockets.c:1534: structure has no member named `msg_flags'
sockets.c:1550: structure has no member named `msg_flags'
sockets.c: In function `zif_socket_sendmsg':
sockets.c:1607: warning: assignment from incompatible pointer type
sockets.c:1635: warning: assignment from incompatible pointer type
gmake[3]: *** [sockets.lo] Error 1
gmake[3]: Leaving directory `/usr3/GCC/php-4.2.0RC1/ext/sockets'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr3/GCC/php-4.2.0RC1/ext/sockets'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr3/GCC/php-4.2.0RC1/ext'
gmake: *** [all-recursive] Error 1
------------------------------------------------------------------------
[2001-12-13 06:24:47] sander@php.net
No feedback. Closing.
------------------------------------------------------------------------
[2001-11-21 08:16:27] mfischer@php.net
Can you please try latest RC and see if it still exists
http://www.php.net/~zeev/php-4.1.0RC3.tar.gz
If not, please include the output of 'make' (and don't break lines
please).
Feedback.
------------------------------------------------------------------------
[2001-02-12 12:30:27] ben@univox.com
The sockets extension does not compile under IRIX.
This is due to the IRIX sockets library not including msg_flags in the
msghdr struct, contained within sockets.h.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=9229&edit=1