On 4/14/06, Carlos Rodrigues <carlos.efr@mail.telepac.pt>
wrote:> While trying to compile newhidups, I get this error...
>
> carlos@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