gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Example compile and link failed (gm2-10)


From: Jack Dawkins
Subject: Example compile and link failed (gm2-10)
Date: Tue, 20 Dec 2022 09:50:20 +0100 (CET)

Hi,

I'm using a distro based on Debian stable and having installed gm2-10 using apt I get the following error messages referencing the pim library when compiling the "hello world" example :

$ gm2 -g hello.mod
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_select'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_initSemaphore'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_wait'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/m2/m2pim/libm2pim.so: undefined reference to `RTco_signal'
collect2: error: ld returned 1 exit status

Three files are generated : hello.o, hello_m2.cpp, and hello_m2.o.

Also, not having much luck so far obtaining gm2 from git. Have tried several times downloading from:

git clone http://floppsie.comp.glam.ac.uk/gm2 gm2-floppsie

but I just get a timeout error.

Thanks for any help.
Jack


--
Sent with Tutanota, enjoy secure & ad-free emails.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]