You cannot compile this program on DOS directly, you need a win32 environment.
See below for more information. You need DJGPP for a compilaton.

The DOS/DJGPP have been made with help from 
		Alex Kopylov <reanimatolog@yandex.ru>

You may like to check his Web Page: http://bootcd.narod.ru/index_e.htm too.

Compilation under DJGPP is fully integrated into the Schily Makefile System, however
you need to use 'smake' (version 1.2a20 or newer). It seems that GNU make and other 
make programs don't work.

As the file names of a typical UNIX project don't fit into the DOS 8.3 naming scheme,
you must have long names support, i.e. you must use a Windows DOS-box instead pure DOS
       
To compile under DJGPP, install the following DJGPP packages:

       ftp://ftp.delorie.com/pub/djgpp/alpha/v2/djdev204.zip
       ftp://ftp.delorie.com/pub/djgpp/alpha/v2gnu/bsh205bb.zip (do not use bsh204b.zip!)
       ftp://ftp.delorie.com/pub/djgpp/alpha/v2gnu/mak380b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bnu214b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/dif28b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/fil41b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gcc322b.zip (do not use gcc323b.zip, gcc331b.zip, gcc332b.zip!)
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gpp322b.zip (do not use gpp323b.zip, gpp331b.zip, gpp332b.zip!)
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/grep24b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/gwk311b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/sed407b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/shl2011b.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/tar112ab.zip
       ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/txt20b.zip

Note that these are the best files on 1.12.2003, things may change in future.
       
-	Unpack the source archive using command:
       
		tar -xpz < package-name.tar.gz

	Note that this assumes a special hacked GNU tar version for DOS/DJGPP.
	DOS/DJGPP does not have symbolic links and this hacked version of
	GNU tar seems to copy files where symbolic links point to. It is not
	clear if this works as expected if a symbolic link appears in the tar
	archive before the file it points to.

	If you like to use star, you need star-1.5a36 or newer. Star for some
	time includes an option -copy-links that copies files symbolic links
	point to. Use a command line like:

		star -xpz -copy-links < package-name.tar.gz

	Note that at least with star, you need to call the command above two
	times to make sure that star is able to find a file to copy for every
	symbolic link in the tar archive.
       
- enter 'smake' command in top level directory of the unpacked project.

	Note that in case you don't have a 'smake' binary for DOS, you need to
	compile one before or fetch a binary from:

		 http://bootcd.narod.ru/index_e.htm

In order to run commands on MS-DOS that use SCSI commands, you must have an
ASPI manager installed in your config.sys. For example:

       SCSI devices: 

       device = aspi2dos.sys (not tested!)
       device = aspi4dos.sys (not tested!)
       device = aspi8dos.sys
       device = aspi8u2.sys (not tested!)

       ATAPI devices:
       
       device = oakaspi.sys
       
       USB devices:
       
       device = usbaspi.sys (not tested!)

The ASPI managers may be fetched from  http://bootcd.narod.ru/index_e.htm

