I'm on Debian Sarge, i want to build SER modules, radius and mysql and jabber in one time. With Mandrake and Red Hat there was no problem but now experiencing difficulties with Debian and can't find information regarding to this...
rapid:/ser-0.9.0# make modules=modules/mysql modules >> it's done without problems :)
rapid:/ser-0.9.0# make modules=modules/auth_radius modules
make[1]: Entering directory `/ser-0.9.0/modules/auth_radius' make[1]: Leaving directory `/ser-0.9.0/modules/auth_radius' make[1]: Entering directory `/ser-0.9.0/modules/auth_radius' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.0"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/ser-0.9.0/include -c authorize.c -o authorize.o gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -mcpu=athlon -DNAME='"ser"' -DVERSION='"0.9.0"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DDBG_QM_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/ser-0.9.0/include -c authrad_mod.c -o authrad_mod.o authrad_mod.c: In function `mod_init': authrad_mod.c:110: error: `DICT_VENDOR' undeclared (first use in this function) authrad_mod.c:110: error: (Each undeclared identifier is reported only once authrad_mod.c:110: error: for each function it appears in.) authrad_mod.c:110: error: `vend' undeclared (first use in this function) authrad_mod.c:134: warning: assignment makes pointer from integer without a cast authrad_mod.c:139: error: too many arguments to function `rc_conf_str' authrad_mod.c:139: error: too many arguments to function `rc_read_dictionary' authrad_mod.c:144: warning: implicit declaration of function `rc_dict_findvend' authrad_mod.c:159: error: too many arguments to function `rc_dict_findattr' authrad_mod.c:159: error: too many arguments to function `rc_dict_findval' make[1]: *** [authrad_mod.o] Error 1 make[1]: Leaving directory `/ser-0.9.0/modules/auth_radius' rapid:/ser-0.9.0#
Make sure you have radiusclient-ng installed:
http://developer.berlios.de/projects/radiusclient-ng
and not the radiusclient library shiped with debian.
Jan.
On 04-05-2005 16:43, Ozan Blotter wrote:
I have been same problem with Debian ! Solution is to install the follow package : radiusclient-0.4.8.tar.gz because radiusclientng don't work correctly !
-----Original Message----- From: Jan Janak jan@iptel.org To: Ozan Blotter cosmocid@ispro.net.tr Cc: serusers@lists.iptel.org Date: Thu, 5 May 2005 23:02:44 +0200 Subject: Re: [Serusers] 0.9.0 Source and Debian Sarge Compile Problems (Jabber & MySql & Radius)