gm2
[Top][All Lists]
Advanced

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

Re: Yet another simple program doesn't compile


From: Gaius Mulley
Subject: Re: Yet another simple program doesn't compile
Date: Tue, 06 Apr 2021 18:02:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Xavier <xbelanch@protonmail.com> writes:

> 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.

Hello Xavier,

many thanks for the email bug report - very odd this should have
worked as the link gm2 --version above predates your binary.  I'll look
into this,


regards,
Gaius



reply via email to

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