[Asterisk-Dev] getloadavg() in pbx.c breaks MIPSEL builds

Jerris, Michael MI mjerris at ofllc.com
Sun Oct 30 16:25:38 MST 2005


> Jason Pyeron
> 
> it also breaks cygwin
> 
> On Sun, 30 Oct 2005, Brian Capouch wrote:
> 
> > FYI I can't find getloadavg in the ulibc libraries on any of my 
> > MIPSEL-based embedded distros.
> >
> > That causes pbx.c to break in the code for the new 
> option_maxload code. . .
> >
> > I hotwired the return value for now as a workaround.
> >
>

Also on solaris, you likely need to include sys/loadavg.h.  For other
platfroms where this is not available, we will just need to hardcode a
return.  



More information about the asterisk-dev mailing list