Build a custom module
baki at enternet.hu
baki at enternet.hu
Wed Jul 4 09:15:38 CEST 2007
I use the makefile from the wiki, it includes -DNDEBUG.
If I build freeradius and install on a fresh netinst Debian (without freeradius),
my module works fine. But if I build only the module and use with a preinstalled
freeradius, I get a segfault.
Baki
On Tue, 3 Jul 2007 16:07:02 -0700, Doug Hardie <bc979 at lafn.org> wrote:
>
> 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.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list