Wrong packing of attributes?

David Peterson davidp at wirelessconnections.net
Fri Mar 25 14:59:27 CET 2011


Thanks!  

OK I am now getting this on compile... I must have screwed something up:

make[4]: Entering directory
`/usr/src/freeradius-server/freeradius-server/src/ma
in'
/usr/src/freeradius-server/freeradius-server/libtool --mode=compile gcc  -g
-O2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
-Wpointe
r-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes
-Wmissing-p
rototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls
-Wundef -
I/usr/src/freeradius-server/freeradius-server/src
-DHOSTINFO=\"i686-pc-linux-gnu
\" -DRADIUSD_VERSION=\"3.0.0\"  -DOPENSSL_NO_KRB5 -c acct.c
mkdir .libs
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g
-Wsha
dow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W
-Wredundant-dec
ls -Wundef -I/usr/src/freeradius-server/freeradius-server/src
-DHOSTINFO=\"i686-
pc-linux-gnu\" -DRADIUSD_VERSION=\"3.0.0\" -DOPENSSL_NO_KRB5 -c acct.c
-fPIC -D
PIC -o .libs/acct.o
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g
-Wsha
dow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W
-Wredundant-dec
ls -Wundef -I/usr/src/freeradius-server/freeradius-server/src
-DHOSTINFO=\"i686-
pc-linux-gnu\" -DRADIUSD_VERSION=\"3.0.0\" -DOPENSSL_NO_KRB5 -c acct.c -o
acct.o
>/dev/null 2>&1
/usr/src/freeradius-server/freeradius-server/libtool --mode=compile gcc  -g
-O2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow
-Wpointe
r-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes
-Wmissing-p
rototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls
-Wundef -
I/usr/src/freeradius-server/freeradius-server/src
-DHOSTINFO=\"i686-pc-linux-gnu
\" -DRADIUSD_VERSION=\"3.0.0\"  -DOPENSSL_NO_KRB5 -c auth.c
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g
-Wsha
dow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W
-Wredundant-dec
ls -Wundef -I/usr/src/freeradius-server/freeradius-server/src
-DHOSTINFO=\"i686-
pc-linux-gnu\" -DRADIUSD_VERSION=\"3.0.0\" -DOPENSSL_NO_KRB5 -c auth.c
-fPIC -D
PIC -o .libs/auth.o
auth.c: In function 'auth_name':
auth.c:51: error: too few arguments to function 'pairfind'
make[4]: *** [auth.lo] Error 1

-----Original Message-----
From: Kristoffer Milligan [mailto:kristoffer at nextnet.no] 
Sent: Friday, March 25, 2011 9:42 AM
To: David Peterson-WirelessConnections; FreeRadius users mailing list
Subject: Re: Wrong packing of attributes?

You want the master branch mate,

git clone git://git.freeradius.org/freeradius-server.git

http://git.freeradius.org/

On 03/25/2011 02:06 PM, David Peterson wrote:
> Excellent!
>
> I just ran a git pull but not sure if I am set up correctly.  Here is 
> the output I received.
>
>
> > From git://git.freeradius.org/freeradius-server
>     03f1be4..92caaa4  master     ->  origin/master
>     2ae298a..14f534a  v2.1.x     ->  origin/v2.1.x
>
> Should I make some changes to my git setup?
>
> David
>
> -----Original Message-----
> From: Alan DeKok [mailto:aland at deployingradius.com]
> Sent: Friday, March 25, 2011 8:44 AM
> To: David Peterson-WirelessConnections; FreeRadius users mailing list
> Subject: Re: Wrong packing of attributes?
>
> David Peterson wrote:
>> 1.        Update to the latest version for 2.2
>    It's now "pre-3.0"
>
>> 2.       Define the R3 attributes in a separate dictionary.
>    Already in share/dictionary.alvarion.wimax.v2_2
>
>> 3.       Update the main dictionary.wimax to make sure all of the
>> Alvarion WiMAX- attributes are added to that dictionary
>    Already in share/dictionary.wimax.alvarion
>
>> 4.       Let me know any success as I have yet to get the NAS to
>> properly accept the service flow.
>    Some fixes went in recently for encoding WiMAX attributes.  The new
"-Xxx"
> feature is very useful for debugging the detailed contents of packets.
>
>    Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html





More information about the Freeradius-Users mailing list