Author: techfox9

apache mod_radius compile / build problem..

Friday, June 12th, 2009 @ 4:40 pm

The mod_radius source code is named

mod_auth_radius-2.0.c

See http://freeradius.org/mod_auth_radius/ (as of today..)

When running this configuration with apache httpd:

./configure \
  --prefix=/usr/local/httpd-2.2.11 \
  --enable-ssl=shared \
  --with-module=aaa:mod_auth_radius-2.0.c

We get an entry in modules.c like this:

extern module auth_radius-2.0_module;

The compiler blows up on this line.

Furthermore..

After renaming the source file to

mod_auth_radius_2_0.c

The linker blows up because the internal name
of the module (inside the mod_auth_radius-2.0.c
file) is this:

module AP_MODULE_DECLARE_DATA radius_auth_module;

which does not match the name of the file.
If we leave the internal name alone, the name
of the file must be:

mod_radius_auth.c

One more thing.. I do not see how this could have built with
apache 2.0 (as opposed to 2.2) since the 2.0.63 does not
contain mod_auth.h which is required by mod_radius..

Funky..

Uncategorized


 


Comments are closed.