#22987 [Opn->Csd]: make crashes on dbug.c error
| From: | sniper@php.net | Date: | Tue, 01 Apr 2003 15:38:41 +0000 |
| Subject: | #22987 [Opn->Csd]: make crashes on dbug.c error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36930@lists.php.net to get a copy of this message | ||
ID: 22987
Updated by: sniper@php.net
Reported By: thickerson at e-guana dot net
-Status: Open
+Status: Closed
Bug Type: MySQL related
Operating System: FreeBSD
-PHP Version: 4.3.1
+PHP Version: 4.3.2-RC
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:
------------------------------------------------------------------------
[2003-04-01 09:09:23] thickerson at e-guana dot net
Whoops!
--disable-inline-optimization
works for the second error, sorry!
------------------------------------------------------------------------
[2003-04-01 08:30:39] thickerson at e-guana dot net
Compiling the latest snapshot works only if you modify
main/php_config.h and add the line
#define HAVE_PERROR
I now get another error on make, which may be related to my own system
and unrelated to this bug:
gcc -IZend/
-I/usr/home/eguana2/usr/local/php4-STABLE-200304011230/Zend/
-DPHP_ATOM_INC
-I/usr/home/eguana2/usr/local/php4-STABLE-200304011230/include
-I/usr/home/eguana2/usr/local/php4-STABLE-200304011230/main
-I/usr/home/eguana2/usr/local/php4-STABLE-200304011230
-I/usr/home/eguana2/usr/local/php4-STABLE-200304011230/Zend
-I/usr/home/eguana2/usr/local/php4-STABLE-200304011230/ext/xml/expat
-I/usr/home/eguana2/usr/local/php4-STABLE-200304011230/TSRM -g -O2 -c
/usr/home/eguana2/usr/local/php4-STABLE-200304011230/Zend/zend_execute.c
-o Zend/zend_execute.o && echo > Zend/zend_execute.lo
/usr/home/eguana2/usr/local/php4-STABLE-200304011230/Zend/zend_execute.c:
In function `execute':
/usr/home/eguana2/usr/local/php4-STABLE-200304011230/Zend/zend_execute.c:2494:
virtual memory exhausted
*** Error code 1
------------------------------------------------------------------------
[2003-03-31 17:52:50] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
If the snapshot fails too, check the line in main/php_config.h with
HAVE_PERROR.
------------------------------------------------------------------------
[2003-03-31 12:15:45] thickerson at e-guana dot net
After running configure --with-java=<local j2sdk dir/bin>, I try to
make and get the following error:
gcc -I/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql
-Iext/mysql/ -I/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/
-DPHP_ATOM_INC -I/usr/home/eguana2/usr/local/php-4.3.1/include
-I/usr/home/eguana2/usr/local/php-4.3.1/main
-I/usr/home/eguana2/usr/local/php-4.3.1
-I/usr/home/eguana2/usr/local/php-4.3.1/Zend
-I/usr/home/eguana2/usr/local/php-4.3.1/ext/xml/expat
-I/usr/home/eguana2/usr/local/php-4.3.1/TSRM -g -O2 -c
/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql/dbug.c -o
ext/mysql/libmysql/dbug.o && echo > ext/mysql/libmysql/dbug.lo
In file included from
/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql/dbug.c:72:
/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql/global.h:260:
warning: redefinition of `uint'
/usr/include/sys/types.h:57: warning: `uint' previously declared here
/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql/global.h:261:
warning: redefinition of `ushort'
/usr/include/sys/types.h:56: warning: `ushort' previously declared
here
/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql/dbug.c:1906:
warning: static declaration for `perror' follows non-static
/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql/dbug.c: In
function `perror':
/usr/home/eguana2/usr/local/php-4.3.1/ext/mysql/libmysql/dbug.c:1907:
argument `s' doesn't match prototype
/usr/include/stdio.h:227: prototype declaration
*** Error code 1
I've found several reports on this problem, but no answers. What is
the nature of my problem?
Thanks,
Tom Hickerson, e-guana.net
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22987&edit=1