Hi serusers,
I encountered the following problem:
I couldn't compile ser-0.8.14 src with radius turned on.
the following error is what i got from the compiling results:
make[1]: Entering directory `/root/ser-0.8.14/modules/uri_radius'
../../Makefile.rules:77: checks.d: No such file or directory
../../Makefile.rules:77: urirad_mod.d: No such file or directory
make[1]: Leaving directory `/root/ser-0.8.14/modules/uri_radius'
make[1]: Entering directory `/root/ser-0.8.14/modules/uri_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='""' -DVERSION='"0.8.14"'
-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_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
checks.c -o checks.o
checks.c:41:26: radiusclient.h: No such file or directory
checks.c: In function `radius_does_uri_exist':
checks.c:51: error: `VALUE_PAIR' undeclared (first use in this function)
checks.c:51: error: (Each undeclared identifier is reported only once
checks.c:51: error: for each function it appears in.)
checks.c:51: error: `received' undeclared (first use in this function)
checks.c:51: warning: left-hand operand of comma expression has no effect
checks.c:52: error: `UINT4' undeclared (first use in this function)
checks.c:52: error: syntax error before "service"
checks.c:77: warning: implicit declaration of function `rc_avpair_add'
checks.c:79: warning: implicit declaration of function `rc_avpair_free'
checks.c:84: error: `service' undeclared (first use in this function)
checks.c:92: warning: implicit declaration of function `rc_auth'
checks.c:92: error: `OK_RC' undeclared (first use in this function)
make[1]: *** [checks.o] Error 1
make[1]: Leaving directory `/root/ser-0.8.14/modules/uri_radius'
running fedora core 2, freeradius server inbuilt with a radiusclient
--
Regards,
Wee Liat