I have downloaded antidote-2.0.0. and running make on it, I am getting following error.
$ make
Making all in src
make[1]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src'
Making all in dim
make[2]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/dim'
CC dim.lo
gcc: error: unrecognized command line option '-pthread'
Makefile:350: recipe for target 'dim.lo' failed
make[2]: *** [dim.lo] Error 1
make[2]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/dim'
Makefile:848: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src'
Makefile:318: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
$ make
Making all in src
make[1]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src'
Making all in dim
make[2]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/dim'
CC dim.lo
CC dimutil.lo
CC pmstore.lo
CC pmsegment.lo
CC cfg_scanner.lo
CC epi_cfg_scanner.lo
CC mds.lo
CC metric.lo
CC numeric.lo
CC rtsa.lo
CC enumeration.lo
CC peri_cfg_scanner.lo
CC scanner.lo
make[2]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/dim'
Making all in util
make[2]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/util'
CC bytelib.lo
CC dateutil.lo
CC ioutil.lo
CC linkedlist.lo
CC strbuff.lo
make[2]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/util'
Making all in communication
make[2]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication'
Making all in parser
make[3]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication/parser'
CC decoder_ASN1.lo
CC struct_cleaner.lo
CC encoder_ASN1.lo
make[3]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication/parser'
Making all in plugin
make[3]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication/plugin'
Making all in usb
make[4]: Entering directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication/plugin/usb'
CC libusbplugin_la-plugin_usb.lo
In file included from /usr/include/w32api/minwindef.h:146:0,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /usr/include/libusb-1.0/libusb.h:70,
from usb_phdc_drive.h:31,
from plugin_usb.c:49:
/usr/include/w32api/winnt.h:380:17: error: conflicting types for 'HANDLE'
typedef void *HANDLE;
^
In file included from ../../../../src/util/bytelib.h:38:0,
from ../../../../src/communication/plugin/plugin.h:38,
from plugin_usb.c:45:
../../../../src/asn1/phd_types.h:64:16: note: previous declaration of 'HANDLE' was here
typedef intu16 HANDLE;
^
In file included from /usr/include/w32api/windows.h:71:0,
from /usr/include/libusb-1.0/libusb.h:70,
from usb_phdc_drive.h:31,
from plugin_usb.c:49:
plugin_usb.c: In function 'data_received':
plugin_usb.c:337:3: error: called object is not a function or function pointer
ERROR("Data length <= 0");
^
plugin_usb.c:356:3: error: called object is not a function or function pointer
ERROR("Unknown channel");
^
plugin_usb.c: In function 'channel_closed':
plugin_usb.c:418:3: error: called object is not a function or function pointer
ERROR("Unknown device");
^
plugin_usb.c: In function 'get_apdu':
plugin_usb.c:566:3: error: called object is not a function or function pointer
ERROR("network:usb Error creating bytelib");
^
plugin_usb.c: In function 'channel_connected':
plugin_usb.c:618:3: error: called object is not a function or function pointer
ERROR("Channel from unknown device");
^
Makefile:390: recipe for target 'libusbplugin_la-plugin_usb.lo' failed
make[4]: *** [libusbplugin_la-plugin_usb.lo] Error 1
make[4]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication/plugin/usb'
Makefile:389: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication/plugin'
Makefile:402: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src/communication'
Makefile:848: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/d/antidote-2.0.0/antidote-2.0.0/src'
Makefile:318: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
I am Having win7-64 bit with latest cygwin installation.