Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14405 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69525 invoked by uid 1010); 20 Jan 2005 00:54:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69075 invoked from network); 20 Jan 2005 00:54:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2005 00:54:32 -0000 X-Host-Fingerprint: 64.233.170.202 rproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.170.202:37022] helo=rproxy.gmail.com) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id 32/29-04164-7410FE14 for ; Wed, 19 Jan 2005 19:54:31 -0500 Received: by rproxy.gmail.com with SMTP id i8so22510rne for ; Wed, 19 Jan 2005 16:54:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=M179pTUP4z9sNbktHfNPlYkCmOtNSWp4wdYVzHufWs6NKrxPx6ooo7BMb8m+iRB1nAeNNZP6OAPkBfKvohCi1eZ8SuktMde14qKMMh1qYJY/NdoqmJxr41MmeXS5Nsg82WIVfP6DuT/4H9cRCNuaD1aVZWLm+MK0/qptqbKoGP0= Received: by 10.38.99.37 with SMTP id w37mr33657rnb; Wed, 19 Jan 2005 16:54:26 -0800 (PST) Received: by 10.38.101.80 with HTTP; Wed, 19 Jan 2005 16:54:26 -0800 (PST) Message-ID: <1c9889d105011916546c69af4e@mail.gmail.com> Date: Wed, 19 Jan 2005 16:54:26 -0800 Reply-To: InsaneToucan To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: MySQLi compilation problem From: insanetoucan@gmail.com (InsaneToucan) I am trying to compile PHP5.0.3 with MySQLi extension and I get the follow error when I do --with-mysqli: Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. "cl.exe" /D _USRDLL /D PHP5DLLTS_EXPORTS /D PHP_EXPORTS /D LIBZEND_EXPOR TS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x400 /DHAVE_NEWAPIS_H=1 -Iext/bcma th/libbcmath/src /I "C:\php-5.0.3\php_build\win32build\include" /I "C:\php-5 .0.3\php_build\win32build\include" -DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_ THRESHOLD=10 -Iext/pcre/pcrelib -DNO_RECURSE /D PHP_SQLITE_EXPORTS /I ext\sqli te/libsqlite/src /D ZLIB_EXPORTS /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 /W 3 /Ox /D NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GB /GF /D ZEND_DEBUG=0 /D ZTS=1 /I "C:\php-5.0.3\php_build\win32build\include" /D FD_SETSIZE=256 /FoRelea se_TS\main\ /FdRelease_TS\main\ /FpRelease_TS\main\ /FRRelease_TS\main\ -c main\ internal_functions.c -o Release_TS\main\internal_functions.obj internal_functions.c ext\mysqli\php_mysqli.h(48) : error C2061: syntax error : identifier 'MYSQL_STMT ' ext\mysqli\php_mysqli.h(52) : error C2059: syntax error : '}' ext\mysqli\php_mysqli.h(85) : error C2065: 'LOCAL_INFILE_ERROR_LEN' : undeclared identifier ext\mysqli\php_mysqli.h(85) : error C2057: expected constant expression ext\mysqli\php_mysqli.h(86) : error C2229: struct '__unnamed' has an illegal zer o-sized array ext\mysqli\php_mysqli.h(113) : error C2143: syntax error : missing ')' before '* ' ext\mysqli\php_mysqli.h(113) : error C2143: syntax error : missing '{' before '* ' ext\mysqli\php_mysqli.h(113) : error C2059: syntax error : ')' C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WS2tc pip.h(647) : warning C4142: benign redefinition of type NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2' Stop. However, I do have the updated MySQL libs in the lib/ folder. I tried doing --with-mysql --with-mysqli to see if it that worked, but it didn't work either. TIA