Backporting rlm_rest to 2.1.x

Alan DeKok aland at
Sat Aug 11 08:19:39 CEST 2012

Gavin Alves wrote:
> Can someone kindly give me some hints for getting rlm_rest working with
> freeradius 2.1.

  Don't.  The internal APIs and data structures have changed a LOT from
2.x to 3.0.  Back-porting a module really means re-writing it from scratch.

  Why not just run 3.0?

> Now I get the error below which I can't make head nor tail of.  Is 3.0
> using different compiler options or something?

  3.0 has data structures, functions, and other things that don't exist
in 2.1.  You can't just copy the module.  You have to copy every single
thing it depends on.

  Or, just use 3.0.

  Alan DeKok.

More information about the Freeradius-Devel mailing list