[Nut-upsdev] "make usb" fails

Carlos Rodrigues carlos.efr at mail.telepac.pt
Fri Apr 14 22:35:43 UTC 2006


While trying to compile newhidups, I get this error...

carlos at rhea:~/dev/nut/svn/trunk$ make usb
make[1]: Entering directory `/home/carlos/dev/nut/svn/trunk/drivers'
gcc -I../include -O -Wall -Wsign-compare  -c newhidups.c
In file included from newhidups.c:25:
libhid.h:46: error: syntax error before "u_int16_t"
libhid.h:46: warning: useless keyword or type name in empty declaration
libhid.h:46: warning: empty declaration
libhid.h:50: error: syntax error before "u_int8_t"
libhid.h:50: warning: useless keyword or type name in empty declaration
libhid.h:50: warning: empty declaration
make[1]: *** [newhidups.o] Error 1
make[1]: Leaving directory `/home/carlos/dev/nut/svn/trunk/drivers'

I can't seem to make this go away.

--
Carlos Rodrigues



More information about the Nut-upsdev mailing list