Alan DeKok wrote:
Arran Cudbard-Bell wrote:
gcc -g -O2 -D_LIBRADIUS -I/usr/local/src/freeradius-cvscurrent/src -c token.c -fPIC -DPIC -o .libs/token.o token.c:201: error: conflicting types for 'getword' /usr/local/src/freeradius-cvscurrent/src/freeradius-devel/token.h:74: error: previous declaration of 'getword' was here
I failed to commit token.h. It's updated now, thanks.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Yep that fixed it. Unfortunately I'm now getting seg faults on my 32bit Intel platform, ++[eap] returns noop ++? if ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([-a-z0-9_.]*)?/i) expand: %{Called-Station-Id} -> ? Evaluating ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([-a-z0-9_.]*)?/i) - ++? if ("%{Called-Station-Id}" =~ /^([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([-a-z0-9_.]*)?/i) -> FALS ++? if ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) expand: %{Calling-Station-Id} -> ? Evaluating ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) -> FALSE ++? if ("%{Calling-Station-Id}" =~ /([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2,})[-:]?([0-9a-f]{2})[-:]?([0-9a-f]{2})/i) -> FALSE ++? if ("%{NAS-Port-Id}" =~ /wl[0-9]*/) expand: %{NAS-Port-Id} -> ? Evaluating ("%{NAS-Port-Id}" =~ /wl[0-9]*/) -> FALSE ++? if ("%{NAS-Port-Id}" =~ /wl[0-9]*/) -> FALSE ++? if (("%{NAS-Port-Type}" == 'Wireless-802.11')||("%{NAS-Port-Type}" == 'Ethernet')) expand: %{NAS-Port-Type} -> Virtual ?? Evaluating ("%{NAS-Port-Type}" == 'Wireless-802.11') -> FALSE expand: %{NAS-Port-Type} -> Virtual ?? Evaluating ("%{NAS-Port-Type}" == 'Ethernet') -> FALSE ++? if (("%{NAS-Port-Type}" == 'Wireless-802.11')||("%{NAS-Port-Type}" == 'Ethernet')) -> FALSE ++? if ("%{NAS-IP-Address}" == '127.0.0.1') expand: %{NAS-IP-Address} -> 139.184.8.16 ? Evaluating ("%{NAS-IP-Address}" == '127.0.0.1') -> FALSE ++? if ("%{NAS-IP-Address}" == '127.0.0.1') -> FALSE expand: %{Client-Shortname} -> hp-e-its-dev8021x-sw1 ++[request] returns noop expand: /var/log/radiusd/%Y%m%d/auth-detail-%H:00 -> /var/log/radiusd/20071217/auth-detail-11:00 rlm_detail: /var/log/radiusd/%Y%m%d/auth-detail-%H:00 expands to /var/log/radiusd/20071217/auth-detail-11:00 expand: %t -> Mon Dec 17 11:21:33 2007 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1212537152 (LWP 28517)] vp_prints (out=0xbfa72848 "", outlen=1024, vp=0xbfa74e1c) at print.c:389 389 if (!*name) { (gdb) bt #0 vp_prints (out=0xbfa72848 "", outlen=1024, vp=0xbfa74e1c) at print.c:389 #1 0xb7fb4838 in vp_print (fp=0x8465588, vp=0xbfa74e1c) at print.c:434 #2 0xb6fe8684 in do_detail (instance=0x8314bc8, request=0x8463920, packet=0x8463848, compat=0) at rlm_detail.c:402 #3 0x0805ba16 in ?? () #4 0x00000000 in ?? () -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900