ID:               22987
 User updated by:  thickerson at e-guana dot net
 Reported By:      thickerson at e-guana dot net
 Status:           Open
 Bug Type:         MySQL related
 Operating System: FreeBSD
 PHP Version:      4.3.1
 New Comment:

Whoops! 
--disable-inline-optimization 
works for the second error, sorry!


Previous Comments:
------------------------------------------------------------------------

[2003-04-01 08:47:33] thickerson at e-guana dot net

Additional comment: compiling with --disable-inline does not help the
above error with Zend.

------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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

Reply via email to