php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22987 make crashes on dbug.c error
Submitted: 2003-03-31 12:15 UTC Modified: 2003-04-01 09:38 UTC
From: thickerson at e-guana dot net Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.3.2-RC OS: FreeBSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: thickerson at e-guana dot net
New email:
PHP Version: OS:

 

 [2003-03-31 12:15 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-31 17:52 UTC] 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-04-01 08:30 UTC] 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-04-01 09:09 UTC] thickerson at e-guana dot net
Whoops! 
--disable-inline-optimization 
works for the second error, sorry!
 [2003-04-01 09:38 UTC] sniper@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: Fri Mar 29 00:01:28 2024 UTC