php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50504 build mysqli wrong
Submitted: 2009-12-17 06:47 UTC Modified: 2009-12-17 10:25 UTC
From: wangyu1314 at gmail dot com Assigned:
Status: Closed Package: MySQLi related
PHP Version: 5.2.12RC4 OS: rhel 5.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wangyu1314 at gmail dot com
New email:
PHP Version: OS:

 

 [2009-12-17 06:47 UTC] wangyu1314 at gmail dot com
Description:
------------
i biuld myself the mysql 5.5 version and it's successed.

and when i build the php 5.2.12RC4,but happened something wrong.

t/mysqli/mysqli.c -o ext/mysqli/mysqli.lo 
/usr/local/src/php-5.2.12RC4/ext/mysqli/mysqli.c: In function ??zm_startup_mysqli??:
/usr/local/src/php-5.2.12RC4/ext/mysqli/mysqli.c:637: error: ??MYSQL_RPL_MASTER?? undeclared (first use in this function)
/usr/local/src/php-5.2.12RC4/ext/mysqli/mysqli.c:637: error: (Each undeclared identifier is reported only once
/usr/local/src/php-5.2.12RC4/ext/mysqli/mysqli.c:637: error: for each function it appears in.)
/usr/local/src/php-5.2.12RC4/ext/mysqli/mysqli.c:638: error: ??MYSQL_RPL_SLAVE?? undeclared (first use in this function)
/usr/local/src/php-5.2.12RC4/ext/mysqli/mysqli.c:639: error: ??MYSQL_RPL_ADMIN?? undeclared (first use in this function)
make: *** [ext/mysqli/mysqli.lo] Error 1



Reproduce code:
---------------
build with blow:

CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -msse -msse2 -msse3 -mmmx -mfpmath=sse -march=pentium4 -pipe -fomit-frame-pointer" CXXFLAGS="-O2 -msse -msse2 -msse3 -mmmx -mfpmath=sse -funroll-loops -march=pentium4 -pipe -felide-constructors -fno-exceptions -fno-rtti -fomit-frame-pointer" './configure' '--prefix=/usr/local/webserver/php' '--with-pear=/usr/share/php' '--with-zlib-dir' '--with-bz2' '--with-libxml-dir=/usr' '--with-gd=/usr/local/webserver/gd2' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-ttf=shared,/usr' '--enable-mbstring' '--with-mysql=/usr/local/webserver/mysql' '--with-mysqli=/usr/local/webserver/mysql/bin/mysql_config' '--with-config-file-path=/etc' '--with-iconv' '--disable-ipv6' '--enable-static' '--enable-inline-optimization' '--enable-zend-multibyte' '--enable-sockets' '--with-gettext' '--enable-sysvsem' '--enable-mbregex' '--enable-fastcgi' '--enable-force-cgi-redirect' '--without-sqlite' '--disable-pdo' '--disable-reflection'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-17 10:25 UTC] uw@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC