libusb do you have installed >>> 1.2.6.0-2
./configure --with-drivers=usbhid-ups
Configuration summary:
==
build serial drivers: yes
build USB drivers: yes
build SNMP drivers: no
build neon based XML driver: yes
enable Avahi support: no
build Powerman PDU client driver: no
build IPMI driver: no
build Mac OS X meta-driver: no
build i2c based drivers: no
enable SSL support: yes (OpenSSL)
enable libwrap (tcp-wrappers) support: no
enable libltdl (Libtool dlopen abstraction) support: yes
build nut-scanner: yes
build CGI programs: no
build and install documentation: no
build and install the development files: no
only build specific drivers: usbhid-ups
Making all in drivers
make[1]: Entering directory '/cygdrive/c/nut/drivers'
gcc -g -O2 -Wall -Wsign-compareusbhid-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"
^
compilation terminated.
: recipe for target 'usbhid-ups' failed
make[1]: *** [usbhid-ups] Error 1
make[1]: Leaving directory '/cygdrive/c/nut/drivers'
Makefile:513: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
-Original Message-
From: Charles Lepple [mailto:clep...@gmail.com]
Sent: Saturday, October 24, 2015 8:58 AM
To: Walter Literowich
Cc: nut-upsdev@lists.alioth.debian.org
Subject: Re: [Nut-upsdev] problem with compiling on Cygwin64
On Oct 23, 2015, at 4:18 PM, Walter Literowich <wlite...@gmail.com> wrote:
>
> Making all in drivers
> make[1]: Entering directory '/cygdrive/c/nut/drivers'
> gcc -g -O2 -Wall -Wsign-compareusbhid-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?
--
Charles Lepple
clepple@gmail
config.log.gz
Description: Binary data
___
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev