Re: Compile fail on macos big sur

2021-09-23 Thread zhang listar
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, zhang listar

Re: Compile fail on macos big sur

2021-09-23 Thread Sergey Shinderuk
On 23.09.2021 10:50, zhang listar wrote: > Thanks for your reply, I do make distclean and git clean -fdx, but it > does no help. > > the code: master, c7aeb775df895db240dcd6f47242f7e08899adfb > It looks like the macos issue, because of the ignoring of some lib, it > drives the compiling error. 

Re: Compile fail on macos big sur

2021-09-23 Thread zhang listar
Thanks for your reply, I do make distclean and git clean -fdx, but it does no help. the code: master, c7aeb775df895db240dcd6f47242f7e08899adfb It looks like the macos issue, because of the ignoring of some lib, it drives the compiling error. Sergey Shinderuk 于2021年9月23日周四 下午3:35写道: > Hi, > >

Re: Compile fail on macos big sur

2021-09-23 Thread Sergey Shinderuk
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 Catalina (yes, it's time to upgrade) and it

Compile fail on macos big sur

2021-09-23 Thread zhang listar
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