comp.lang.ada
 help / color / mirror / Atom feed
* Trouble building with gnatcoll
@ 2022-04-30  1:43 John Perry
  2022-04-30  4:30 ` John Perry
  0 siblings, 1 reply; 2+ messages in thread
From: John Perry @ 2022-04-30  1:43 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-30  4:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-30  1:43 Trouble building with gnatcoll John Perry
2022-04-30  4:30 ` John Perry

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