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

Carlos Rodrigues carlos.efr at mail.telepac.pt
Sun Apr 16 18:08:33 UTC 2006


No more warnings now.

On 4/16/06, Peter Selinger <selinger at mathstat.dal.ca> wrote:
> 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
>


--
Carlos Rodrigues



More information about the Nut-upsdev mailing list