I want both Mysql & Radius Modules on SER 0.9.0, just changed system into Debian Sarge, i have all libraries and rest of reqs as it says, while compiling on Red Hat 9.0 - ES 3.0 - CentOS or Mandrake 9.1 - 10.0 it never happened but now on Debian i meet below problems :(
 
static_modules=
static_modules_path=$(addprefix modules/, $(static_modules))
extra_sources=$(wildcard $(addsuffix /*.c, $(static_modules_path)))
extra_objs=$(extra_sources:.c=.o)

static_defs= $(foreach  mod, $(static_modules), \
-DSTATIC_$(shell echo $(mod) | tr [:lower:] [:upper:]) )

override extra_defs+=$(static_defs) $(EXTRA_DEFS)
export extra_defs

modules=$(filter-out $(addprefix modules/, \
$(exclude_modules) $(static_modules)), \    <<<<<<<<<<<<<<<<<<<<<< this is line 77 <<<<<<<<<<<
   $(wildcard modules/*))
modules:=$(filter-out $(modules), $(addprefix modules/, $(include_modules) )) \
$(modules)
modules_names=$(shell echo $(modules)| \
sed -e 's/modules\/\([^/ ]*\)\/*/\1.so/g' )
modules_basenames=$(shell echo $(modules)| \
sed -e 's/modules\/\([^/ ]*\)\/*/\1/g' )
#modules_names=$(patsubst modules/%, %.so, $(modules))
modules_full_path=$(join  $(modules), $(addprefix /, $(modules_names)))
 
rapid:/ser-0.9.0# make modules=modules/mysql modules
 

make[1]: Entering directory `/ser-0.9.0/modules/mysql'
../../Makefile.rules:77: dbase.d: No such file or directory
../../Makefile.rules:77: db_con.d: No such file or directory
../../Makefile.rules:77: db_mod.d: No such file or directory
../../Makefile.rules:77: my_con.d: No such file or directory
../../Makefile.rules:77: my_id.d: No such file or directory
../../Makefile.rules:77: my_pool.d: No such file or directory
../../Makefile.rules:77: res.d: No such file or directory
../../Makefile.rules:77: row.d: No such file or directory
../../Makefile.rules:77: utils.d: No such file or directory
../../Makefile.rules:77: val.d: No such file or directory
make[1]: Leaving directory `/ser-0.9.0/modules/mysql'
make[1]: Entering directory `/ser-0.9.0/modules/mysql'