I did it on monday with unstable cvs and everything was fine.
Do you have manually set the path to
/usr/local/sip_router/modules/acc/acc.so ?
Default is /usr/local/sip_router/modules/
and all modules are in this directory.
klaus
Harold Workman wrote:
Klaus,
Thanks so much.....Using radiusclient-ng fixed the compiling problem....but
now that i have it installed im getting this when i try to start SER. I
read the previous emails, and have already updated everything (using
0.8.13-dev-28), make clean, and recompiled everything....still got this
error...
Apr 22 10:12:20 hstntxsipua ser: ERROR: load_module: could not open module
</usr/local/sip_router/modules/acc/acc.so>:
/usr/local/sip_router/modules/acc/acc.so: undefined symbol: log_facility
Apr 22 10:12:20 hstntxsipua ser: parse error (80,13-54): failed to load
module
Apr 22 10:12:20 hstntxsipua ser: ERROR: load_module: could not open module
</usr/local/sip_router/modules/auth_radius/auth_radius.so>:
/usr/local/sip_router/modules/auth_radius/auth_radius.so: undefined symbol:
log_facility
-----------------------
Harold Workman
CCNA, CCNP
Cytel Communications
hworkman(a)cytelcom.com
Ph. 281-449-4000 x3098
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Thursday, April 22, 2004 9:33 AM
To: Harold Workman
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Error compiling Radius and ACC
You have to use the radiusclient-ng for usntable ser:
http://developer.berlios.de/projects/radiusclient-ng/
klaus
Harold Workman wrote:
Hi,
Ive got the latest ser from cvs, and cannot compile acc or radius. I have
already installed radius server, radius client_0-3-2 I edited the make
files
and here is what i get when i attempt to compile
them.
make[1]: Entering directory `/usr/local/sip_router/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.13-dev-28"'
-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 -DRAD_ACC -I/usr/local/include -c acc.c -o acc.o
acc.c: In function `acc_rad_request':
acc.c:597: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:597: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:597: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:597: error: too many arguments to function `rc_avpair_add'
acc.c:602: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:602: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:602: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:602: error: too many arguments to function `rc_avpair_add'
acc.c:609: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:609: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:609: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:609: error: too many arguments to function `rc_avpair_add'
acc.c:614: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:614: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:614: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:614: error: too many arguments to function `rc_avpair_add'
acc.c:633: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:633: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:633: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:633: error: too many arguments to function `rc_avpair_add'
acc.c:644: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:644: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:644: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:644: error: too many arguments to function `rc_avpair_add'
acc.c:666: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:666: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:666: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:666: error: too many arguments to function `rc_avpair_add'
acc.c:677: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:677: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:677: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:677: error: too many arguments to function `rc_avpair_add'
acc.c:687: warning: passing arg 2 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:687: warning: passing arg 3 of `rc_avpair_add' makes pointer from
integer
without a cast
acc.c:687: warning: passing arg 4 of `rc_avpair_add' makes integer from
pointer
without a cast
acc.c:687: error: too many arguments to function `rc_avpair_add'
acc.c:694: warning: passing arg 1 of `rc_acct' makes integer from pointer
without a cast
acc.c:694: warning: passing arg 2 of `rc_acct' makes pointer from integer
without a cast
acc.c:694: error: too many arguments to function `rc_acct'
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/usr/local/sip_router/modules/acc
Harold Workman
CCNA, CCNP
Cytel Communications
hworkman(a)cytelcom.com
Ph. 281-449-4000 x3098
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers