Thanks. It is the binuitls problem. I do "brew uninstall binutils" and
compile successfully.
Actually it is the lib $(which ranlib) -V problem.
The similar issue here: https://github.com/bitcoin/bitcoin/issues/20825
Sergey Shinderuk 于2021年9月23日周四 下午4:03写道:
> On 23.09.2021 10:50,
Hi,
>
> On 23.09.2021 10:09, zhang listar wrote:
> > Hi, guys, I encount a problem on compiling pssql, the environment is:
> > os: macos big sur version 11.5.2 (20G95)
> > compiler: gcc-11 (Homebrew GCC 11.2.0) 11.2.0
>
> I've just tried building with gcc-11 on Catalin
Hi, guys, I encount a problem on compiling pssql, the environment is:
os: macos big sur version 11.5.2 (20G95)
compiler: gcc-11 (Homebrew GCC 11.2.0) 11.2.0
error message:
/usr/local/bin/gcc-11 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Werror=vla -Wendif-labels
-Wmi