|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2002-09-03 13:21 UTC] patrickb at buzzimage dot com
 Irix 6.5.12f GCC 3.0.4 ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-yp --enable-calendar --enable-ftp --enable-sockets /bin/sh /usr/src/php-4.2.2/libtool --silent --mode=compile /usr/freeware/bin/gcc -I. -I/usr/src/php-4.2.2/ext/sockets -I/usr/src/php-4.2.2/main -I/usr/src/php-4.2.2 -I/usr/local/apache_1.3.23/include -I/usr/src/php-4.2.2/Zend -I/usr/local/mysql/include -I/usr/src/php-4.2.2/ext/xml/expat -D_XPG_IV -DIRIX -DUSE_HSREGEX -DUSE_EXPAT -I/usr/src/php-4.2.2/TSRM -g -O2 -prefer-pic -c sockets.c 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 23:00:01 2025 UTC | 
Hi, I found a manpage on IRIX 5.3, that had the struct msghdr as follows: struct msghdr { caddr_t msg_name; /* optional address */ int msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ int msg_iovlen; /* # elements in msg_iov */ caddr_t msg_accrights; /* access rights sent/received */ int msg_accrightslen; }; Could you check sys/sockets.h on your os, and find that struct definition? (it indeed doesn't contain msgflags).msopacua@idg.nl: Here is the struct from the sys/sockets.h file on my system: #if _SGIAPI struct msghdr { caddr_t msg_name; /* optional address */ int msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ int msg_iovlen; /* # elements in msg_iov */ caddr_t msg_accrights; /* access rights sent/received */ int msg_accrightslen; }; #else struct msghdr { void *msg_name; /* optional address */ size_t msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ int msg_iovlen; /* # elements in msg_iov */ void *msg_control; /* ancillary data */ size_t msg_controllen; /* ancillary data buffer len */ int msg_flags; /* flags on rec'd message */ }; #endif /* _SGIAPI */ sniper@php.net: I'll try the latest stable snapshot in a few hours.