Apologies for bumping this, but I'm trying to compile the DOS version of D1X and there's a problem I cannot figure out how to solve.
First off, I need to note that the code from the GitHub repo seems no longer suitable for use with DJGPP 2.x, presumably because of the changes which were made to the code for compatibility with newer compilers (this fork, albeit with less changes, does not work either).
Because of this, I had to use the code from Jeremy Stanley's page. My DJGPP setup:
djdev202.zip
bnu281b.zip
gcc281b.zip
gpp281b.zip
mak3761b.zip - version 3.75 works but does not fully support makefile features
nasm097.zip - later versions won't work
The thing is, individual components from the sub-folders compile fine without errors and populate the lib directory with .a files, but when make tries to put together the final binary from these, for some reason it spews out lots of errors concerning "undefined reference" to variables from all sorts of places:
Any suggestion of what I might be doing wrong? I'm using DOSBox-X for compiling, because of its built-in LFN support (needed for GPP).