stephane / libmodbus

A Modbus library for Linux, Mac OS, FreeBSD and Windows
http://libmodbus.org
GNU Lesser General Public License v2.1
3.33k stars 1.71k forks source link

winsock2.h issue on cygwin and win 7 #30

Closed huseyinkozan closed 11 years ago

huseyinkozan commented 12 years ago

checking winsock2.h usability... no checking winsock2.h presence... yes configure: WARNING: winsock2.h: present but cannot be compiled configure: WARNING: winsock2.h: check for missing prerequisite headers? configure: WARNING: winsock2.h: see the Autoconf documentation configure: WARNING: winsock2.h: section "Present But Cannot Be Compiled" configure: WARNING: winsock2.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------------------------------- ------ ## configure: WARNING: ## Report this to https://github.com/stephane/libmodbus/ issues ## configure: WARNING: ## ----------------------------------------------------- ------ ## checking for winsock2.h... no checking whether TIOCSRS485 is declared... no configure: creating ./config.status

stephane commented 11 years ago

Clearly to late to answer it but your cygwin installation is incomplete.