[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:
but I just get a timeout error.
Thanks for any help.
Jack
--
Sent with Tutanota, enjoy secure & ad-free emails.
- Example compile and link failed (gm2-10),
Jack Dawkins <=