You need to make a couple of minor changes to the DoT source to compile under Cygwin.
For some reason we have yet to establish, MCCP doesn't work under Cygwin, so edit the file descript.h and add one line (around line 17) ...
Also the set_itimer function doesn't work, so edit the file update.cpp and add one line (around line 98) ...
Then you should be able to compile. Change to the configure directory and run the configure script ...
Then change back to the source directory and run "make" ...
For some reason we have yet to establish, MCCP doesn't work under Cygwin, so edit the file descript.h and add one line (around line 17) ...
/**************************************************************************/
//typedef unsigned int SOCKET;
/**************************************************************************/
#define DISABLE_MCCP // add this line
#ifndef DISABLE_MCCP // define this in your project to disable MCCP
Also the set_itimer function doesn't work, so edit the file update.cpp and add one line (around line 98) ...
/**************************************************************************/
/* Set the virtual (CPU time) timer to the standard setting, ALARM_FREQUENCY */
void reset_itimer ()
{
struct itimerval itimer;
itimer.it_interval.tv_usec = 0; /* miliseconds */
itimer.it_interval.tv_sec = ALARM_FREQUENCY;
itimer.it_value.tv_usec = 0;
itimer.it_value.tv_sec = ALARM_FREQUENCY;
return; // doesn't work under Cygwin - add this line
Then you should be able to compile. Change to the configure directory and run the configure script ...
cd configure
./configure
Then change back to the source directory and run "make" ...
cd ..
make