[CLN-list] Issue about CLN installation

Richard B. Kreckel kreckel at in.terlu.de
Mon Jan 15 21:21:33 CET 2024


Hi Michele,

This should be fixed in the current git tree. Please give it a try.
I'll release this as 1.3.7 and upload new tarballs really soon now.

   -richy.
-- 
Richard B. Kreckel
<https://in.terlu.de/~kreckel/>

On 1/15/24 17:03, Michele Dradi wrote:
> Hello to everybody, I don't know if the CLN mail list can be used also 
> as help forum, if this is not the case I'm sorry for this spam.
> 
> 
> I'm writing this email because I have encountered an error that I'm not 
> able to solve when running the make command in the installation 
> procedure of cln-1.3.6. I'm currently using macOS Sonoma 14.2.1 with M2.
> 
> 
> The problem is that when I run make I obtain the error
> 
> 
> base/low/cl_low_div.cc:13:8: error: declaration of 'divu_16_rest' in 
> global scope conflicts with declaration with C language linkage uint16 
> divu_16_rest; ^ ./base/cl_low.h:447:21: note: declared with C language 
> linkage here extern "C" uint16 divu_16_rest; // -> Rest r ^ 
> base/low/cl_low_div.cc:104:8: error: declaration of 'divu_32_rest' in 
> global scope conflicts with declaration with C language linkage uint32 
> divu_32_rest; ^ ./base/cl_low.h:597:21: note: declared with C language 
> linkage here extern "C" uint32 divu_32_rest; // -> Rest r ^ 
> base/low/cl_low_div.cc:210:8: error: declaration of 'divu_64_rest' in 
> global scope conflicts with declaration with C language linkage uint64 
> divu_64_rest; ^ ./base/cl_low.h:987:21: note: declared with C language 
> linkage here extern "C" uint64 divu_64_rest; // -> Rest r ^ 3 errors 
> generated. make[1]: *** [base/low/cl_low_div.lo] Error 1 make: *** 
> [all-recursive] Error 1
> 
> 
> It seems that the installation is in conflict with my c++ compiler, that 
> is gcc with version
> 
> Apple clang version 15.0.0 (clang-1500.1.0.2.5)
> 
> Target: arm64-apple-darwin23.2.0
> 
> Thread model: posix
> 
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> 
> 
> Unfortunately, I don't know how to solve and install cln.
> 
> Thanks to everybody,
> 
> Michele Dradi



More information about the CLN-list mailing list