[Nut-upsdev] Re: "make usb" fails
Carlos Rodrigues
carlos.efr at mail.telepac.pt
Fri Apr 14 22:39:13 UTC 2006
On 4/14/06, Carlos Rodrigues <carlos.efr at mail.telepac.pt> wrote:
> 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.
Well, commenting out both "ifndef" blocks, it builds, but what I want
to know is how to get rid of this error without changing the code (am
I missing something?).
--
Carlos Rodrigues
More information about the Nut-upsdev
mailing list