php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20137 conflicting types for php_read in sockets.c
Submitted: 2002-10-28 11:40 UTC Modified: 2002-10-28 12:00 UTC
From: vlcc69jfbo001 at sneakemail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4CVS-2002-10-28 OS: OpenBSD 3.1-stable
Private report: No CVE-ID: None
 [2002-10-28 11:40 UTC] vlcc69jfbo001 at sneakemail dot com
I've now been unable to compile PHP for about 10 days due 
to compilation errors (see bug 20063). That bug may now 
have been obscured by this one.

buildconf works fine (I installed bison 1.75). I'm using 
this configure (and have been for the last few months), 
which gives no complaints:

./configure --with-mysql=/usr/local --with-pdflib 
--enable-exif --with-bz2 --with-zlib --with-openssl 
--with-gettext --with-ldap --with-mhash --disable-overload 
--enable-sockets --with-vpopmail --with-mcrypt 
--enable-sysvshm --enable-pcntl 
--with-config-file-path=/var/www/conf/php43/ 
--enable-mbstring --with-pear=/usr/local/lib/php

I get this compile error on make:

gcc  -Iext/sockets/ -I/usr/local/src/php4/ext/sockets/ 
-DPHP_ATOM_INC -I/usr/local/src/php4/include 
-I/usr/local/src/php4/main -I/usr/local/src/php4 
-I/usr/local/src/php4/Zend -I/usr/local/include 
-I/usr/local/include/mysql 
-I/usr/local/src/php4/ext/xml/expat  
-I/usr/local/src/php4/TSRM  -g -O2  -c 
/usr/local/src/php4/ext/sockets/sockets.c -o 
ext/sockets/sockets.o  && echo > ext/sockets/sockets.lo
/usr/local/src/php4/ext/sockets/sockets.c:276: conflicting 
types for `php_read'
/usr/local/src/php4/ext/sockets/php_sockets.h:105: previous 
declaration of `php_read'
*** Error code 1

Stop in /usr/local/src/php4 (line 422 of Makefile).

Thanks for your attention

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-28 12:00 UTC] sander@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Aug 17 09:01:28 2024 UTC