php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9656 make[3]: *** [sockets.lo] Error 1
Submitted: 2001-03-09 10:26 UTC Modified: 2001-04-10 11:53 UTC
From: yiannis dot neophytou at logosnet dot cy dot net Assigned:
Status: Closed Package: Sockets related
PHP Version: 4.0.4pl1 OS: Solaris 8 sparc
Private report: No CVE-ID: None
 [2001-03-09 10:26 UTC] yiannis dot neophytou at logosnet dot cy dot net
Use gcc version 2.95.2


have download the latest CVS Version (sockets.c v 1.32) and still have the same problem while 
trying to configure wih --enable-sockets.

full configure command

./configure --with-apache=../apache_1.3.19 \
--with-oracle --enable-track-vars \
--enable-sockets


sockets.c:1762: structure has no member named `msg_controllen'
sockets.c:1763: structure has no member named `msg_flags'
sockets.c:1795: structure has no member named `msg_control'
sockets.c:1796: structure has no member named `msg_controllen'
sockets.c:1798: structure has no member named `msg_control'
sockets.c:1799: structure has no member named `msg_controllen'
sockets.c:1802: structure has no member named `msg_flags'
sockets.c:1808: structure has no member named `msg_control'
sockets.c:1818: warning: passing arg 3 of `add_assoc_string' makes pointer fromt
sockets.c:1820: structure has no member named `msg_controllen'
sockets.c:1822: structure has no member named `msg_flags'
make[3]: *** [sockets.lo] Error 1
make[3]: Leaving directory `/netdev/apachesrc/php-4.0.4pl1/ext/sockets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/netdev/apachesrc/php-4.0.4pl1/ext/sockets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/netdev/apachesrc/php-4.0.4pl1/ext'
make: *** [all-recursive] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-09 13:24 UTC] sniper@php.net
You shouldn't try to change just one file from CVS snapshot
to PHP 4.0.4pl1 but use the whole CVS snapshot package.

--Jani

 [2001-03-10 06:18 UTC] yiannis dot neophytou at logosnet dot cy dot net
Hey...,
Hi there again!

Seems that the problems exists... 

Seems php4 cvs version too... Cannot be compiled
with option --enable-sockets

Wanted to know whether the problem could be fixed since we
currenlty working for a major project that need sockets support

If not we are about to abandon the php solution!!!!

Thanks 

Yiannis


Pls find below the following error messages

# make
Making all in Zend
make[1]: Entering directory `/netdev/apachesrc/php4/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/netdev/apachesrc/php4/Zend'
Making all in main
make[1]: Entering directory `/netdev/apachesrc/php4/main'
make[2]: Entering directory `/netdev/apachesrc/php4/main'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/netdev/apachesrc/php4/main'
make[1]: Leaving directory `/netdev/apachesrc/php4/main'
Making all in ext
make[1]: Entering directory `/netdev/apachesrc/php4/ext'
Making all in mysql
make[2]: Entering directory `/netdev/apachesrc/php4/ext/mysql'
Making all in libmysql
make[3]: Entering directory `/netdev/apachesrc/php4/ext/mysql/libmysql'
make[4]: Entering directory `/netdev/apachesrc/php4/ext/mysql/libmysql'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/netdev/apachesrc/php4/ext/mysql/libmysql'
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/mysql/libmysql'
make[3]: Entering directory `/netdev/apachesrc/php4/ext/mysql'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/mysql'
make[2]: Leaving directory `/netdev/apachesrc/php4/ext/mysql'
Making all in oracle
make[2]: Entering directory `/netdev/apachesrc/php4/ext/oracle'
make[3]: Entering directory `/netdev/apachesrc/php4/ext/oracle'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/oracle'
make[2]: Leaving directory `/netdev/apachesrc/php4/ext/oracle'
Making all in pcre
make[2]: Entering directory `/netdev/apachesrc/php4/ext/pcre'
Making all in pcrelib
make[3]: Entering directory `/netdev/apachesrc/php4/ext/pcre/pcrelib'
make[4]: Entering directory `/netdev/apachesrc/php4/ext/pcre/pcrelib'
make[4]: Nothing to be done for `all-p'.
make[4]: Leaving directory `/netdev/apachesrc/php4/ext/pcre/pcrelib'
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/pcre/pcrelib'
make[3]: Entering directory `/netdev/apachesrc/php4/ext/pcre'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/pcre'
make[2]: Leaving directory `/netdev/apachesrc/php4/ext/pcre'
Making all in posix
make[2]: Entering directory `/netdev/apachesrc/php4/ext/posix'
make[3]: Entering directory `/netdev/apachesrc/php4/ext/posix'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/posix'
make[2]: Leaving directory `/netdev/apachesrc/php4/ext/posix'
Making all in session
make[2]: Entering directory `/netdev/apachesrc/php4/ext/session'
make[3]: Entering directory `/netdev/apachesrc/php4/ext/session'
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/session'
make[2]: Leaving directory `/netdev/apachesrc/php4/ext/session'
Making all in sockets
make[2]: Entering directory `/netdev/apachesrc/php4/ext/sockets'
make[3]: Entering directory `/netdev/apachesrc/php4/ext/sockets'
gcc  -I. -I/netdev/apachesrc/php4/ext/sockets -I/netdev/apachesrc/php4/main -I/netdev/apachesrc/php4 -I/netdev/apachesrc/apache_1.3.19/src/include -I/netdev/apachesrc/apache_1.3.19/src/os/unix -I/netdev/apachesrc/php4/Zend -I/netdev/apachesrc/php4/ext/mysql/libmysql -I/netdev/817/app/oracle/product/8.1.7/rdbms/public -I/netdev/817/app/oracle/product/8.1.7/rdbms/demo -I/netdev/apachesrc/php4/ext/xml/expat/xmltok -I/netdev/apachesrc/php4/ext/xml/expat/xmlparse -I/netdev/apachesrc/php4/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c sockets.c && touch sockets.lo
sockets.c:118: `php_if___xnet_listen' undeclared here (not in a function)
sockets.c:118: initializer element is not constant
sockets.c:118: (near initialization for `sockets_functions[10].handler')
sockets.c:139: `php_if___xnet_socket' undeclared here (not in a function)
sockets.c:139: initializer element is not constant
sockets.c:139: (near initialization for `sockets_functions[16].handler')
sockets.c:140: `php_if___xnet_connect' undeclared here (not in a function)
sockets.c:140: initializer element is not constant
sockets.c:140: (near initialization for `sockets_functions[17].handler')
sockets.c:142: `php_if___xnet_bind' undeclared here (not in a function)
sockets.c:142: initializer element is not constant
sockets.c:142: (near initialization for `sockets_functions[19].handler')
sockets.c:146: `php_if___xnet_sendto' undeclared here (not in a function)
sockets.c:146: initializer element is not constant
sockets.c:146: (near initialization for `sockets_functions[23].handler')
sockets.c:153: `php_if___xnet_recvmsg' undeclared here (not in a function)
sockets.c:153: initializer element is not constant
sockets.c:153: (near initialization for `sockets_functions[30].handler')
sockets.c:154: `php_if___xnet_sendmsg' undeclared here (not in a function)
sockets.c:154: initializer element is not constant
sockets.c:154: (near initialization for `sockets_functions[31].handler')
sockets.c:157: `php_if___xnet_getsockopt' undeclared here (not in a function)
sockets.c:157: initializer element is not constant
sockets.c:157: (near initialization for `sockets_functions[34].handler')
sockets.c:159: `php_if___xnet_socketpair' undeclared here (not in a function)
sockets.c:159: initializer element is not constant
sockets.c:159: (near initialization for `sockets_functions[36].handler')
make[3]: *** [sockets.lo] Error 1
make[3]: Leaving directory `/netdev/apachesrc/php4/ext/sockets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/netdev/apachesrc/php4/ext/sockets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/netdev/apachesrc/php4/ext'
make: *** [all-recursive] Error 1
# 

 [2001-04-10 11:51 UTC] jason@php.net
Fixed In CVS: See comment on ( sockets.c,v 1.34 )

-Jason
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Mar 29 13:01:26 2020 UTC