Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57468 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32132 invoked from network); 21 Jan 2012 21:10:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2012 21:10:16 -0000 Authentication-Results: pb1.pair.com header.from=chris_se@gmx.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=chris_se@gmx.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.net designates 213.165.64.23 as permitted sender) X-PHP-List-Original-Sender: chris_se@gmx.net X-Host-Fingerprint: 213.165.64.23 mailout-de.gmx.net Received: from [213.165.64.23] ([213.165.64.23:60947] helo=mailout-de.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A4/43-21061-2B92B1F4 for ; Sat, 21 Jan 2012 16:10:15 -0500 Received: (qmail invoked by alias); 21 Jan 2012 21:10:06 -0000 Received: from arafel.iwakd.de (EHLO arafel.iwakd.de) [78.46.72.57] by mail.gmx.net (mp003) with SMTP; 21 Jan 2012 22:10:06 +0100 X-Authenticated: #186999 X-Provags-ID: V01U2FsdGVkX1/KuXR95WfK4WtGHebuP7PbNT6T3N4hsI/TegbxZS R2pN46DIsl6dYk Received: from [192.168.0.185] (HSI-KBW-149-172-170-177.hsi13.kabel-badenwuerttemberg.de [149.172.170.177]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arafel.iwakd.de (Postfix) with ESMTPSA id CAB7B40024 for ; Sat, 21 Jan 2012 22:10:05 +0100 (CET) Message-ID: <4F1B29A7.5070803@gmx.net> Date: Sat, 21 Jan 2012 22:09:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111123 Thunderbird/7.0.1 MIME-Version: 1.0 To: PHP Internals Content-Type: multipart/mixed; boundary="------------060805010101060603080800" X-Y-GMX-Trusted: 0 Subject: [Windows] Error Building PHP 5.4 NTS Debug Version, mysqlnd From: chris_se@gmx.net (Christian Seiler) --------------060805010101060603080800 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hi, I was compiling PHP 5.4 SVN for Windows and noticed that the NTS Debug version does not compile correctly if mysqlnd is enabled. The ZTS Debug, ZTS Release and NTS Release versions work without any problems. Also, PHP 5.3 in all 4 variants (Debug/Release, NTS/ZTS) has no problems. I've attached the error messages I got as a text file, I apologize in advance for the German error messages, the Visual Studio version I have I have no idea how to make it output English messages. (There appears to be no LC_ALL=C in Windows.) However, it should be easy to search for the corresponding error message IDs if you have trouble understanding the messages. To summarize the error, it chokes on the following statements: mysqlnd_driver.c, 100: DBG_ENTER("mysqlnd_error_list_pdtor"); mysqlnd_driver.c, 104: DBG_VOID_RETURN; Since I have no idea whatsoever about the internals of mysqlnd, I'm posting this to the list. Regards, Christian --------------060805010101060603080800 Content-Type: text/plain; name="php-mysqlnd-errors.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="php-mysqlnd-errors.txt" d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2143: Syntaxfehler: Es fehlt ';' vor 'Typ' d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2275: 'uint64_t': Ungültige Verwendung dieses Typs als Ausdruck d:\php-sdk\php54dev\vc9\x86\php5.4-svn\win32\php_stdint.h(87): Siehe Deklaration von 'uint64_t' d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner '__dbg_prof_start' d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2065: '__dbg_prof_start': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2275: 'zend_bool': Ungültige Verwendung dieses Typs als Ausdruck d:\php-sdk\php54dev\vc9\x86\php5.4-svn\zend\zend_types.h(25): Siehe Deklaration von 'zend_bool' d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'dbg_skip_trace' d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2065: 'dbg_skip_trace': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2065: 'dbg_skip_trace': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : warning C4133: 'Funktion': Inkompatible Typen - von 'int *' zu 'timeval *' d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2065: '__dbg_prof_start': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2224: Der linke Teil von '.tv_sec' muss eine Struktur/Union sein d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(100) : error C2224: Der linke Teil von '.tv_usec' muss eine Struktur/Union sein d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : warning C4133: 'Funktion': Inkompatible Typen - von 'int *' zu 'timeval *' d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : error C2224: Der linke Teil von '.tv_sec' muss eine Struktur/Union sein d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : error C2065: '__dbg_prof_tp': nichtdeklarierter Bezeichner d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : error C2224: Der linke Teil von '.tv_usec' muss eine Struktur/Union sein d:\php-sdk\php54dev\vc9\x86\php5.4-svn\ext\mysqlnd\mysqlnd_driver.c(104) : error C2065: '__dbg_prof_start': nichtdeklarierter Bezeichner --------------060805010101060603080800--