ID: 22987 Updated by: [EMAIL PROTECTED] Reported By: thickerson at e-guana dot net -Status: Open +Status: Feedback -Bug Type: Compile Failure +Bug Type: MySQL related Operating System: FreeBSD PHP Version: 4.3.1 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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