ID:               29284
 User updated by:  evan at fusion-zero dot com
 Reported By:      evan at fusion-zero dot com
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: win32
 PHP Version:      5CVS-2004-07-20 (dev)
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to