Build a custom module

Doug Hardie bc979 at lafn.org
Wed Jul 4 01:07:02 CEST 2007


On Jul 3, 2007, at 07:25, <baki at enternet.hu> <baki at enternet.hu> wrote:

> Hello!
>
> I am developing a custom module for Debian 4.0 with preinstalled  
> FreeRADIUS 1.1.3,
> but if I build and install my module I get a segmentation fault.
> Is there a way to build a custom module, and use it with a  
> preinstalled FreeRADIUS?

You may need to include -DNDEBUG in the Makefile depending on how the  
base system was built.  Having that set wrong will definitely cause a  
seg fault.  You also need the header files from that specific version  
as later versions have made significant changes to some of the  
structures.  The method I use to build modules is shown in the Wiki.



More information about the Freeradius-Users mailing list