[CLN-list] Issue about CLN installation

Michele Dradi michele.dradi at unimi.it
Mon Jan 15 17:03:13 CET 2024


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/cln-list/attachments/20240115/fb372d16/attachment.htm>


More information about the CLN-list mailing list