From: thickerson at e-guana dot net Operating system: FreeBSD PHP version: 4.3.1 PHP Bug Type: Compile Failure Bug description: make crashes on dbug.c error
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 bug report at http://bugs.php.net/?id=22987&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22987&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22987&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22987&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22987&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22987&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22987&r=support Expected behavior: http://bugs.php.net/fix.php?id=22987&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22987&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22987&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22987&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22987&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22987&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22987&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22987&r=gnused
