#19212 [Fbk->Opn]: Socket extension won't compile

From: Date: Wed, 04 Sep 2002 13:10:09 +0000
Subject: #19212 [Fbk->Opn]: Socket extension won't compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18410@lists.php.net to get a copy of this message
ID: 19212 User updated by: patrickb@buzzimage.com Reported By: patrickb@buzzimage.com -Status: Feedback +Status: Open Bug Type: Sockets related Operating System: Irix 6.5.12f PHP Version: 4.2.2 New Comment: It actually died quicker this time. During the compilation of a Zend module I think. Didn't even get to the sockets extension. It does die with the same type of 'msg_flags' error though. /bin/sh libtool --silent --mode=compile /usr/freeware/bin/gcc -Iext/sockets/ -I/usr/src/php4-200209040300/ext/sockets/ -DPHP_ATOM_INC -I/usr/src/php4-200209040300/include -I/usr/src/php4-200209040300/main -I/usr/src/php4-200209040300 -I/usr/src/php4-200209040300/Zend -I/usr/local/mysql/include -I/usr/src/php4-200209040300/ext/xml/expat -D_XPG_IV -DIRIX -DUSE_HSREGEX -DUSE_EXPAT -I/usr/src/php4-200209040300/TSRM -g -O2 -prefer-pic -c /usr/src/php4-200209040300/ext/sockets/sockets.c -o ext/sockets/sockets.lo /usr/src/php4-200209040300/ext/sockets/sockets.c:34:1: warning: "__EXTENSIONS__" redefined <command line>:1:1: warning: this is the location of the previous definition /usr/src/php4-200209040300/ext/sockets/sockets.c: In function `zif_socket_recvmsg': /usr/src/php4-200209040300/ext/sockets/sockets.c:1539: structure has no member named `msg_flags' /usr/src/php4-200209040300/ext/sockets/sockets.c:1556: structure has no member named `msg_flags' /usr/src/php4-200209040300/ext/sockets/sockets.c:1598: structure has no member named `msg_flags' /usr/src/php4-200209040300/ext/sockets/sockets.c:1617: structure has no member named `msg_flags' gmake: *** [ext/sockets/sockets.lo] Error 1 Previous Comments: ------------------------------------------------------------------------ [2002-09-03 18:20:54] kalowsky@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip More specifically can you test for the new PHP 4.2.3 RC files and see if this continues. This should be something fairly easy to fix, and hopefully we can get a patch in (if it's not fixed). ------------------------------------------------------------------------ [2002-09-03 13:28:41] patrickb@buzzimage.com Same as bug #9229 ------------------------------------------------------------------------ [2002-09-03 13:21:28] patrickb@buzzimage.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19212&edit=1

« previous php.bugs (#18410) next »