PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #9664 Unable to make , related to bug 8468 i think
Submitted:9 Mar 2001 4:24pm UTC Modified: 10 Apr 2001 11:50am UTC
From:yavo at itena dot com dot cy Assigned to:
Status:Closed Category:Sockets related
Version:4.0.4 OS:Solaris 8
View/Vote Developer Edit Submission

Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can not add a comment to this report as it is marked as closed. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Category:
Summary:
From: yavo at itena dot com dot cy
New email:
Version: OS:
New Comment:

[9 Mar 2001 4:24pm UTC] yavo at itena dot com dot cy
My enviroment
 Solaris 8
 Gnu gcc
 
 compile options ./configure --enable-sockets

This bug occured to some one and he asked me to look in to it. I tried
it on another machine same enviroment and got the same problem. A search
revealed a similar ( i think ) bug with id 8468 .

This is the dump of the error.

Making all in sockets
gcc  -I. -I/people/yavo/work/php-4.0.4/ext/sockets
-I/people/yavo/work/php-4.0.4/main -I/people/yavo/work/php-4.0.4
-I/people/yavo/work/php-4.0.4/Zend
-I/people/yavo/work/php-4.0.4/ext/mysql/libmysql
-I/people/yavo/work/php-4.0.4/ext/xml/expat/xmltok
-I/people/yavo/work/php-4.0.4/ext/xml/expat/xmlparse
-I/people/yavo/work/php-4.0.4/TSRM  -D_POSIX_PTHREAD_SEMANTICS
-DXML_BYTE_ORDER=12 -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')
*** Error code 1
make: Fatal error: Command failed for target `sockets.lo'
Current working directory /people/yavo/work/php-4.0.4/ext/sockets
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /people/yavo/work/php-4.0.4/ext/sockets
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /people/yavo/work/php-4.0.4/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
[yavo@crayxmp php-4.0.4]$ 
[9 Mar 2001 6:46pm UTC] sniper@php.net
Please try the latest CVS snapshot from http://snaps.php.net/ as there
have been some fixes for this.

--Jani
[9 Mar 2001 7:28pm UTC] yavo at itena dot com dot cy
Hi Jani,

Prior to submiting this bug I tried two things first I applied the
pathch in bug 8468, next I got the latest cvs snapshot as of 5-6 hours
before this post and replased all files in the ext/sockets dir with the
files from the snapshot. As this is clearly a socket extention problem I
didn't replace any other files. Do you thinkit would make any sence to
replace any other files.

-- yavo
[9 Mar 2001 7:29pm UTC] yavo at itena dot com dot cy
Hi Jani,

Prior to submiting this bug I tried two things first I applied the
pathch in bug 8468, next I got the latest cvs snapshot as of 5-6 hours
before this post and replased all files in the ext/sockets dir with the
files from the snapshot. As this is clearly a socket extention problem I
didn't replace any other files. Do you thinkit would make any sence to
replace any other files.

-- yavo
[9 Mar 2001 8:10pm UTC] sniper@php.net
Yes, you should try with the whole CVS snapshot and 
not try to replace any files from it in PHP 4.0.4.

--Jani
[9 Mar 2001 8:16pm UTC] yavo at itena dot com dot cy
Ok I'really hate to be a nag, but just finished compiling the latest cvs
snapshot, it's still the same error. I wonder if im missing a library.
Which libs does the socket extention use.

BTW Thanks for your so imadiate response.

-- yavo
[9 Mar 2001 8:24pm UTC] sniper@php.net
You're not missing any libraries..FYI: The sockets extension is still
EXPERIMENTAL, ie. it's not very stable yet. 
This is yet another bug in it. Have you tried compiling it with the
Solaris Workshop CC ???

--Jani
[9 Mar 2001 8:47pm UTC] yavo at itena dot com dot cy
Ok I'really hate to be a nag, but just finished compiling the latest cvs
snapshot, it's still the same error. I wonder if im missing a library.
Which libs does the socket extention use.

BTW Thanks for your so imadiate response.

-- yavo
[9 Mar 2001 9:03pm UTC] yavo at itena dot com dot cy
No but it's my understanding that this (SOlaris Workishop CC) is a
commersial product which you have to buy from solaris. I'm right.

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

-Jason

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC