[Nut-upsdev] Re: "make usb" fails

Peter Selinger selinger at mathstat.dal.ca
Sun Apr 16 16:39:25 UTC 2006


Charles Lepple wrote:
> 
> On 4/14/06, Carlos Rodrigues <carlos.efr at mail.telepac.pt> wrote:
> > It fixes the error. But on the other hand, it throws a bunch of
> > warnings, several times the following:
> >
> > In file included from newhidups.c:25:
> > libhid.h:47: warning: redefinition of `u_int16_t'
> > /usr/include/sys/types.h:198: warning: `u_int16_t' previously declared he=
> re
> 
> The problem is that the #ifdef checks for a preprocessor definition of
> u_int16_t, whereas most of the time it will be defined with a typedef.

Indeed. I just committed some autoconf magic that should solve this
problem. Carlos, please re-run ./configure and "make usb" and let me
know if you get any further complaints from your compiler. -- Peter



More information about the Nut-upsdev mailing list