[Serusers] acc.so wont build

David Adade david.adade at dcomms.co.uk
Fri Sep 28 17:19:10 CEST 2007


 
 
first problem running make in /usr/src/ser/ser-0.9.6/modules/acc
 
i get the following error 
acc.c:56:33: radiusclient-ng.h: No such file or directory
 
So i installed the following
 
freeradius-1.0.1-3.RHEL4.5.
radiusclient-ng-devel-0.5.2-4
radiusclient-ng-0.5.2-4
 
now i get the error
 
../../Makefile.modules:21: "you should run make from the main ser directory"
gcc -shared  -Wl,-O2 -Wl,-E   acc.o acc_mod.o diam_avp.o diam_message.o diam_tcp.o   -L/usr/local/lib -lradiusclient-ng -o acc.so
/usr/bin/ld: cannot find -lradiusclient-ng
collect2: ld returned 1 exit status
make: *** [acc.so] Error 1

 
vi /etc/ld.so.conf reads
 
/usr/ofed/lib
/usr/lib64/
/etc/radiusclient
/usr/sbin
/usr/bin

 
I am running centos 4. The radius server works fine no problems
 
 
vi /usr/src/ser/ser-0.9.6/modules/acc/Makefile reads
 
# uncomment the next line if you wish to enable SQL accounting
DEFS+=-DSQL_ACC
 
# uncomment the next two lines if you wish to enable RADIUS accounting
DEFS+=-DRAD_ACC
include ../../Makefile.radius
# DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
# LIBS=-L$(LOCALBASE)/lib -lradiusclient-

 
Can anyone help
 
 
 
 
 
 
 

***********************************************************************
IMPORTANT NOTICE:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you receive this in error, please contact the sender and
delete the material from any computer.
This e-mail is intended for the above named addressee only. 
Should you receive this e-mail in error please contact 
Customer Services on Tel: +44 (0)870 241 2439
************************************************************************



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070928/ccad0f42/attachment.htm>


More information about the sr-users mailing list