I am trying to compile the latest nut version on Cygwin64 and have run into his issue
Any Ideas?? gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include/neon -g -O2 -Wall -Wsign-compare -MT genericups.o -MD -MP -MF $depbase.Tpo -c -o genericups.o genericups.c &&\ mv -f $depbase.Tpo $depbase.Po 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 */ ^ genericups.c: In function 'parse_output_signals': genericups.c:66:9: error: invalid operands to binary | (have 'int' and 'struct <anonymous> *') *line |= TIOCM_ST; ^ genericups.c:66:3: warning: statement with no effect [-Wunused-value] *line |= TIOCM_ST; ^ genericups.c: In function 'upsdrv_shutdown': genericups.c:280:12: warning: comparison between pointer and integer if (flags == TIOCM_ST) { ^ Makefile:1448: recipe for target 'genericups.o' failed make[1]: *** [genericups.o] Error 1 make[1]: Leaving directory '/cygdrive/c/nut/drivers' Makefile:513: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
_______________________________________________ Nut-upsdev mailing list Nut-upsdev@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev