php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9229 Sockets extension does not compile -- possible problem
Submitted: 2001-02-12 12:30 UTC Modified: 2002-07-01 16:31 UTC
From: ben at univox dot com Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.0.4pl1 OS: IRIX 6.5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ben at univox dot com
New email:
PHP Version: OS:

 

 [2001-02-12 12:30 UTC] ben at univox dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-21 08:16 UTC] 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-12-13 06:24 UTC] sander@php.net
No feedback. Closing.
 [2002-03-23 07:07 UTC] 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

 [2002-07-01 16:31 UTC] jason@php.net
This was fixed in 4.2.X

-jason
 [2002-09-03 13:14 UTC] patrickb at buzzimage dot com
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 04:01:27 2024 UTC