Problems integrating RADIUS module with freeradius 3.0.12 on Ubuntu Linux
Hi, I am trying to integrate module (outside freeradius source tree) with freeradius 3.0.12. On compilation found few header files which are necessary for the module are missing and so updated freeradius source code to make them available for the module. Also updated libradius.h & radiusd.h file with the changes suggested here <https://github.com/FreeRADIUS/freeradius-server/pull/1418> to avoid below error *libradius.h:22:21: error: expected ‘)’ before string constant* *RCSIDH(libradius_h, "$Id: d356b97f983fba4421176d6b637bdd907ad36279 $") ^* Now I got stuck with the below error. */usr/include/freeradius/threads.h:30:4: error: #error WITH_THREADS defined, but pthreads not available* * # error WITH_THREADS defined, but pthreads not available* Can someone help me on this... Thanks..
On May 23, 2017, at 8:21 AM, kiran kumar <kirankumar9856@gmail.com> wrote:
I am trying to integrate module (outside freeradius source tree)
Don't do that. The build system is designed to build modules in the source tree. If you're doing something else, either: a) build the module in the source tree or b) fix the build system to allow "out of tree" builds. Of the two options, (a) is the easiest. Alan DeKok.
participants (2)
-
Alan DeKok -
kiran kumar