[Serusers] acc.so wont build
Jiri Kuthan
jiri at iptel.org
Sun Sep 30 18:51:38 CEST 2007
At 17:19 28/09/2007, David Adade wrote:
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C801E2.EB90C040"
>Content-Class: urn:content-classes:message
>
>
>
>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"
have you tried it?
-jiri
>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
>************************************************************************
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
More information about the sr-users
mailing list