#29284 [Fbk->NoF]: Fatal MySQL compilation error
| From: | php-bugs at lists dot php dot net | Date: | Tue, 22 Feb 2005 00:00:07 +0000 |
| Subject: | #29284 [Fbk->NoF]: Fatal MySQL compilation error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74390@lists.php.net to get a copy of this message | ||
ID: 29284
Updated by: php-bugs@lists.php.net
Reported By: evan at fusion-zero dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Compile Failure
Operating System: win32
PHP Version: 5CVS-2004-07-20 (dev)
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2005-02-15 00:57:09] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
------------------------------------------------------------------------
[2004-07-20 20:43:51] evan at fusion-zero dot com
For the description, a little better English.
Trying to use cscript to compile with EAPI using the latest snapshot
after continuous failures on the stable release.
Ran buildconf.bat, then ran cscript with flags to exclude errors,
except MySQL.
Then I editted the makefile CFLAGS line to include EAPI, then run
nmake
and it got all the way to the MySQL section and encounters a fatal
error.
------------------------------------------------------------------------
[2004-07-20 20:29:56] evan at fusion-zero dot com
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 this bug report at http://bugs.php.net/?id=29284&edit=1