php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29284 Fatal MySQL compilation error
Submitted: 2004-07-20 20:29 UTC Modified: 2005-02-22 01:00 UTC
Votes:8
Avg. Score:4.8 ± 0.7
Reproduced:7 of 7 (100.0%)
Same Version:1 (14.3%)
Same OS:5 (71.4%)
From: evan at fusion-zero dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5CVS-2004-07-20 (dev) OS: win32
Private report: No CVE-ID: None
 [2004-07-20 20:29 UTC] 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'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-20 20:43 UTC] 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.
 [2005-02-22 01:00 UTC] php-bugs at lists dot php dot net
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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC