Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant compile on debian 11 #58

Open
sparky4 opened this issue Nov 10, 2022 · 3 comments
Open

cant compile on debian 11 #58

sparky4 opened this issue Nov 10, 2022 · 3 comments

Comments

@sparky4
Copy link
Collaborator

sparky4 commented Nov 10, 2022

cd src/lib/doslib/hw/cpu
./make.sh build all dos86l
common.mak(85): Error(E21): Extension(s) (.C.OBJ) not defined
common.mak(86): Warning(W20): Command list does not belong to any target
common.mak(92): Error(E21): Extension(s) (.ASM.OBJ) not defined
common.mak(93): Warning(W20): Command list does not belong to any target
Error(E02): Make execution terminated
Error(E42): Last command making (src/lib/doslib/hw/cpu/dos86l/cpu.lib) returned a bad status
Error(E02): Make execution terminated

buildall.sh returns same error

@sparky4
Copy link
Collaborator Author

sparky4 commented Nov 10, 2022

using newest open watcom 2.0 to compile btw

@sparky4
Copy link
Collaborator Author

sparky4 commented Nov 10, 2022

compiles perfectly on 1.9

@jmalak
Copy link
Contributor

jmalak commented Nov 22, 2022

To doslib compilation problem.
The issue is that OW 2.0 wmake was fixed to properly handle filenames and rules as case sensitive for *NIX hosts.
In all doslib makefiles are used incorrect rules as
.C.OBJ:
.ASM.OBJ:
which is wrong on Linux with OW 2.0 now, but works with OW 1.9.
These rules must be fixed by lower-casing.
On non-*NIX hosts it works as case-insensitive rules
.C.OBJ:
.c.obj:
are the same rules.
On Linux
.C.OBJ:
.c.obj:
are two different rules with OW 2.0.
For portable makefiles you should use lower cased rules to work properly on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants