comp.lang.ada
 help / color / mirror / Atom feed
From: John Perry <devotus@yahoo.com>
Subject: Trouble building with gnatcoll
Date: Fri, 29 Apr 2022 18:43:29 -0700 (PDT)	[thread overview]
Message-ID: <de49cc32-40b7-45bc-b318-a83568d79b0en@googlegroups.com> (raw)

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

             reply	other threads:[~2022-04-30  1:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-30  1:43 John Perry [this message]
2022-04-30  4:30 ` Trouble building with gnatcoll John Perry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox