gm2
[Top][All Lists]
Advanced

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

Yet another simple program doesn't compile


From: Xavier
Subject: Yet another simple program doesn't compile
Date: Mon, 05 Apr 2021 20:47:28 +0000

Yello Modula-2 mailing list

Trying to play some Modula-2 programming after several years I found this awesome project. I try to compile a simple hello.mod example program but I get this linker errors:

$ cat minimal.mod
MODULE minimal ;

BEGIN

END minimal.

$ gm2 minimal.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

I read (https://lists.nongnu.org/archive/html/gm2/2020-11/msg00000.html) that this issue was fixed I guess.

I use gcc version 10.2.1 20210110 (Debian 10.2.1-6)
$ gm2 --version
gm2 (Debian 10.2.1-6) 10.2.1 20210110

Thanks in advance,

Xavier


Sent with ProtonMail Secure Email.


reply via email to

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