From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ae9:e317:0:b0:69f:b249:6beb with SMTP id v23-20020ae9e317000000b0069fb2496bebmr1480699qkf.14.1651283009770; Fri, 29 Apr 2022 18:43:29 -0700 (PDT) X-Received: by 2002:a0d:ffc3:0:b0:2eb:2327:3361 with SMTP id p186-20020a0dffc3000000b002eb23273361mr2220133ywf.36.1651283009583; Fri, 29 Apr 2022 18:43:29 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 29 Apr 2022 18:43:29 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=2601:3c3:400:b30:5bbb:11d1:c956:9424; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS NNTP-Posting-Host: 2601:3c3:400:b30:5bbb:11d1:c956:9424 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Trouble building with gnatcoll From: John Perry Injection-Date: Sat, 30 Apr 2022 01:43:29 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63783 List-Id: Hello I tried to build something with GnatColl from GPS Community 2021 on Fedora 35. The linker failed, saying ld: /home/cantanima/common/Ada/Quoter/obj/gnatcoll-refcount.o: in function `gnatcoll__refcount__sync_bool_compare_and_swap': gnatcoll-refcount.adb:(.text+0x622): undefined reference to `gnatcoll_sync_bool_compare_and_swap_access' collect2: error: ld returned 1 exit status I can fix this from the command line by copying the failed command and adding ~/opt/GNAT/2021/include/gnatcoll/gnatcoll_support.c to the list of things to compile, as that's the included file with the desired function. That's awfully inconvenient, though. I guess I have something configured slightly wrong. Might anyone here have an idea? (Also posting to StackOverflow.) john perry