gm2
[Top][All Lists]
Advanced

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

Compilation error on Debian


From: Holger Peters
Subject: Compilation error on Debian
Date: Sun, 2 May 2021 19:41:55 +0000

Hi,

I am having trouble compiling a simple program, I guess it fails in the linking 
step


        % cat hello.mod
        MODULE hello;
        FROM StrIO IMPORT WriteString, WriteLn;
        BEGIN
                WriteString('hello world');
                WriteLn
        END hello.


Here is how I try to compile and link it

        % gm2 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


I guess you are also interested in the gm2 version

        % gm2 --version
        gm2 (Debian 10.2.1-6) 10.2.1 20210110



Any ideas? Pointers?


Holger


reply via email to

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