Discussion:
Trap build error
(too old to reply)
Jonathan Bailey
2012-04-29 23:13:35 UTC
Permalink
The builds of openwatcom have been running fine until just a day or so
ago, everything builds ok until this point:

========= 01:15:46 c:\winrott3\openwa~1\trunk\bld\trap\lcl\rdos\std
=========
bwcl386 -l=nt -Ic:\owcurrent\h -Ic:\winrott3\openwa~1\trunk\bld\watcom\h
-zq -fpi -ox -w8 -fe=.\mkstr.exe
-I"c:\winrott3\openwa~1\trunk\bld\trap/h"
c:\winrott3\openwa~1\trunk\bld\trap\c\mkstr.c
.\mkstr.exe _err.gh
cc rdosstrt.obj
cc mxutil.obj
cc x86cpu.obj
cc task.obj
cc globals.obj
cc debug.obj
cc accmisc.obj
cc accload.obj
cc accio.obj
cc accfinfo.obj
cc accenv.obj
cc accbrwat.obj
cc accrun.obj
cc accasync.obj
cc accregs.obj
cc accmap.obj
cc accredir.obj
cc accmem.obj
cc accrtrd.obj
cc supphdlr.obj
cc supp.obj
cc core.obj
%create std.lnk
wlink op q @std.lnk
Error! E2028: F8InvalidOp is an undefined reference
file math3r.lib(fdld386): undefined symbol F8InvalidOp
file math3r.lib(fldd386): undefined symbol F8InvalidOp
Error(E42): Last command making (std.dll;w) returned a bad status
Error(E02): Make execution terminated
<pmake -d build -h> => non-zero return: 2
Build failed

I've tried completely re-downloading the bld directory to get rid of any
bad files, but I'm still getting this error, the math libs seem to
build ok.

Any help will be greatly appreciated!

Thanks!
John
Jiri Malak
2012-04-30 06:13:25 UTC
Permalink
It looks like some component is old version.
Trap project uses freshly created clib and mathlib for RDOS.
Try to rebuild (clean it before) clib and mathlib.

Jiri
Post by Jonathan Bailey
The builds of openwatcom have been running fine until just a day or so
========= 01:15:46 c:\winrott3\openwa~1\trunk\bld\trap\lcl\rdos\std
=========
bwcl386 -l=nt -Ic:\owcurrent\h -Ic:\winrott3\openwa~1\trunk\bld\watcom\h -zq
-fpi -ox -w8 -fe=.\mkstr.exe -I"c:\winrott3\openwa~1\trunk\bld\trap/h"
c:\winrott3\openwa~1\trunk\bld\trap\c\mkstr.c
.\mkstr.exe _err.gh
cc rdosstrt.obj
cc mxutil.obj
cc x86cpu.obj
cc task.obj
cc globals.obj
cc debug.obj
cc accmisc.obj
cc accload.obj
cc accio.obj
cc accfinfo.obj
cc accenv.obj
cc accbrwat.obj
cc accrun.obj
cc accasync.obj
cc accregs.obj
cc accmap.obj
cc accredir.obj
cc accmem.obj
cc accrtrd.obj
cc supphdlr.obj
cc supp.obj
cc core.obj
%create std.lnk
Error! E2028: F8InvalidOp is an undefined reference
file math3r.lib(fdld386): undefined symbol F8InvalidOp
file math3r.lib(fldd386): undefined symbol F8InvalidOp
Error(E42): Last command making (std.dll;w) returned a bad status
Error(E02): Make execution terminated
<pmake -d build -h> => non-zero return: 2
Build failed
I've tried completely re-downloading the bld directory to get rid of any
bad files, but I'm still getting this error, the math libs seem to
build ok.
Any help will be greatly appreciated!
Thanks!
John
Jonathan Bailey
2012-04-30 12:12:15 UTC
Permalink
Post by Jiri Malak
It looks like some component is old version.
Trap project uses freshly created clib and mathlib for RDOS.
Try to rebuild (clean it before) clib and mathlib.
Jiri
Post by Jonathan Bailey
The builds of openwatcom have been running fine until just a day or so
========= 01:15:46 c:\winrott3\openwa~1\trunk\bld\trap\lcl\rdos\std
=========
bwcl386 -l=nt -Ic:\owcurrent\h -Ic:\winrott3\openwa~1\trunk\bld\watcom\h -zq
-fpi -ox -w8 -fe=.\mkstr.exe -I"c:\winrott3\openwa~1\trunk\bld\trap/h"
c:\winrott3\openwa~1\trunk\bld\trap\c\mkstr.c
.\mkstr.exe _err.gh
cc rdosstrt.obj
cc mxutil.obj
cc x86cpu.obj
cc task.obj
cc globals.obj
cc debug.obj
cc accmisc.obj
cc accload.obj
cc accio.obj
cc accfinfo.obj
cc accenv.obj
cc accbrwat.obj
cc accrun.obj
cc accasync.obj
cc accregs.obj
cc accmap.obj
cc accredir.obj
cc accmem.obj
cc accrtrd.obj
cc supphdlr.obj
cc supp.obj
cc core.obj
%create std.lnk
Error! E2028: F8InvalidOp is an undefined reference
file math3r.lib(fdld386): undefined symbol F8InvalidOp
file math3r.lib(fldd386): undefined symbol F8InvalidOp
Error(E42): Last command making (std.dll;w) returned a bad status
Error(E02): Make execution terminated
<pmake -d build -h> => non-zero return: 2
Build failed
I've tried completely re-downloading the bld directory to get rid of any
bad files, but I'm still getting this error, the math libs seem to
build ok.
Any help will be greatly appreciated!
Thanks!
John
-----------------------------------------------

Thanks for the reply, but I've already tried cleaning and as I already
stated, I deleted the entire source code tree and did a full
re-download, still no luck the libs seem to build with no errors.
Jiri Malak
2012-04-30 12:36:21 UTC
Permalink
You must have some local problem.

Please open file bld\trap\lcl\rdos\std\std.lnk
It should contain line like
sys rdos_dll export TrapInit_ export TrapFini_ export TrapRequest_ op
offset=0xdb000000 libpath c:\dev\owbuilder\bld\clib/library/rdos.386/mf_r
libpath must point to new library for RDOS, check if it is realy rebuild.

Next open file bld\trap\lcl\rdos\std\std.map
It should contain lines like
+--------------------+
| Libraries Used |
+--------------------+

c:\dev\owbuilder\bld\clib/library/rdos.386/mf_r\clib3r.lib
c:\dev\owbuilder\pass1/lib386\math3r.lib

Both libraries must be new library (no OW 1.9 reference), check time/date of
files to be sure that they were rebuild.

If it is OK then problem must be in compiled libraries.
Please attach here content of bld\trap\lcl\rdos\std\std.map file to be able
analysed what you realy use.

Jiri
Post by Jonathan Bailey
-----------------------------------------------
Thanks for the reply, but I've already tried cleaning and as I already
stated, I deleted the entire source code tree and did a full re-download,
still no luck the libs seem to build with no errors.
Jonathan Bailey
2012-04-30 23:27:08 UTC
Permalink
Post by Jiri Malak
You must have some local problem.
Please open file bld\trap\lcl\rdos\std\std.lnk
It should contain line like
sys rdos_dll export TrapInit_ export TrapFini_ export TrapRequest_ op
offset=0xdb000000 libpath c:\dev\owbuilder\bld\clib/library/rdos.386/mf_r
libpath must point to new library for RDOS, check if it is realy rebuild.
Next open file bld\trap\lcl\rdos\std\std.map
It should contain lines like
+--------------------+
| Libraries Used |
+--------------------+
c:\dev\owbuilder\bld\clib/library/rdos.386/mf_r\clib3r.lib
c:\dev\owbuilder\pass1/lib386\math3r.lib
Both libraries must be new library (no OW 1.9 reference), check time/date of
files to be sure that they were rebuild.
If it is OK then problem must be in compiled libraries.
Please attach here content of bld\trap\lcl\rdos\std\std.map file to be able
analysed what you realy use.
Jiri
Post by Jonathan Bailey
-----------------------------------------------
Thanks for the reply, but I've already tried cleaning and as I already
stated, I deleted the entire source code tree and did a full re-download,
still no luck the libs seem to build with no errors.
---------------------------------

Thanks for the info, I re-checked the lib files against the last build
and sure enough the new libs hadn't been copied over (a glitch I guess),
so I manually copied them over to where they are supposed to be, changed
to the trap dir and typed 'pmake -d build' and it worked this time.

Thanks!
John

Loading...