php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19731 Compiler fails with --enable-sockets flag
Submitted: 2002-10-03 03:08 UTC Modified: 2002-11-26 19:58 UTC
From: smarszalek at fortech dot krakow dot pl Assigned:
Status: No Feedback Package: Sockets related
PHP Version: 4.2.0 OS: SCO 5.0.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: smarszalek at fortech dot krakow dot pl
New email:
PHP Version: OS:

 

 [2002-10-03 03:08 UTC] smarszalek at fortech dot krakow dot pl
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-03 05:16 UTC] mfischer@php.net
Please try a newer version (either 4.2.3 or more preferable the NON-stable snapshot from snaps.php.net)
 [2002-10-03 06:12 UTC] smarszalek at fortech dot krakow dot pl
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-04 01:54 UTC] smarszalek at fortech dot krakow dot pl
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
 [2002-11-16 01:11 UTC] sniper@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

Please try the more recent snapshot.

 [2002-11-26 19:58 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 19:03:40 2021 UTC