Skip to content

Not foud functions in modules #3

Description

@Kokaruko

Run toc in Oracle VirtualBox + FreeDOS 1.4 and run EMS ,
I am not use xt to run TOC.exe, it's
OracleVirtualBox + FreeDOS 1.4 + EMS and clone git at 20: 38 pm

C:\ FDAUTO.BAT add
SET OBERON_LIB=C:\TOC\BIN\OBERON.OM

Make.exe from Free Pascal 3.2.2 compile.
make version => GNU Make 4.2.1 (DJGPP port (r1))
Built for i786-pc-msdosdjgpp


-- in c:\tocsrc\ ( my toc Source Code directory )

toc /entry=Run test.mod
ERROR:test.mod(6): undefined in module 'String'

OR

after run build.bat in toc\src\lib, run "toc /entry=Run test.mod " get
ERROR: cannot find module 'Out.om' (or '.def'); searched current directory and OBERON_LIB=C:\TOC\BIN\OBERON


-- test Source code:
MODULE test;
IMPORT Out;

PROCEDURE Run*;
BEGIN
Out.String("Test from Run procedure.");
Out.Ln;
END Run;

BEGIN
Out.String("Test from BEGIN.");
Out.Ln;
END test.


-- RUN make in c:\toc
c:/devel/fpc/bin/go32v2/make.exe -C SRC/LIB clean
make.exe[1]: Entering directory 'c:/toc/src/lib'
rm -f *.exe *.om output.log
make.exe[1]: Leving directory 'c:/toc/src/lib'
c:/devel/fpc/bin/go32v2/make.exe -C SRC/LIB all
make.exe[1]: Entering directory 'c:/toc/src/lib'
cp ../../BOOT/TOC.EXE TOC.EXE
xt run toc.exe /LOG=debug /SYSTEM SYSTEM.MOD
make.exe[1]: *** [Makefile: 46: SYSTEM.OM] Error -1
make.exe[1]: Leving directory 'c:/toc/src/lib'
make.exe: *** [Makefile:17: lib] Error 2

run .bat , then get error infomation:

-- in toc\src\lib\ run build.bat
INFO:wrote SYSTEM.OM
ERROR: OUT.MOD(16): undefined in module 'DOSCHAR'
ERROR: .\Out.MOD(16): undefined in module 'DOSCHAR'
ERROR: IN.MOD(11): undefined field 'AX'
INFO:wrote EMS.OM
ERROR: .\Time.MOD(169): undefined field 'AX'
ERROR: STRINGS.MOD(12): undefined in module 'LENGTH'
ERROR: DOS.MOD(91): undefined field 'AX'
ERROR: .\Out.Mod(16): undefined in module 'DOSCHAR'
ERROR: TIME.MOD(169): undefined field 'AX'
INFO: wrote MATH.OM
ERROR: IO.MOD(45): undefined in module 'BLOCKREAD'
ERROR: .\Time.MOD(169): undefined field 'AX'
ERROR: .\Time.MOD(169): undefined field 'AX'
ERROR: DETECT.MOD(75): undefined in module 'PTR'
INFO: wrote KMOUSE.OM
ERROR: WINCB.MOD(67): undefined in module 'ADR'
ERROR: .\Dos.MOD(91): undefined field 'AX'
ERROR: .\Strings.MOD(12): undefined in module 'LENGTH'
ERROR:
File not found. - C:\TOC\SRC\LIB\OBERON.OM
OBERON.OM =>> ....\BIN\OBERON.OM

-- in toc\src\toc\ RUN build.bat
....\boot\toc /entry=Run toc.mod /m
ERROR: .\Scan.mod(159): undefined in module 'ISDIGIT'
C:\TOC\SRC\TOC\del *.om
File not found. - 'C:\TOC\SRC\TOC*.OM'
no file removed.

-- RUN toc /entry=Run toc.mod /m
ERROR cannot find module 'Files.om' (or '.def'); searched current directory and OBERON_LIB=C:\TOC\BIN\OBERON.OM

in toc\src\tools\ RUN tasm TODBG.ASM
ERROR: todbg.asm(30): unknown directive or mnemonic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions