[Nut-upsdev] problem with compiling on Cygwin64
Charles Lepple
clepple at gmail.com
Fri Oct 23 02:12:35 UTC 2015
[please use reply-all to include the list - the NUT lists do not add a reply-to header.]
On Oct 22, 2015, at 8:06 PM, Walter Literowich <wliterow at gmail.com> wrote:
>
> In file included from genericups.c:24:0:
> genericups.h:147:4: error: ‘TIOCM_ST’ undeclared here (not in a function)
> TIOCM_ST /* shutdown: ST */
>
The "TIOCM_ST" flag should be defined in sys/termios.h - what did the ./configure script print when looking for that header?
If you don't need the serial drivers, you can build just a subset of them as follows:
./configure --with-drivers=dummy-ups,usbhid-ups
--
Charles Lepple
clepple at gmail
More information about the Nut-upsdev
mailing list