ID: 19731
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: Sockets related
Operating System: SCO 5.0.5
PHP Version: 4.2.0
New Comment:
Version php4-latest (php4-200210030300) :
cc -Iext/sockets/ -I/u/stan/x/php4-200210030300/ext/sockets/
-DPHP_ATOM_INC-I/u/stan/x/php4-200210030300/include
-I/u/stan/x/php4-200210030300/main -I/u/san/x/php4-200210030300
-I/u/stan/x/php4-200210030300/Zend
-I/u/stan/x/php4-20020030300/ext/xml/expat
-I/u/stan/x/php4-200210030300/TSRM -g -belf -c
/u/stanx/php4-200210030300/ext/sockets/sockets.c -o
ext/sockets/sockets.o && echo > et/sockets/sockets.lo
"/u/stan/x/php4-200210030300/main/php_streams.h", line 311: warning: no
macro rplacement within a string literal
"/u/stan/x/php4-200210030300/main/php_streams.h", line 312: warning: no
macro rplacement within a string literal
"/usr/include/sys/regset.h", line 41: error: (struct) tag redeclared:
_fpstate
"/u/stan/x/php4-200210030300/ext/sockets/sockets.c", line 263: warning:
argumen is incompatible with prototype: arg #3
"/u/stan/x/php4-200210030300/ext/sockets/sockets.c", line 383: error:
undefined symbol: h_errno
"/u/stan/x/php4-200210030300/ext/sockets/sockets.c", line 831: warning:
argumen is incompatible with prototype: arg #3
Previous Comments:
------------------------------------------------------------------------
[2002-10-03 07:55:31] [EMAIL PROTECTED]
And http://snaps.php.net/php4-latest.tar.bz2 ?
------------------------------------------------------------------------
[2002-10-03 06:12:59] [EMAIL PROTECTED]
Version 4.2.3
cc -I. -I/u/stan/x/php-4.2.3/ext/sockets -I/u/stan/x/php-4.2.3/main
-I/u/stan/x/php-4.2.3 -I/u/stan/x/php-4.2.3/Zend
-I/home/informix/incl/esql -I/home/informix/incl/tools
-I/u/stan/x/php-4.2.3/ext/xml/expat -I/u/stan/x/php-4.2.3/TSRM -g
-belf -c sockets.c && touch sockets.lo
"/usr/include/sys/regset.h", line 41: error: (struct) tag redeclared:
_fpstate
"sockets.c", line 259: warning: argument is
incompatible with prototype: arg #3
"sockets.c", line 367:
error: undefined symbol: h_errno "sockets.c",
line 775: warning: argument is incompatible with prototype: arg #3
------------------------------------------------------------------------
[2002-10-03 05:16:38] [EMAIL PROTECTED]
Please try a newer version (either 4.2.3 or more preferable the
NON-stable snapshot from snaps.php.net)
------------------------------------------------------------------------
[2002-10-03 03:08:55] [EMAIL PROTECTED]
Configuration options:
./configure --prefix=$DIR --with-informix=$INFORMIXDIR --without-mysql
--enable-short-tags --enable-magic-quotes --enable-bcmath
--enable-posix --enable-session --enable-debug --enable-discard-path
--enable-force-cgi-redirect --enable-safe-mode --enable-sysvsem
--enable-sysvshm --enable-trans-sid --enable-sockets
Compilation :
make[1]: Entering directory `/u/stan/x/php-4.2.0/ext/sockets' cc -I.
-I/u/stan/x/php-4.2.0/ext/sockets -I/u/stan/x/php-4.2.0/main
-I/u/stan/x/php-4.2.0 -I/u/stan/x/php-4.2.0/Zend
-I/home/informix/incl/esql -I/home/informix/incl/tools
-I/u/stan/x/php-4.2.0/ext/xml/expat -I/u/stan/x/php-4.2.0/TSRM -g -belf
-c sockets.c && touch sockets.lo
"sockets.c", line 1603: error: undefined symbol: h_errno
"sockets.c", line 1607: warning: assignment type mismatch
"sockets.c", line 1635: warning: assignment type mismatch
"sockets.c", line 1677: warning: argument is incompatible with
prototype: arg #5
"sockets.c", line 1694: warning: argument is incompatible with
prototype: arg #5
"sockets.c", line 1710: warning: argument is incompatible with
prototype: arg #5
make[1]: *** [sockets.lo] Error 1
make[1]: Leaving directory `/u/stan/x/php-4.2.0/ext/sockets'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19731&edit=1