On 4/18/2014 7:41 PM, Alan DeKok wrote:
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.
Close. Don't know why but not including-DNDEBUG causes the error. What is this define suppose to do? Bill
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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html