Closed LowLevelMahn closed 1 week ago
please check build/binbuild/bootx.log for messages. Probably gcc version 14 generate some new messages and need to fix them.
here the content of the bootx.log
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/build/binbuild> cat bootx.log
rm -f *.o *.gh *.exe
c99 -g -O2 -I. -I../h -I../../watcom/h -I../../lib_misc/h -D__LINUX__ -D__UNIX__ -DBOOTSTRAP -DINCL_MSGTEXT -D_POSIX_C_SOURCE=200112L -D_BLDVER=1300 -D_CYEAR=xxxx -c ../../builder/c/wsplice.c
c99: invalid option -- '2'
usage: c99 [-c] [-D name[=value]] [...] [-E] [-g] [-I directory ...]
[-L directory ...] [-o outfile] [-O] [-s] [-U name ...] operand ...
where operand is one or more of file.c, file.o, file.a
or -llibrary
make: *** [../posmake:69: wsplice.o] Error 1
according to the manual c99 is a shell wrapper script to cc - which is also version 14.2
It looks like change or bug in c99 for your installation. The problem is with -O2 option of full command
c99 -g -O2 -I. -I../h -I../../watcom/h -I../../lib_misc/h -D__LINUX__ -D__UNIX__ -DBOOTSTRAP -DINCL_MSGTEXT -D_POSIX_C_SOURCE=200112L -D_BLDVER=1300 -D_CYEAR=xxxx -c ../../builder/c/wsplice.c
It looks like change or bug in c99 for your installation.
i have ask on the gcc mailing list
I tried it with gcc 12 and no problem with -O2 option. I don't know what shell you use, OW build system suppose POSIX compatible Korn/Bash shell.
I don't know what shell you use, OW build system suppose POSIX compatible Korn/Bash shell.
echo "$SHELL"
/bin/bash
bash --version
GNU bash, version 5.2.37(1)-release (x86_64-suse-linux)
on Ubuntu the /usr/bin/c99 is a link to an script that just calls gcc
on Tumbleweed its some (c compiler related) binary with no link to gcc - even the manual looks different to Ubuntu/Debian
It doesn't matter, c99 command line is defined by POSIX standard.
-O optlevel
Specify the level of code optimization. If the optlevel option-argument is the digit '0', all special code
optimizations shall be disabled. If it is the digit '1', the nature of the optimization is unspecified.
If the -O option is omitted, the nature of the system's default optimization is unspecified. It is unspecified
whether code generated in the presence of the -O 0 option is the same as that generated when -O is omitted.
Other optlevel values may be supported.
that optlevel value can be toolchain specific.
its a bug in Tumbleweed: https://bugzilla.opensuse.org/show_bug.cgi?id=1156949
try building with my Fedora 40 (gcc 14.2.1) seems to work - so i need to get some pressure on the Tumbleweed guys or patch your make files to use gcc -std=c99 instead of c99 (or something fitting)
It is not possible because we relate on POSIX c99 not on gcc in pre-boot phase for *NIX systems (by example it uses c99 on OSX etc. This pre-boot phase must be portable and cannot depend on any specific compiler therefore we use POSIX c99. I can do exception for gcc but I am not sure how gcc command line is different from c99 syntax.
It is not possible because we relate on POSIX c99 not on gcc in pre-boot
on Fedora 40: c99 is some small binary - seems to exec gcc on Ubuntu 24.04.1 LTS: c99 is just a shell script that calls gcc
/usr/bin/c99 -> /etc/alternatives/c99
cat /etc/alternatives/c99
#! /bin/sh
# Call the appropriate C compiler with options to accept ANSI/ISO C
# The following options are the same (as of gcc-3.3):
# -std=c99
# -std=c9x
# -std=iso9899:1999
# -std=iso9899:199x
extra_flag=-std=c99
for i; do
case "$i" in
-std=c9[9x]|-std=iso9899:199[9x])
extra_flag=
;;
-std=*|-ansi)
echo >&2 "`basename $0` called with non ISO C99 option $i"
exit 1
;;
esac
done
exec gcc $extra_flag ${1+"$@"}
the build fails on Fedora 40 gcc 14.2.1 and clang 18.1.8 this way (both builds giving same error messages)
...
./mkcode.exe copystub.gh
bld_as decstub.obj
bld_link decstub.tmp
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
./mkcode.exe decstub.gh
cc cwc.obj
cl cwc.exe
/usr/bin/ld: cannot find -lc: No such file or directory
collect2: error: ld returned 1 exit status
Error(E42): Last command making (cwc.exe) returned a bad status
Error(E02): Make execution terminated
<pmake -d build -h> => non-zero return: 512
Build failed
It will need to modify bld/wmake/posmake (POSIX make file) to use gcc command instead of c99 if gcc toolchain is used.
I will try to change and test.
The -lc
option should be option to include standard C library. try to go to bld/causeway/cwc
and run builder clean
and next builder build OWVERBOSE=1
to get full command line.
test@fedora:~/temp/open-watcom-v2_dev/open-watcom-v2_gcc$ cd bld/causeway
test@fedora:~/temp/open-watcom-v2_dev/open-watcom-v2_gcc/bld/causeway$ builder clean
bash: builder: command not found...
test@fedora:~/temp/open-watcom-v2_dev/open-watcom-v2_gcc/bld/causeway$ ./builder clean
bash: ./builder: No such file or directory
It suppose you have setup OW build environment and have run OW build up to break.
Anyway I did workaround fix for you, modify your build.sh to be as following code to fix issue with c99 and gcc 14.
if [ "$OWTOOLS" = "WATCOM" ]; then
output_redirect wmake -m -f ../wmake clean
output_redirect wmake -m -f ../wmake
else
if [ "$OWTOOLS" = "GCC" ]; then
if [ "$OWTOOLSVER" = "14" ]; then
# workaround for gcc 14 on SUSE
TCC="CC=gcc"
fi
fi
case `uname` in
FreeBSD)
output_redirect make -f ../posmake clean
output_redirect make -f ../posmake TARGETDEF=-D__BSD__ $TCC
;;
Darwin)
output_redirect make -f ../posmake clean
output_redirect make -f ../posmake TARGETDEF=-D__OSX__ $TCC
;;
Haiku)
output_redirect make -f ../posmake clean
output_redirect make -f ../posmake TARGETDEF=-D__HAIKU__ $TCC
;;
# Linux)
*)
output_redirect make -f ../posmake clean
output_redirect make -f ../posmake TARGETDEF=-D__LINUX__ $TCC
;;
esac
fi
It suppose you have setup OW build environment and have run OW build up to break.
i try that
Anyway I did workaround fix for you, modify your build.sh to be as following code to fix issue with c99 and gcc 14.
compilations starts and seems to work
i got a compilation error on Ubuntu 24.10 (also with gcc 14.2.x) --> https://github.com/open-watcom/open-watcom-v2/issues/1340
cc guixloop.obj
../c/guixloop.c: In function ‘GUICreatePopup’:
../c/guixloop.c:227:38: error: passing argument 2 of ‘GUICreateMenuPopup’ from incompatible pointer type [-Wincompatible-pointer-types]
227 | ui_ev = GUICreateMenuPopup( wnd, &scr_location, wnd->menu, GUI_TRACK_LEFT, NULL );
| ^~~~~~~~~~~~~
| |
| guix_coord *
In file included from ../c/guixloop.c:40:
../../../../bld/gui/ui/h/guifloat.h:34:66: note: expected ‘guix_point *’ but argument is of type ‘guix_coord *’
34 | extern ui_event GUICreateMenuPopup( gui_window *wnd, guix_point *scr_location, UIMENUITEM *menuitems,
| ~~~~~~~~~~~~^~~~~~~~~~~~
Error(E42): Last command making (guixloop.obj) returned a bad status
Error(E02): Make execution terminated
<pmake -d build -h> => non-zero return: 512
Build failed
don't be confused: im currently building openwatcom on recent Tumbleweed/Ubuntu 24.10 and Fedora 40 in parallel :)
It suppose you have setup OW build environment and have run OW build up to break.
i try that
i did run my ./setvar.sh and ./build.sh up to break but the builder command don't get found afterwards?
Run sh build.sh preboot
and check in build/binbuild
if there is wmake and builder
compiled executable.
check build/binbuild/bootx.log if builder is created.
May be a problem that you use template script setvars.sh
instead of your own configured script
created from this template.
Run
sh build.sh preboot
and check inbuild/binbuild
if there iswmake and builder
compiled executable.
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> sh build.sh preboot
Open Watcom build environment (GCC version=14)
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> ls build/binbuild/
aliasgen bmp2eps bspecs.owc bwasm bwcc386 bwcl386 bwhc bwpp386 chk_exec cvtutf8 genverrc mkinf objxdef parsedyn uzip wsplice
bcwc boot.lo1 builder bwasmps bwccaxp bwclaxp bwipfc bwppaxp chktest dlgprs hcdos msgencod objxref re2c vicomp yacc
bdmpobj boot.log build.lo1 bwasppc bwccmps bwclmps bwlib bwrc comstrip errdoc kanji.uni objchg optencod ssl wcpp
bedbind bootx.log build.log bwbind bwccppc bwclppc bwlink bwstrip cpyright errsrc langdat objfind parsectl sweep whpcvt
bide2mak bowcc bwasaxp bwcc bwcl bwdis bwpp catfile crlf findhash mkexezip objlist parsedlg to932.uni wmake
both available
for sure run sh clean.sh
before sh build.sh ...
to cleanup all residual build objects.
May be a problem that you use template script
setvars.sh
instead of yourown configured script
.
i will fresh re-clone, copy the setvars.sh into my own, apply your c99 patch and retry
for sure run
sh clean.sh
beforesh build.sh ...
to cleanup all residual build objects.
did that - work with just ./clean.sh
May be a problem that you use template script
setvars.sh
instead of yourown configured script
created from this template.
i changed that for the freshly started Tumbleweed and Fedora build - Ubuntu seems to get further without doing that... but i'll give it a try
the freshly started Tumbleweed build fails as before - fresh git clone/build.sh c99 patch at the same location
...
bld_as decstub.obj
bld_link decstub.tmp
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
./mkcode.exe decstub.gh
cc cwc.obj
cl cwc.exe
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: cannot find -lc: No such file or directory
collect2: error: ld returned 1 exit status
Error(E42): Last command making (cwc.exe) returned a bad status
Error(E02): Make execution terminated
<pmake -d build -h> => non-zero return: 512
Build failed
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2>
im sitting right there
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> ls build/binbuild/ | grep 'builder\|wmake'
builder
wmake
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> cd bld/causeway/
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway> builder clean
-bash: builder: command not found
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway>
but builder seems not findable due to my path environment - how should that work?
echo "$PATH"
/home/test/.local/bin:/home/test/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
Tumbleweed and Fedora got same error and behave the same with builder clean
- Ubuntu runs and runs
it fails also the same on Ubuntu when i (sensless) try to do the same on Ubuntu when the compilation error (https://github.com/open-watcom/open-watcom-v2/issues/1341) happens
it looks like you have incorrectly setup OW build environment.
You need to run your setup script before you work in build environment.
It setup PATH to contains OW build binaries, you don't have it setup that you do something wrong (not run setup script).
Setup script must be run by . <setup script>
to hold changed environment.
it looks like you have incorrectly setup OW build environment. You need to run your setup script before you work in build environment.
where is this setup-script? im calling my copy of setvars.sh ./my_setvars.sh (with correctly set OWROOT,dosbox) and then ./build.sh is there some other script? can't find that clearly in the docs
no, only this one but you must run it by . ./my_setvars.sh
to hold changes but you run it as ./my_setvars.sh
what is wrong.
no, only this one but you must run it by
. ./my_setvars.sh
to hold changes but you run it as./my_setvars.sh
what is wrong.
i missed that detail - sorry
the error:
= 11:09:11 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/linux386 =
= 11:09:11 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/linuxx64 =
cl cwc.exe
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: cannot find -lc: No such file or directory
collect2: error: ld returned 1 exit status
Error(E42): Last command making (cwc.exe) returned a bad status
Error(E02): Make execution terminated
<pmake -d build guitool .not .and -h> => non-zero return: 512
Build failed
the cleanup
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> cd bld
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/bld> cd causeway/
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway> builder clean
**** CLEAN rule
== 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway ===
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cw32/dos386 ==
rm -f *.obj
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk *.exe
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/dosi86 =
rm -f *.obj *.gh
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/linux386 =
rm -f *.obj *.gh
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/linuxx64 =
rm -f *.obj *.gh
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/nt386 ==
rm -f *.obj *.gh
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/ntx64 ==
rm -f *.obj *.gh
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/os2386 =
rm -f *.obj *.gh
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk
= 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwdll/dos386 =
rm -f *.obj
rm -f *.lnd *.lnk *.exe *.dll *.lib *.lbc *.res *.lst *.err *.pch *.map *.sym *.tmp *.trk
== 11:09:24 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway ===
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway> cd ..
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/bld> cd causeway/
build verbose
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway> builder build OWVERBOSE=1
**** BUILD rule
== 11:09:55 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway ===
= 11:09:56 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cw32/dos386 ==
bwasm -q -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -we -d1 -fo=cw32.obj -w8-cx -bt=dos -DENGLISH=1 -I"../../inc" -I"../../../bld/hdr/dos/h" -I"../../../bld/watcom/h" ../../asm/cw32.asm
../../asm/raw_vcpi.asm(359): Note! N303: Far call is converted to near call.
../../asm/raw_vcpi.asm(359): Note! N290: included by file ../../asm/cw32.asm(740)
../../asm/raw_vcpi.asm(364): Note! N303: Far call is converted to near call.
../../asm/raw_vcpi.asm(364): Note! N290: included by file ../../asm/cw32.asm(740)
../../asm/raw_vcpi.asm(369): Note! N303: Far call is converted to near call.
../../asm/raw_vcpi.asm(369): Note! N290: included by file ../../asm/cw32.asm(740)
../../asm/raw_vcpi.asm(374): Note! N303: Far call is converted to near call.
../../asm/raw_vcpi.asm(374): Note! N290: included by file ../../asm/cw32.asm(740)
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
../../asm/cw32.asm(941): Note! N293: Extending jump
../../asm/cw32.asm(956): Note! N293: Extending jump
../../asm/cw32.asm(975): Note! N293: Extending jump
../../asm/cw32.asm(4511): Note! N293: Extending jump
../../asm/cw32.asm(4520): Note! N293: Extending jump
../../asm/cw32.asm(4522): Note! N293: Extending jump
../../asm/cw32.asm(4524): Note! N293: Extending jump
%write cw32.lnk debug dwarf op nored op symfile op map sys dos op verbose, statics disable 1080
bwlink op q name cw32.exe @cw32.lnk
bcwc cw32.exe cwstub.exe
bwasm -q -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -we -d1 -fo=cwdstub.obj -w8-cx -bt=dos -DENGLISH=1 -I"../../inc" -I"../../../bld/hdr/dos/h" -I"../../../bld/watcom/h" ../../asm/cwdstub.asm
%write cwdstub.lnk debug dwarf op nored op symfile op map sys dos op verbose, statics disable 1014
bwlink op q name cwdstub.exe @cwdstub.lnk
= 11:09:56 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/dosi86 =
gcc -pipe -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -D__UNIX__ -D__FLAT__ -D__LINUX__ -D_M_X64 -D__LINUX_X64__ ../../../../bld/watcom/c/mkcode.c -fno-asm -fno-common -fsigned-char -Wall -Wno-switch -Wno-missing-braces -Wno-parentheses -O -g1 -gdwarf-2 -gz -I"../../../../bld/watcom/h" -o ./mkcode.exe -Wl,-Map,mkcode.map ../../../../bld/watcom/binbuild/clibext.lib
bwasm -zq-w8-cx -fo=copystub.obj ../../asm/copystub.asm
bwlink system bin op quiet file copystub.obj name copystub.tmp
./mkcode.exe -b copystub.tmp copystub.gh
bwasm -zq-w8-cx -fo=decstub.obj ../../asm/decstub.asm
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
bwlink system bin op quiet file decstub.obj name decstub.tmp
./mkcode.exe -b decstub.tmp decstub.gh
bwcc -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -j-we -oaxt -d1 -x-wpx-xx-zam -fo=cwc.obj -fpi -mc -bt=dos -s -wx-wce=C310 -zastd=c99 -I. -I"../../../../bld/hdr/dos/h" -I"../../../../bld/watcom/h" ../../c/cwc.c
%write cwc.lnk debug dwarf op nored op symfile op map sys dos
bwlink op q name cwc.exe @cwc.lnk
= 11:09:56 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/linux386 =
gcc -pipe -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -D__UNIX__ -D__FLAT__ -D__LINUX__ -D_M_X64 -D__LINUX_X64__ ../../../../bld/watcom/c/mkcode.c -fno-asm -fno-common -fsigned-char -Wall -Wno-switch -Wno-missing-braces -Wno-parentheses -O -g1 -gdwarf-2 -gz -I"../../../../bld/watcom/h" -o ./mkcode.exe -Wl,-Map,mkcode.map ../../../../bld/watcom/binbuild/clibext.lib
bwasm -zq-w8-cx -fo=copystub.obj ../../asm/copystub.asm
bwlink system bin op quiet file copystub.obj name copystub.tmp
./mkcode.exe -b copystub.tmp copystub.gh
bwasm -zq-w8-cx -fo=decstub.obj ../../asm/decstub.asm
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
bwlink system bin op quiet file decstub.obj name decstub.tmp
./mkcode.exe -b decstub.tmp decstub.gh
bwcc386 -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -j-we -oaxt -d1 -x-wpx-xx-zam -fo=cwc.obj -fpi -mf -zc -bt=linux -s -wx-wce=C310 -zastd=c99 -I. -I"../../../../bld/hdr/linux/h" -I"../../../../bld/watcom/h" ../../c/cwc.c
%write cwc.lnk debug dwarf op nored op symfile op map sys linux
bwlink op q name cwc.exe @cwc.lnk
= 11:09:56 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/causeway/cwc/linuxx64 =
gcc -pipe -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D__UNIX__ -D__FLAT__ -D__LINUX__ -D_M_X64 -D__LINUX_X64__ ../../../../bld/watcom/c/mkcode.c -fno-asm -fno-common -fsigned-char -Wall -Wno-switch -Wno-missing-braces -Wno-parentheses -O -g1 -gdwarf-2 -gz -I"../../../../bld/watcom/h" -o ./mkcode.exe -Wl,-Map,mkcode.map ../../../../bld/watcom/binbuild/clibext.lib
bwasm -zq-w8-cx -fo=copystub.obj ../../asm/copystub.asm
bwlink system bin op quiet file copystub.obj name copystub.tmp
./mkcode.exe -b copystub.tmp copystub.gh
bwasm -zq-w8-cx -fo=decstub.obj ../../asm/decstub.asm
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
../../asm/decstub.asm(268): Note! N293: Extending jump
../../asm/decstub.asm(285): Note! N293: Extending jump
bwlink system bin op quiet file decstub.obj name decstub.tmp
./mkcode.exe -b decstub.tmp decstub.gh
gcc -pipe -c -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D__UNIX__ -D__FLAT__ -D_M_X64 -D__LINUX_X64__ -D__LINUX__ -fno-asm -fno-common -fsigned-char -Wall -Wno-switch -Wno-missing-braces -Wno-parentheses -O -g1 -gdwarf-2 -gz -static -o cwc.obj -std=gnu99 -I. -I"../../../../bld/watcom/h" ../../c/cwc.c
gcc -pipe -static -O -g1 -gdwarf-2 -gz -o cwc.exe -Wl,-Map,cwc.map cwc.obj ../../../../bld/watcom/linuxx64/clibext.lib/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: cannot find -lc: No such file or directory
collect2: error: ld returned 1 exit status
Error(E42): Last command making (cwc.exe) returned a bad status
Error(E02): Make execution terminated
<pmake -d build guitool .not .and -h> => non-zero return: 512
Build failed
Tumbleweed: ld --version 2.43.1.20240828-2
Ubuntu: ld --version 2.43.1
Fedora: ld --version 2.41-37.fc40
It looks like you don't have install static C run-time library on your system. Maybe that now with gcc only shared libraries are installed not static library or it is gcc installation bug. But I am not expert for Linux and gcc what and how it should be install. OW build uses static C run-time library that must be on system.
The gui type mismatch is fixed now in git repository.
It looks like you don't have install static C run-time library on your system. Maybe that now with gcc only shared libraries are installed not static library or it is gcc installation bug. But I am not expert for Linux and gcc what and how it should be install. OW build uses static C run-time library that must be on system.
SUSE and Fedora aren't that unusal - with Ubuntu the big three in the linux world i wil check if the static libs a installed by default on this distros
UPDATE: thats it:
Tumbleweed: sudo zypper install glibc-devel-static
was missing
Fedora: sudo dnf install glibc-static
but Tumbleweed and Fedora still fail differently
Tumbleweed:
cd bld/aui
builder clean and
builder build OWVERBOSE=1
I"../../../bld/aui/nt386" -I"../../../bld/aui/h" -I"../../../bld/gui/ui/nt386" -I"../../../bld/gui/h" -I"../../../bld/ui/h" -I"../../../bld/hdr/dos/h" -I"../../../bld/w32api/nt/h" -I"../../../bld/watcom/h" ../c/wndmnsz.c
bwcc386 -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -DWINVER=0x400 -D_WIN32_IE=0x300 -DWIN32_LEAN_AND_MEAN -j-we -oaxt -d1 -x-wpx-xx-zam -fo=wndimain.obj -fpi -mf -bt=nt -s -wx-wce=C310 -zastd=c99 -I. -I"../h" -I"../../../bld/aui/nt386" -I"../../../bld/aui/h" -I"../../../bld/gui/ui/nt386" -I"../../../bld/gui/h" -I"../../../bld/ui/h" -I"../../../bld/hdr/dos/h" -I"../../../bld/w32api/nt/h" -I"../../../bld/watcom/h" ../c/wndimain.c
bwlib -q -b-c-n-pa -ii -io aui.lib guimain.obj wndgadgt.obj wndrect.obj wndtbatr.obj wndbgch.obj wndstyle.obj wndhist.obj wndhelp.obj wndstat.obj wndchoos.obj wndcreat.obj wndcrsr.obj wndcurr.obj wndid.obj wndmem.obj wndmeth.obj wndutil.obj wndchar.obj wndpop.obj rxwrap.obj wndscrol.obj wndsel.obj wndsrch.obj wndfdlg.obj wnddlg.obj dlgsrch.obj dlgpick.obj dlgnew.obj wndspawn.obj wndalloc.obj wndshrnk.obj wndtool.obj wnddoin.obj wndresiz.obj wndsysin.obj wndclean.obj wndmacro.obj wndring.obj wndefra.obj wndfonhk.obj wndshthk.obj wndqryhk.obj wndendhk.obj wndrszhk.obj wndsfra.obj wndfont.obj wndldstr.obj wndfront.obj wndpaint.obj wnddirt.obj wnddfclr.obj wndcolor.obj wndmouse.obj wndrxerr.obj wndfref.obj wndmsg.obj wndmnsz.obj wndimain.obj
= 12:49:22 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/aui/nt386.gui =
awk -v prefix=AUI_LITERAL_ -v base=AUI_LITERAL_BASE -f ../../../build/makemsg.awk -v OUTFILE=aui.grh ../res/aui.msg
bwcc386 -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -DWINVER=0x400 -D_WIN32_IE=0x300 -DWIN32_LEAN_AND_MEAN -j-we -oaxt -d1 -x-wpx-xx-zam -fo=guimain.obj -fpi -mf -bt=nt -s -wx-wce=C310 -zastd=c99 -I. -I"../h" -I"../../../bld/aui/nt386.gui" -I"../../../bld/aui/h" -I"../../../bld/gui/win/nt386" -I"../../../bld/gui/h" -I"../../../bld/hdr/dos/h" -I"../../../bld/w32api/nt/h" -I"../../../bld/watcom/h" ../c/guimain.c
../../../bld/gui/h/gui.rh(44): Error! E1055: Unable to open 'guimsgs.grh'
Error(E42): Last command making (guimain.obj) returned a bad status
Error(E02): Make execution terminated
<pmake -d build guitool .not .and -h> => non-zero return: 512
Build failed
Fedora:
= 12:48:45 /home/test/temp/open-watcom-v2_dev/open-watcom-v2/bld/browser/brg/nt386 ==
= 12:48:45 /home/test/temp/open-watcom-v2_dev/open-watcom-v2/bld/browser/brg/os2386 =
= 12:48:45 /home/test/temp/open-watcom-v2_dev/open-watcom-v2/bld/browser/nt386 ==
gendev mono01.cop
date time |
2024-10-12 12:48:45.174 | arguments: dosbox -conf /home/test/temp/open-watcom-v2_dev/open-watcom-v2/build/dosbox.cfg -c mount\ c\ .. -c c:\\nt\\gendevb.bat
2024-10-12 12:48:45.174 | Current dir: /home/test/temp/open-watcom-v2_dev/open-watcom-v2/docs/nt
2024-10-12 12:48:45.174 | stderr verbosity: 0
2024-10-12 12:48:45.174 | -----------------------------------
2024-10-12 12:48:45.174 | dosbox-staging version 0.81.2
2024-10-12 12:48:45.174 | ---
2024-10-12 12:48:45.174 | LOG: Loguru version 2.1.0 initialised
2024-10-12 12:48:45.175 | CONFIG: Loaded primary config file '/home/test/.config/dosbox/dosbox-staging.conf'
2024-10-12 12:48:45.175 | CONFIG: Loaded custom config file '/home/test/temp/open-watcom-v2_dev/open-watcom-v2/build/dosbox.cfg'
2024-10-12 12:48:45.175 | LANG: Using internal English language messages
2024-10-12 12:48:45.189 | SDL: version 2.30.3 initialised (dummy video and disk audio)
2024-10-12 12:48:45.189 | DISPLAY: Initialised 758x569 windowed mode using bilinear scaling on display-0
2024-10-12 12:48:45.189 | SDL: Failed to create temporary window: OpenGL support is either not configured in SDL or not available in current SDL video driver (dummy) or platform
2024-10-12 12:48:45.189 | OPENGL: Could not create OpenGL window, using 'texture' output mode
2024-10-12 12:48:45.189 | SDL: Failed to create temporary window: OpenGL support is either not configured in SDL or not available in current SDL video driver (dummy) or platform
Stack trace:
7 0x55e26bf00735 _start + 37
6 0x7f2e2f55514b __libc_start_main + 139
5 0x7f2e2f555088 /lib64/libc.so.6(+0x2a088) [0x7f2e2f555088]
4 0x55e26c0a9d68 sdl_main(int, char**) + 8712
3 0x55e26bf11ba6 Config::Init() const + 70
2 0x55e26bf11a02 Section::ExecuteInit(bool) + 162
1 0x55e26c0a5cb0 dosbox(+0x265cb0) [0x55e26c0a5cb0]
0 0x55e26c0a4012 dosbox(+0x264012) [0x55e26c0a4012]
2024-10-12 12:48:45.189 | ABORT: SDL: Could not initialize video: OpenGL support is either not configured in SDL or not available in current SDL video driver (dummy) or platform
Fedora is using dosbox (staging) by default (like Tumbleweed) - starting dosbox with your config does open up the terminal with Z: - or just opening dosbox works - not ideas were the problem comes from inside your build scripts - need to the dosbox-staging devs
Ubuntu builds
It looks like DOSBOX issue. DOSBOX is configured without sound and display to work in batch only. Maybe some changes in DOSBOX behaviour, it looks like it requires display. Probably we will need to change configuration of DOSBOX to use display.
Try to setup OWWGMLDEBUG=1 in environment, it should switch on DOSBOX GUI box and you could get what exactly happen. Anyway I correct null device definition for dosbox, but I don't think it is related to your issue.
Try to setup OWWGMLDEBUG=1 in environment, it should switch on DOSBOX GUI box and you could get what exactly happen. Anyway I correct null device definition for dosbox, but I don't think it is related to your issue.
something changed with Fedora after pulling your change
and with installing the missing static libstdc++ with sudo dnf install libstdc++-static
the build ended without errors
Tumbleweed still struggles with some (but different to Fedora) error
cd bld/aui
builder clean and
builder build OWVERBOSE=1
bwcc386 -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -DWINVER=0x400 -D_WIN32_IE=0x300 -DWIN32_LEAN_AND_MEAN -j-we -oaxt -d1 -x-wpx-xx-zam -fo=wndimain.obj -fpi -mf -bt=nt -s -wx-wce=C310 -zastd=c99 -I. -I"../h" -I"../../../bld/aui/nt386" -I"../../../bld/aui/h" -I"../../../bld/gui/ui/nt386" -I"../../../bld/gui/h" -I"../../../bld/ui/h" -I"../../../bld/hdr/dos/h" -I"../../../bld/w32api/nt/h" -I"../../../bld/watcom/h" ../c/wndimain.c
bwlib -q -b-c-n-pa -ii -io aui.lib guimain.obj wndgadgt.obj wndrect.obj wndtbatr.obj wndbgch.obj wndstyle.obj wndhist.obj wndhelp.obj wndstat.obj wndchoos.obj wndcreat.obj wndcrsr.obj wndcurr.obj wndid.obj wndmem.obj wndmeth.obj wndutil.obj wndchar.obj wndpop.obj rxwrap.obj wndscrol.obj wndsel.obj wndsrch.obj wndfdlg.obj wnddlg.obj dlgsrch.obj dlgpick.obj dlgnew.obj wndspawn.obj wndalloc.obj wndshrnk.obj wndtool.obj wnddoin.obj wndresiz.obj wndsysin.obj wndclean.obj wndmacro.obj wndring.obj wndefra.obj wndfonhk.obj wndshthk.obj wndqryhk.obj wndendhk.obj wndrszhk.obj wndsfra.obj wndfont.obj wndldstr.obj wndfront.obj wndpaint.obj wnddirt.obj wnddfclr.obj wndcolor.obj wndmouse.obj wndrxerr.obj wndfref.obj wndmsg.obj wndmnsz.obj wndimain.obj
= 16:03:17 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/aui/nt386.gui =
awk -v prefix=AUI_LITERAL_ -v base=AUI_LITERAL_BASE -f ../../../build/makemsg.awk -v OUTFILE=aui.grh ../res/aui.msg
bwcc386 -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -DWINVER=0x400 -D_WIN32_IE=0x300 -DWIN32_LEAN_AND_MEAN -j-we -oaxt -d1 -x-wpx-xx-zam -fo=guimain.obj -fpi -mf -bt=nt -s -wx-wce=C310 -zastd=c99 -I. -I"../h" -I"../../../bld/aui/nt386.gui" -I"../../../bld/aui/h" -I"../../../bld/gui/win/nt386" -I"../../../bld/gui/h" -I"../../../bld/hdr/dos/h" -I"../../../bld/w32api/nt/h" -I"../../../bld/watcom/h" ../c/guimain.c
../../../bld/gui/h/gui.rh(44): Error! E1055: Unable to open 'guimsgs.grh'
Error(E42): Last command making (guimain.obj) returned a bad status
Error(E02): Make execution terminated
<pmake -d build guitool .not .and -h> => non-zero return: 512
Build failed
i try a clean build with Tumbleweed after using ./clean.sh in ow root
UPDATE: still the same error
The issue is with gui project because guimsgs.grh is created by gui project. First rebuild gui project and next aui project, this projects are dependent. For gui project ui project is prerequsity etc. anyway guimsgs.grh is created by awk script. It could be issue if Tumbleweed's awk is not standard. check gui project if guimsgs.grh is created for all targets. Default OW projects build order is optimized to resolve all such dependency therefore you can rebuild some part if you have previous full build, or you need start build from begining without cleanup.
awk version is
cd bld/gui
builder clean and
builder build OWVERBOSE=1
i can't see any error in the output
and these are the files i've found (searching from ow-root)
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> find . -name "guimsgs.grh"
./bld/gui/ui/rdos386/guimsgs.grh
./bld/gui/ui/nt386/guimsgs.grh
./bld/gui/ui/os2386/guimsgs.grh
./bld/gui/ui/dosi86/guimsgs.grh
./bld/gui/ui/linux386/guimsgs.grh
./bld/gui/ui/dos386/guimsgs.grh
./bld/gui/ui/wini86/guimsgs.grh
./bld/gui/ui/linuxx64/guimsgs.grh
log from gui OWVERBOSE=1 built are just to big to post here or on pastebin.com - but the logs contain no error or warning
another build of aui
cd bld/aui
builder clean and
builder build OWVERBOSE=1
bwcc386 -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -DWINVER=0x400 -D_WIN32_IE=0x300 -DWIN32_LEAN_AND_MEAN -j-we -oaxt -d1 -x-wpx-xx-zam -fo=wndimain.obj -fpi -mf -bt=nt -s -wx-wce=C310 -zastd=c99 -I. -I"../h" -I"../../../bld/aui/nt386" -I"../../../bld/aui/h" -I"../../../bld/gui/ui/nt386" -I"../../../bld/gui/h" -I"../../../bld/ui/h" -I"../../../bld/hdr/dos/h" -I"../../../bld/w32api/nt/h" -I"../../../bld/watcom/h" ../c/wndimain.c
bwlib -q -b-c-n-pa -ii -io aui.lib guimain.obj wndgadgt.obj wndrect.obj wndtbatr.obj wndbgch.obj wndstyle.obj wndhist.obj wndhelp.obj wndstat.obj wndchoos.obj wndcreat.obj wndcrsr.obj wndcurr.obj wndid.obj wndmem.obj wndmeth.obj wndutil.obj wndchar.obj wndpop.obj rxwrap.obj wndscrol.obj wndsel.obj wndsrch.obj wndfdlg.obj wnddlg.obj dlgsrch.obj dlgpick.obj dlgnew.obj wndspawn.obj wndalloc.obj wndshrnk.obj wndtool.obj wnddoin.obj wndresiz.obj wndsysin.obj wndclean.obj wndmacro.obj wndring.obj wndefra.obj wndfonhk.obj wndshthk.obj wndqryhk.obj wndendhk.obj wndrszhk.obj wndsfra.obj wndfont.obj wndldstr.obj wndfront.obj wndpaint.obj wnddirt.obj wnddfclr.obj wndcolor.obj wndmouse.obj wndrxerr.obj wndfref.obj wndmsg.obj wndmnsz.obj wndimain.obj
= 08:57:02 /home/linux/temp/open-watcom-v2_dev/open-watcom-v2/bld/aui/nt386.gui =
awk -v prefix=AUI_LITERAL_ -v base=AUI_LITERAL_BASE -f ../../../build/makemsg.awk -v OUTFILE=aui.grh ../res/aui.msg
bwcc386 -zq -D_BLDVER=1300 -D_CYEAR=2024 -DNDEBUG -D_ENABLE_AUTODEPEND -DWINVER=0x400 -D_WIN32_IE=0x300 -DWIN32_LEAN_AND_MEAN -j-we -oaxt -d1 -x-wpx-xx-zam -fo=guimain.obj -fpi -mf -bt=nt -s -wx-wce=C310 -zastd=c99 -I. -I"../h" -I"../../../bld/aui/nt386.gui" -I"../../../bld/aui/h" -I"../../../bld/gui/win/nt386" -I"../../../bld/gui/h" -I"../../../bld/hdr/dos/h" -I"../../../bld/w32api/nt/h" -I"../../../bld/watcom/h" ../c/guimain.c
../../../bld/gui/h/gui.rh(44): Error! E1055: Unable to open 'guimsgs.grh'
Error(E42): Last command making (guimain.obj) returned a bad status
Error(E02): Make execution terminated
<pmake -d build guitool .not .and -h> => non-zero return: 512
Build failed
Error! E1055: Unable to open 'guimsgs.grh'
can't see what 'guimsgs.grh' is exactly wanted
i think its the nt386 variant
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> cat ./bld/gui/ui/nt386/guimsgs.grh
#define GUI_LITERAL_Change_XFont_ (GUI_LITERAL_BASE + 0)
#define GUI_LITERAL_Change_Font_for_this_window (GUI_LITERAL_BASE + 1)
#define GUI_LITERAL_Floating_Toolbar (GUI_LITERAL_BASE + 2)
#define GUI_LITERAL_XFix_Tool_Bar (GUI_LITERAL_BASE + 3)
#define GUI_LITERAL_Make_Tool_Bar_Fixed (GUI_LITERAL_BASE + 4)
#define GUI_LITERAL_Pen_Failed (GUI_LITERAL_BASE + 5)
#define GUI_LITERAL_Open_Failed (GUI_LITERAL_BASE + 6)
#define GUI_LITERAL_File_Name_Colon (GUI_LITERAL_BASE + 7)
#define GUI_LITERAL_Directories_Colon (GUI_LITERAL_BASE + 8)
#define GUI_LITERAL_OK (GUI_LITERAL_BASE + 9)
#define GUI_LITERAL_Cancel (GUI_LITERAL_BASE + 10)
#define GUI_LITERAL_List_Files_of_Type_Colon (GUI_LITERAL_BASE + 11)
#define GUI_LITERAL_Drives_Colon (GUI_LITERAL_BASE + 12)
#define GUI_LITERAL_File_Exists_Replace (GUI_LITERAL_BASE + 13)
#define GUI_LITERAL_FDlg_Save_Text (GUI_LITERAL_BASE + 14)
#define GUI_LITERAL_FDlg_Open_Text (GUI_LITERAL_BASE + 15)
#define GUI_LITERAL_Restore (GUI_LITERAL_BASE + 16)
#define GUI_LITERAL_Move (GUI_LITERAL_BASE + 17)
#define GUI_LITERAL_Size (GUI_LITERAL_BASE + 18)
#define GUI_LITERAL_Minimize (GUI_LITERAL_BASE + 19)
#define GUI_LITERAL_Maximize (GUI_LITERAL_BASE + 20)
#define GUI_LITERAL_Close (GUI_LITERAL_BASE + 21)
#define GUI_LITERAL_NexXt (GUI_LITERAL_BASE + 22)
#define GUI_LITERAL_XClose (GUI_LITERAL_BASE + 23)
#define GUI_LITERAL_XCascade (GUI_LITERAL_BASE + 24)
#define GUI_LITERAL_Tile_XHorz (GUI_LITERAL_BASE + 25)
#define GUI_LITERAL_Tile_XVert (GUI_LITERAL_BASE + 26)
#define GUI_LITERAL_XArrange_Icons (GUI_LITERAL_BASE + 27)
#define GUI_LITERAL_XMore_Windows (GUI_LITERAL_BASE + 28)
#define GUI_LITERAL_Cascade_Hint (GUI_LITERAL_BASE + 29)
#define GUI_LITERAL_Tile_Horz_Hint (GUI_LITERAL_BASE + 30)
#define GUI_LITERAL_Tile_Vert_Hint (GUI_LITERAL_BASE + 31)
#define GUI_LITERAL_Arrange_Icons_Hint (GUI_LITERAL_BASE + 32)
#define GUI_LITERAL_More_Windows_Hint (GUI_LITERAL_BASE + 33)
#define GUI_LITERAL_Window_Name_Hint (GUI_LITERAL_BASE + 34)
#define GUI_LITERAL_Select_Window (GUI_LITERAL_BASE + 35)
#define GUI_LITERAL_XFix_Toolbar (GUI_LITERAL_BASE + 36)
#define GUI_LITERAL_Fix_Toolbar_Hint (GUI_LITERAL_BASE + 37)
#define GUI_LITERAL_XAbort (GUI_LITERAL_BASE + 38)
#define GUI_LITERAL_XIgnore (GUI_LITERAL_BASE + 39)
#define GUI_LITERAL_XNo (GUI_LITERAL_BASE + 40)
#define GUI_LITERAL_XRetry (GUI_LITERAL_BASE + 41)
#define GUI_LITERAL_XYes (GUI_LITERAL_BASE + 42)
#define GUI_LITERAL_Stop_Bang (GUI_LITERAL_BASE + 43)
#define GUI_LITERAL_Exclamation (GUI_LITERAL_BASE + 44)
#define GUI_LITERAL_Colour (GUI_LITERAL_BASE + 45)
#define GUI_LITERAL_Black (GUI_LITERAL_BASE + 46)
#define GUI_LITERAL_Blue (GUI_LITERAL_BASE + 47)
#define GUI_LITERAL_Green (GUI_LITERAL_BASE + 48)
#define GUI_LITERAL_Cyan (GUI_LITERAL_BASE + 49)
#define GUI_LITERAL_Red (GUI_LITERAL_BASE + 50)
#define GUI_LITERAL_Magenta (GUI_LITERAL_BASE + 51)
#define GUI_LITERAL_Brown (GUI_LITERAL_BASE + 52)
#define GUI_LITERAL_White (GUI_LITERAL_BASE + 53)
#define GUI_LITERAL_Grey (GUI_LITERAL_BASE + 54)
#define GUI_LITERAL_BrightBlue (GUI_LITERAL_BASE + 55)
#define GUI_LITERAL_BrightGreen (GUI_LITERAL_BASE + 56)
#define GUI_LITERAL_BrightCyan (GUI_LITERAL_BASE + 57)
#define GUI_LITERAL_BrightRed (GUI_LITERAL_BASE + 58)
#define GUI_LITERAL_BrightMagenta (GUI_LITERAL_BASE + 59)
#define GUI_LITERAL_BrightYellow (GUI_LITERAL_BASE + 60)
#define GUI_LITERAL_BrightWhite (GUI_LITERAL_BASE + 61)
#define GUI_LITERAL_Table_of_Contents (GUI_LITERAL_BASE + 62)
#define GUI_LITERAL_ApplIcon (GUI_LITERAL_BASE + 63)
#define GUI_LITERAL_Empty (GUI_LITERAL_BASE + 64)
#define GUI_LITERAL_Blank (GUI_LITERAL_BASE + 65)
#define GUI_LITERAL_Windows_Dialog_Font (GUI_LITERAL_BASE + 66)
#define GUI_LITERAL_OS2_Dialog_Font (GUI_LITERAL_BASE + 67)
There are two versions GUI and UI. You check only UI version which compile without problem, but GUI version is failing. Check bld/gui/win/nt386/guimsgs.grh
Check bld/gui/win/nt386/guimsgs.grh
bld/gui/win/nt386/guimsgs.grh is missing
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> ls bld/gui/win/nt386/guimsgs.grh
ls: cannot access 'bld/gui/win/nt386/guimsgs.grh': No such file or directory
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> ls bld/gui/win/nt386
makefile
Check gui project build log if in bld/gui/win/nt386 is builded objects.
Check gui project build log if in bld/gui/win/nt386 is builded objects.
there is only a makefile
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> ls bld/gui/win/nt386/guimsgs.grh
ls: cannot access 'bld/gui/win/nt386/guimsgs.grh': No such file or directory
linux@DESKTOP-G8ILNGQ:~/temp/open-watcom-v2_dev/open-watcom-v2> ls bld/gui/win/nt386
makefile
i can't find any reference of win/nt386
or similar patterns in bld/gui/build.lo1
but many to the other existing ui/nt386
(just to show that im searching correct)
OK, it looks like GUI build is suppressed. Check in your configuration script if you don't use following environment variables (should be commented out)
# export OWNOWGML=1
# export OWGUINOBUILD=1
# export OWNOBUILD=
if they are not commented then give me your setup.
OK, it looks like GUI build is suppressed. Check in your configuration script if you don't use following environment variables (should be commented out)
# export OWNOWGML=1 # export OWGUINOBUILD=1 # export OWNOBUILD=
if they are not commented then give me your setup.
you right ;/
and dosbox is active
i tested too much and didn't started freshly
rebuild now with fresh pull + only OW ROOT changed and dosbox active
I see, the issue is with OWGUINOBUILD=1. I will fix it because in aui project is incorrectly build GUI version even if it is suppressed by OWGUINOBUILD=1.
Please try to rebuild with existing setup with corrected make files.
Please try to rebuild with existing setup with corrected make files.
already started with the minimal setvars - will do after with the setvars.sh version that get the errors
If you removed OWGUINOBUILD=1 then it will be build all GUI tools that this issue cannot happen. Now build with OWGUINOBUILD=1 should works correctly.
latest Tumbleweed with all build essentials + gcc 14.2 + dosbox installed
(didn't copied the setvars.sh)
returns