I am trying to compile modules under ser. the name of the module is auth_radius.
and i am receiving this error. make ../../Makefile.modules:21: "you should run make from the main ser directory" gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"auth_radius.so"' -DVERSION='"0.8.14"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -c authrad_mod.c -o authrad_mod.o authrad_mod.c: In function `mod_init': authrad_mod.c:111: `DICT_VENDOR' undeclared (first use in this function) authrad_mod.c:111: (Each undeclared identifier is reported only once authrad_mod.c:111: for each function it appears in.) authrad_mod.c:111: `vend' undeclared (first use in this function) authrad_mod.c:135: warning: assignment makes pointer from integer without a cast authrad_mod.c:140: too many arguments to function `rc_conf_str' authrad_mod.c:140: too many arguments to function `rc_read_dictionary' authrad_mod.c:145: warning: implicit declaration of function `rc_dict_findvend' authrad_mod.c:163: too many arguments to function `rc_dict_findattr' authrad_mod.c:163: too many arguments to function `rc_dict_findval' make: *** [authrad_mod.o] Error 1
Any help will be appreciated. thanks
--------------------------------- Do you Yahoo!? Better first dates. More second dates. Yahoo! Personals
Looks like you're missing the radiusclient library.
Grab and install this if you don't have it: http://download.berlios.de/radiusclient-ng/radiusclient-0.4.8.tar.gz
-Evan
Alex wrote:
I am trying to compile modules under ser. the name of the module is auth_radius.
and i am receiving this error. make ../../Makefile.modules:21: "you should run make from the main ser directory" gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"auth_radius.so"' -DVERSION='"0.8.14"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -c authrad_mod.c -o authrad_mod.o authrad_mod.c: In function `mod_init': authrad_mod.c:111: `DICT_VENDOR' undeclared (first use in this function) authrad_mod.c:111: (Each undeclared identifier is reported only once authrad_mod.c:111: for each function it appears in.) authrad_mod.c:111: `vend' undeclared (first use in this function) authrad_mod.c:135: warning: assignment makes pointer from integer without a cast authrad_mod.c:140: too many arguments to function `rc_conf_str' authrad_mod.c:140: too many arguments to function `rc_read_dictionary' authrad_mod.c:145: warning: implicit declaration of function `rc_dict_findvend' authrad_mod.c:163: too many arguments to function `rc_dict_findattr' authrad_mod.c:163: too many arguments to function `rc_dict_findval' make: *** [authrad_mod.o] Error 1
Any help will be appreciated. thanks
Do you Yahoo!? Better first dates. More second dates. Yahoo! Personals http://us.rd.yahoo.com/evt=27808/*http://personals.yahoo.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers