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: Xavier
Subject: Re: Yet another simple program doesn't compile
Date: Tue, 06 Apr 2021 17:21:15 +0000

Thanks Gaius,

Just another info I missed in my first post if that's relevant: I'm running 
Debian on WSL2 (Windows Subsystem Linux).

Best,

Xavier


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, 6 de April de 2021 19:02, Gaius Mulley 
<gaius.mulley@southwales.ac.uk> wrote:

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