php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66767 mysqli build problem with 5.6.0 alpha2
Submitted: 2014-02-25 10:20 UTC Modified: 2014-02-25 18:00 UTC
From: dkasyanov at cloudlinux dot com Assigned: johannes (profile)
Status: Closed Package: MySQLi related
PHP Version: 5.6.0alpha2 OS: RHEL 6 / CloudLinux 6
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: dkasyanov at cloudlinux dot com
New email:
PHP Version: OS:

 

 [2014-02-25 10:20 UTC] dkasyanov at cloudlinux dot com
Description:
------------
Configure string:
./configure --with-php-config=/opt/alt/php56/usr/bin/php-config --with-mysqli=shared,/usr/bin/mysql_config --with-libdir=lib64 LDFLAGS="-lm -lpthread -ldl -L/usr/lib64/mysql -lmysqlclient" CPPFLAGS="-I/usr/include/mysql"


After configure and make I get next error:
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:683: error: conflicting types for 'mysqli_commit_or_rollback_libmysql'
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:684: note: an argument type that has a default promotion can't match an empty parameter name list declaration
/builddir/build/BUILD/php-5.6.0alpha2/ext/mysqli/mysqli_api.c:605: note: previous implicit declaration of 'mysqli_commit_or_rollback_libmysql' was here
make: *** [mysqli_api.lo] Error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-25 18:00 UTC] johannes@php.net
Fixed in this commit:
http://git.php.net/?p=php-src.git;a=commit;h=756ee95605ab0677bfd20e0d1f0ba1053b2075d7

Side note: We suggest building using mysqlnd by using --with-mysqli=shared without path.
 [2014-02-25 18:00 UTC] johannes@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: johannes
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 17:01:36 2024 UTC