<quote>
Update CFLAGS to add -DIE_LIBTOOL_DIE
</quote>

(Alan DeKok 2010-03-26 Thread "FreeRADIUS 2.1.7 and 2.1.8 fail to build")


Have a nice day!

Am 09.06.2010 um 13:32 schrieb Martín @ Ibersystems:

Hello all,
 
we are trying to install Radius Manager from DmaSoftlab. We need to install Freeradius and we gt problems with the "make"
We get this errors:
 
*********************************************************************
modcall.lo radiusd.lo stats.lo session.lo threads.lo util.lo valuepair.lo version.lo xlat.lo event.lo realms.lo evaluate.lo vmps.lo detail.lo      \
                 /root/work/freeradius-server-2.1.8/src/lib/libfreeradius-radius.la -lnsl -lresolv  -lpthread  \
                -lcrypt  -lltdl -lcrypto -lssl -lcrypto
rm -f .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
creating .libs/radiusdS.c
(cd .libs && gcc  -g -O2 -c -fno-builtin "radiusdS.c")
rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
gcc .libs/radiusdS.o -o .libs/radiusd .libs/acct.o .libs/auth.o .libs/client.o .libs/conffile.o .libs/crypt.o .libs/exec.o .libs/files.o .libs/listen.o .libs/log.o .libs/mainconfig.o .libs/modules.o .libs/modcall.o .libs/radiusd.o .libs/stats.o .libs/session.o .libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o .libs/event.o .libs/realms.o .libs/evaluate.o .libs/vmps.o .libs/detail.o -Wl,--export-dynamic  /root/work/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread -lcrypt /usr/lib/libltdl.so -lssl -lcrypto -ldl
.libs/modules.o: In function `setup_modules':
/root/work/freeradius-server-2.1.8/src/main/modules.c:1358: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
make[4]: *** [radiusd] Error 1
make[4]: se sale del directorio `/root/work/freeradius-server-2.1.8/src/main'
make[3]: *** [common] Error 2
make[3]: se sale del directorio `/root/work/freeradius-server-2.1.8/src'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/root/work/freeradius-server-2.1.8/src'
make[1]: *** [common] Error 2
make[1]: se sale del directorio `/root/work/freeradius-server-2.1.8'
make: *** [all] Error 2
*********************************************************************

SO: Ubuntu Server 10.0.4 Lucid Lynxs

We  tryed the sources from dmasoftlab (2.1.8 modified) and the sources of freeradius.org (2.1.9) with the 2 sources we get the same error.

What we have to install or fix?



Thanks,


Martín Ruiz
 
Ibersystems Solutions, SL
 
Dpto. Redes Inalámbricas
 
Tel. 902 430 367
       669 37 95 21
 
Fax 93 758 63 01
 
 

Estemensaje puede contener información confidencial y/o privilegiada. Siusted no es el destinatario o una persona expresamente autorizada pararecibir este envío no debe utilizar, copiar, reenviar, distribuir, o engeneral disponer de ninguna forma de la información incluida. Sihubiera recibido este mensaje por error, sírvase informar al emisormediante una respuesta inmediata y bórrelo, por favor. Muchas gracias.
P Antes de imprimir este e-mail, piensa en si es realmente necesario: El Medio Ambiente es responsabilidad de todos





-----Original Message-----
From: Natr Brazell <natrbrazell@gmail.com>
To: freeradius-users@lists.freeradius.org
Date: Wed, 9 Jun 2010 06:42:13 -0400
Subject: FreeRadius MYSQL tables

All,
 
I've set up FR2 to log acct data to mysql and that appears to be working.  I'm curious about how to enable the logging of specific attributes that are being sent by the NAS.  Specifically:
 
 rad_recv: Accounting-Request packet from host x.x.x.120 port 51637, id=50, length=95
        Acct-Status-Type = Interim-Update
        Acct-Session-Id = "C2594B9A71DB"
        Acct-Delay-Time = 0
        User-Name = "joe.bobuser"
        NAS-Identifier = "M20"
        Juniper-Interactive-Command = "run start shell "
        NAS-IP-Address = x.x.x.120
+- entering group preacct {...}
 
As you can see in the Accounting-Request packet above There is a NAS-Identifier and a Juniper-Interactive-Command entry.  Those attributes are not being logged (nor do I think I'd want them) in my radacct file.   Is there a way to have radius automatically populate an accountingactivity table (history file if you will)?  Or this there a manual way say in postauth to send those attributes to a mysql table via  script when an Accounting-Request packet is received.  The above attributes are being sent and are logged in my detail-`date` log file in /var/log/radius/radacct/IP_OF_NAS directory.
 
Thanks,
N
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Nicolas Goutte

 
extragroup GmbH - Karlsruhe
Waldstr. 49
76133 Karlsruhe
Germany
 
Geschäftsführer: Lars Busch
Registergericht: Amtsgericht Münster / HRB: 5624
Steuer Nr.: 337/5903/0421 / UstID: DE 204607841