[Nut-upsdev] problem with compiling on Cygwin64

Charles Lepple
Sat, 24 Oct 2015 12:58:07 -0000

On Oct 23, 2015, at 4:18 PM, Walter Literowich <wliterow at gmail.com>
wrote:
>
> Making all in drivers
> make[1]: Entering directory '/cygdrive/c/nut/drivers'
> gcc -g -O2 -Wall -Wsign-compare    usbhid-ups.c   -o usbhid-ups
> In file included from usbhid-ups.c:32:0:
> main.h:4:20: fatal error: common.h: No such file or directory
> #include "common.h"

That is a much more basic problem, since common.h is part of NUT itself. Can you
gzip and send the config.log from Cygwin?

Also, I am surprised to see that the configure script decided that it could
build the USB drivers. Which version of libusb do you have installed?