Problem with custom accounting module.

Alan DeKok aland at deployingradius.com
Sat Apr 19 02:41:10 CEST 2014


Bill Schoolfield wrote:
> Well this has turned out to be some sort of linkage/compile issue. On
> the same server, I can build the shared library for our module from
> either the source tree from our application or the source tree from
> freeradius. Building from freeradius works. The other way does not...

  It's probably a header issue.  Building from within your application
probably misses some headers, so the REQUEST structure ends up being a
different size.

> Best I can tell the same includes and libraries are used. A ldd of both
> .so files show commonality though our app has many more referenced
> libraries. I wonder if we've got a namespace collision somewhere.
> 
> Anybody got a suggestion for where to look?

  Not really.  In v2, the modules *might* build outside of the server
source.  In v3, they will not.

  Alan DeKok.


More information about the Freeradius-Devel mailing list