php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10122 Structure has no member errors
Submitted: 2001-04-02 16:30 UTC Modified: 2001-06-03 05:02 UTC
From: stevecs at chaven dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Solaris 2.8
Private report: No CVE-ID: None

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-02 16:32 UTC] sbergmann@php.net
Could you please elaborate a bit what you mean exactly?
 [2001-04-02 16:32 UTC] stevecs at chaven dot com
Compile time warning on php.  Configuration options:

--------
./configure --prefix=/usr --with-config-file-path=/usr/local/lib --with-apache=../apache_1.3.19 --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql --with-gd --with-jpeg-dir --with-openssl=/usr/local/ssl --with-mm --with-zlib --with-bz2 --enable-track-vars --enable-magic-quotes --enable-trans-sid --enable-sockets --enable-ftp --enable-bcmath --enable-calendar --enable-url-includes

------

Last part of compile-time messages:

---------
gmake[3]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/session'
gmake[2]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/session'
Making all in sockets
gmake[2]: Entering directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets'
gmake[3]: Entering directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets'
gcc  -I. -I/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets -I/usr/local/src/Apache_New/php-4.0.4pl1/main -I/usr/local/src/Apache_New/php-4.0.4pl1 -I/usr/local/src/Apache_New/apache_1.3.19/src/include -I/usr/local/src/Apache_New/apache_1.3.19/src/os/unix -I/usr/local/src/Apache_New/php-4.0.4pl1/Zend -I/usr/local/ssl/include -I/usr/local/include/freetype -I/usr/local/mysql/include/mysql -I/usr/local/include -I/usr/local/src/Apache_New/php-4.0.4pl1/ext/xml/expat/xmltok -I/usr/local/src/Apache_New/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/local/src/Apache_New/php-4.0.4pl1/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=21 -g -O2  -c sockets.c && touch sockets.lo
sockets.c: In function `php_if_recvmsg':
sockets.c:1728: structure has no member named `msg_control'
sockets.c:1729: structure has no member named `msg_controllen'
sockets.c:1731: structure has no member named `msg_control'
sockets.c:1732: structure has no member named `msg_controllen'
sockets.c:1735: structure has no member named `msg_flags'
sockets.c:1741: structure has no member named `msg_control'
sockets.c:1750: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast
sockets.c:1754: structure has no member named `msg_controllen'
sockets.c:1755: structure has no member named `msg_flags'
sockets.c:1787: structure has no member named `msg_control'
sockets.c:1788: structure has no member named `msg_controllen'
sockets.c:1790: structure has no member named `msg_control'
sockets.c:1791: structure has no member named `msg_controllen'
sockets.c:1794: structure has no member named `msg_flags'
sockets.c:1800: structure has no member named `msg_control'
sockets.c:1810: warning: passing arg 3 of `add_assoc_string' makes pointer from integer without a cast
sockets.c:1812: structure has no member named `msg_controllen'
sockets.c:1814: structure has no member named `msg_flags'
gmake[3]: *** [sockets.lo] Error 1
gmake[3]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext/sockets'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/Apache_New/php-4.0.4pl1/ext'
gmake: *** [all-recursive] Error 1    

-------------

 [2001-06-03 05:02 UTC] sniper@php.net
This should be fixed with PHP 4.0.6, please try the 
latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC