On Wed, Nov 8, 2023 at 3:21 AM Walter Oesch via Freedos-devel <
freedos-devel@lists.sourceforge.net> wrote:

> I want to build the FreeDOS Kernel.
> I use Dosbox in Ubuntu Linux and watcom comiler from FreeDOS, version 1.9.
>
> I changed config.b to use watcom and copied to config.bat, then start with
> buildall.bat.
> The compilation hangs in BOOT/boot.asm:437 Warning Must update constant
> offset (17Bh)...
>
> What did i wrong?
>
> Freundliche Grüsse
> Walter Oesch
>
>
That error means that neither ISFAT12 or ISFAT16 was defined during the
assembly of the boot sector or the boot sector file did not assemble such
that the expected offset to patch by sys is at the same place [either
changes were made, possibly assembled differently, or something else
happened].

You will want to use BUILD.BAT not BUILDALL.BAT as the 1st will build a
kernel as you have configured whereas the second is used to build the
kernel multiple times with different options and compilers. If you have
Ubuntu, it will probably be easier to build directly in Linux as that is
how the CI builds are done on GitHub.  I have never tried building in
DOSBox, but that should not affect the build of the boot sector unless it
is somehow causing build options to not be passed to Nasm.

I will try to replicate this weekend.

Jeremy
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to