|
From: | Alexey Ulasevich |
Subject: | Re: Import procedure NEWPROCESS |
Date: | Thu, 3 Oct 2024 17:25:08 +0300 |
User-agent: | Mozilla Thunderbird |
It looks as if it's not part of the ISO SYSTEM library. It does appear in PIM, and compiles fine without the -fiso. I am not sufficiently familiar with the Modula-2 to know if that's how it should be.
john perry
Thanks for your answer.
I try to compile without '-fiso' :
gm2 -g -fsoft-check-all -Wall process_probe1.mod -o process_probe1
And I get similar errors:
alex@aurum:~/m2propbe/probes$ gm2 -g -fsoft-check-all -Wall
process_probe1.mod -o process_probe1
/usr/lib/gcc/x86_64-linux-gnu/12/m2/m2pim/SYSTEM.def:212:11:
error: In definition module ‘SYSTEM’: the symbols are unknown at
the end of module ‘process_probe1’ when requested by another
modules import (symbols have not been exported by the appropriate
definition module)
212 | END SYSTEM.
| ^
/usr/lib/gcc/x86_64-linux-gnu/12/m2/m2pim/SYSTEM.def:212:11:
error: the following unknown symbols in module ‘SYSTEM’ were
unresolved: PROCESS, TRANSFER and NEWPROCESS
process_probe1.mod:4:20: error: unknown symbol ‘NEWPROCESS’
4 | FROM SYSTEM IMPORT NEWPROCESS, TRANSFER, PROCESS;
| ^~~~~~~~~~
process_probe1.mod:4:20: error: unknown symbol 'NEWPROCESS' found
process_probe1.mod:4:32: error: unknown symbol ‘TRANSFER’
4 | FROM SYSTEM IMPORT NEWPROCESS, TRANSFER, PROCESS;
| ^~~~~~~~
process_probe1.mod:4:32: error: unknown symbol 'TRANSFER' found
process_probe1.mod:4:42: error: unknown symbol ‘PROCESS’
4 | FROM SYSTEM IMPORT NEWPROCESS, TRANSFER, PROCESS;
| ^~~~~~~
process_probe1.mod:4:42: error: unknown symbol 'PROCESS' found
It's look like we have option '-fpim' by default.
[Prev in Thread] | Current Thread | [Next in Thread] |