It does not compile the module because you probably have incorrect
version of radiusclient library. For stable release you need the
original library (not the one extended by Maxim).
Jan.
On 05-04 20:12, Lambros Lambrinos wrote:
Jan,
Sorry i forgot to cc the list in my earlier message.
I know about the fact that it initially complains about
some missing files but then builds them up.
'make' does not produce any other errors
However, 'make install' produces other types of errors
when compiling the 3 modules in question:
make[1]: Entering directory `/home/ser/ser-0.8.12/modules/acc'
../../Makefile.rules:77: acc.d: No such file or directory
../../Makefile.rules:77: acc_mod.d: No such file or directory
make[1]: Leaving directory `/home/ser/ser-0.8.12/modules/acc'
make[1]: Entering directory `/home/ser/ser-0.8.12/modules/acc'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='"ser"' -DVERSION='"0.8.12"'
-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 -DRAD_ACC -c
acc.c -o acc.o
acc.c: In function `acc_rad_request':
acc.c:576: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:576: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:576: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:576: too few arguments to function `rc_avpair_add'
acc.c:581: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:581: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:581: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:581: too few arguments to function `rc_avpair_add'
acc.c:588: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:588: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:588: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a castacc.c:593: warning: passing arg 1 of `rc_avpair_add'
from incompatible pointer type
acc.c:593: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:593: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:593: too few arguments to function `rc_avpair_add'
acc.c:612: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:612: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:612: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:612: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:612: too few arguments to function `rc_avpair_add'
acc.c:623: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:623: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:623: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:623: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:623: too few arguments to function `rc_avpair_add'
acc.c:645: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:645: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:645: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:645: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:645: too few arguments to function `rc_avpair_add'
acc.c:656: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:656: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:656: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:656: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:656: too few arguments to function `rc_avpair_add'
acc.c:666: warning: passing arg 1 of `rc_avpair_add' from incompatible pointer
type
acc.c:666: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:666: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
acc.c:666: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
acc.c:666: too few arguments to function `rc_avpair_add'
acc.c:673: warning: passing arg 1 of `rc_acct' makes pointer from integer
without a cast
acc.c:673: warning: passing arg 2 of `rc_acct' makes integer from pointer
without a cast
acc.c:673: too few arguments to function `rc_acct'
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/home/ser/ser-0.8.12/modules/acc'
make[1]: Entering directory `/home/ser/ser-0.8.12/modules/auth_radius'
../../Makefile.rules:77: authorize.d: No such file or directory
../../Makefile.rules:77: authrad_mod.d: No such file or directory
../../Makefile.rules:77: sterman.d: No such file or directory
make[1]: Leaving directory `/home/ser/ser-0.8.12/modules/auth_radius'
make[1]: Entering directory `/home/ser/ser-0.8.12/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.8.12"'
-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 -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.8.12"'
-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 -c
authrad_mod.c -o authrad_mod.o
authrad_mod.c: In function `mod_init':
authrad_mod.c:113: warning: passing arg 1 of `rc_conf_str' from incompatible
pointer type
authrad_mod.c:113: too few arguments to function `rc_conf_str'
authrad_mod.c:113: warning: passing arg 1 of `rc_read_dictionary' from
incompatible pointer type
authrad_mod.c:113: too few arguments to function `rc_read_dictionary'
make[1]: *** [authrad_mod.o] Error 1
make[1]: Leaving directory `/home/ser/ser-0.8.12/modules/auth_radius'
make[1]: Entering directory `/home/ser/ser-0.8.12/modules/group_radius'
../../Makefile.rules:77: group.d: No such file or directory
../../Makefile.rules:77: grouprad_mod.d: No such file or directory
make[1]: Leaving directory `/home/ser/ser-0.8.12/modules/group_radius'
make[1]: Entering directory `/home/ser/ser-0.8.12/modules/group_radius'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -malign-double -falign-loops -mcpu=athlon
-DNAME='"ser"' -DVERSION='"0.8.12"'
-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 -c group.c -o
group.o
group.c: In function `radius_is_user_in':
group.c:194: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
group.c:194: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:194: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
group.c:194: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:194: too few arguments to function `rc_avpair_add'
group.c:203: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
group.c:203: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:203: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
group.c:203: warning: passing arg 4 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:203: too few arguments to function `rc_avpair_add'
group.c:209: warning: passing arg 1 of `rc_avpair_add' from incompatible
pointer type
group.c:209: warning: passing arg 2 of `rc_avpair_add' makes pointer from
integer without a cast
group.c:209: warning: passing arg 3 of `rc_avpair_add' makes integer from
pointer without a cast
group.c:209: too few arguments to function `rc_avpair_add'
group.c:215: warning: passing arg 2 of `rc_auth' makes integer from pointer
without a cast
group.c:215: warning: passing arg 3 of `rc_auth' from incompatible pointer type
group.c:215: warning: passing arg 4 of `rc_auth' from incompatible pointer type
group.c:215: too few arguments to function `rc_auth'
make[1]: *** [group.o] Error 1
make[1]: Leaving directory `/home/ser/ser-0.8.12/modules/group_radius'
Regards,
Lambros