longkey1 / homebrew-deprecated-php

Deprecated PHP formulas.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error for big sar

longkey1 opened this issue · comments

$ brew reinstall php@7.1
==> Downloading https://www.php.net/distributions/php-7.1.33.tar.xz
Already downloaded: /Users/longkey1/Library/Caches/Homebrew/downloads/947253863d40b36e7d22cab588e833b5b73e03f7f17fb3c5cce4531750d09e99--php-7.1.33.tar.xz
==> Reinstalling longkey1/deprecated-php/php@7.1
==> Patching
==> ./buildconf --force
==> ./configure --prefix=/usr/local/Cellar/php@7.1/7.1.33 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/7.1 --with-config-file-path=/usr/local/etc/php/7.1 --with-config-file-scan-dir=/usr/local/etc/php/7.1/conf.d --with-pear=/usr/local/Cellar/php@7.1/7.
==> make
Last 15 lines from /Users/m-nagai/Library/Logs/Homebrew/php@7.1/03.make:
    ^
In file included from /private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/ext/intl/msgformat/msgformat_helpers.cpp:35:
In file included from /private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/ext/intl/msgformat/../common/common_date.h:23:
In file included from /private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/main/php.h:411:
In file included from /private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/Zend/zend_virtual_cwd.h:27:
In file included from /private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/TSRM/tsrm_config_common.h:13:
In file included from /private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/TSRM/tsrm_config.h:1:
/private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/main/php_config.h:2513:5: error: declaration of 'zend_sprintf' has a different language linkage
int zend_sprintf(char *buffer, const char *format, ...);
    ^
/private/tmp/php-7.1-20210310-79784-11jfbkm/php-7.1.33/main/php_config.h:2513:5: note: previous declaration is here
int zend_sprintf(char *buffer, const char *format, ...);
    ^
3 errors generated.
make: *** [ext/intl/msgformat/msgformat_helpers.lo] Error 1