gm2
[Top][All Lists]
Advanced

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

Linker errors - gm2 on Ubuntu Jammy


From: Rob Malpass
Subject: Linker errors - gm2 on Ubuntu Jammy
Date: Thu, 29 Feb 2024 11:51:38 +0000

Hi all

First post here.   I've been looking for a m2 compiler for a bit of nostalgia after 30+ years since I did m2 at Uni.

Trouble is, I'm compiling a very simple m2 program with no calls to any libraries at present: a simple MODULE test; BEGIN END test. and it's throwing out:
gm2 -I /usr/lib/gcc/x86_64-linux-gnu/11/m2/m2log,/usr/lib/gcc/x86_64-linux-gnu/11/m2/m2cor test.mod
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/m2/m2pim/libm2pim.so: undefined reference to `RTco_select'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/m2/m2pim/libm2pim.so: undefined reference to `RTco_initSemaphore'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/m2/m2pim/libm2pim.so: undefined reference to `RTco_wait'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/m2/m2pim/libm2pim.so: undefined reference to `RTco_signal'

It seems (sorry if I'm wrong) that there are 5 "flavours" of library (pim, cor, iso etc) so I've tried it with -I followed by each and a combination of all.   It would appear from the ld errors that it's something more  fundamental than just that.

FWIW I installed it very simply with sudo apt install gm2 on Ubuntu Jammy and the install didn't create any errors.

I suspect it's something obvious but grateful for any help.

Thx
R


reply via email to

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