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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fin.terlu.de%2F~kreckel%2F&data=05%7C02%7Cmichele.dradi%40unimi.it%7C895299f00a3a4752637f08dc160796bd%7C13b55eef70184674a3d7cc0db06d545c%7C0%7C0%7C638409469165385098%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C83000%7C%7C%7C&sdata=CNIjSeWKQzjbKXV0szNxnQCKQ%2BtTjjjQewPFevW5A6Y%3D&reserved=0>
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
_______________________________________________
CLN-list mailing list
CLN-list@ginac.de
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ginac.de%2Fmailman%2Flistinfo%2Fcln-list&data=05%7C02%7Cmichele.dradi%40unimi.it%7C895299f00a3a4752637f08dc160796bd%7C13b55eef70184674a3d7cc0db06d545c%7C0%7C0%7C638409469165385098%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C83000%7C%7C%7C&sdata=AnoxLkfsXAYAqhJPxypA6VSxH1C4o6DdDRoRYDHsB4M%3D&reserved=0