From: evan at fusion-zero dot com Operating system: win32 PHP version: 5CVS-2004-07-20 (dev) PHP Bug Type: Compile Failure Bug description: Fatal MySQL compilation error
Description: ------------ Trying to use cscript to compile for EAPI latest snapshot after continuous failures on stable release. Ran buildconf.bat, the ran cscript with flags I to exclude problems errors, except MySQL. Then I editted the makefile CFLAGS line to include EAPI, then run nmake and it get all the way to the MySQL section or encounters a fatal error. Reproduce code: --------------- cscript configure.js --enable-prefix=\server\php\5.0.0 ----with-php-build=\build\win32build --with-mysql --enable-sockets --without-iconv --without-libxml --without-gd --enable-apache Expected result: ---------------- A successful compilation of PHP Actual result: -------------- "cl.exe" /I "..\win32build\include" /D COMPILE_DL_MYSQL /D MYSQL_EXPORTS=1 /nologo /YX /FD /I . /I main /I regex /I Zend /I TSRM /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /LD /MD /W3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GB /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "..\win32build\include" /FoRelease_TS\ext\mysql\ /FdRelease_TS\ext\mysql\ /FpRelease_TS\ext\mysql\ /FRRelease_TS\ext\mysql\ -c ext\mysql\php_mysql.c -o Release_TS\ext\mysql\php_mysql.obj php_mysql.c ext\mysql\php_mysql.c(382) : error C2065: 'CLIENT_INTERACTIVE' : undeclared identifier ext\mysql\php_mysql.c(1124) : warning C4013: 'mysql_character_set_name' undefined; assuming extern returning int ext\mysql\php_mysql.c(1711) : warning C4013: 'mysql_real_escape_string' undefined; assuming extern returning int NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' -- Edit bug report at http://bugs.php.net/?id=29284&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29284&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29284&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29284&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29284&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29284&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29284&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29284&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29284&r=support Expected behavior: http://bugs.php.net/fix.php?id=29284&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29284&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29284&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29284&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29284&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29284&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29284&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29284&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29284&r=float