#20137 [Opn->Csd]: conflicting types for php_read in sockets.c
| From: | sander@php.net | Date: | Mon, 28 Oct 2002 18:00:38 +0000 |
| Subject: | #20137 [Opn->Csd]: conflicting types for php_read in sockets.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23583@lists.php.net to get a copy of this message | ||
ID: 20137
Updated by: sander@php.net
Reported By: vlcc69jfbo001@sneakemail.com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: OpenBSD 3.1-stable
PHP Version: 4CVS-2002-10-28
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-10-28 11:40:02] vlcc69jfbo001@sneakemail.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20137&edit=1