|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-11-14 09:53 UTC] remi@php.net
-Assigned To:
+Assigned To: remi
[2014-11-14 09:53 UTC] remi@php.net
-Status: Assigned
+Status: Closed
[2014-11-14 09:53 UTC] remi@php.net
[2014-11-19 18:50 UTC] leigh@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 09:00:02 2025 UTC |
Description: ------------ Can't build --with-gmp on centos5. There is gmp.x86_64 4.1.4-10.el5 build error: too few arguments to function ‘__gmp_randinit_lc_2exp’ static void gmp_init_random(TSRMLS_D) ... #if GMP_42_OR_NEWER gmp_randinit_mt(GMPG(rand_state)); #else gmp_randinit_lc_2exp(GMPG(rand_state), 32L); << this line #endif ... last 5.4.35 5.5.19 and previous PHP 5.6.2 versions are ok centos6 (gmp-4.3.1-7.el6_2.2.x86_64) builds without problem Test script: --------------- ./configure ... --with-gmp ... && make .... /usr/src/php-5.6.3/ext/gmp/gmp.c: In function ‘gmp_init_random’: /usr/src/php-5.6.3/ext/gmp/gmp.c:1779: warning: passing argument 2 of ‘__gmp_randinit_lc_2exp’ makes pointer from integer without a cast /usr/src/php-5.6.3/ext/gmp/gmp.c:1779: error: too few arguments to function ‘__gmp_randinit_lc_2exp’