help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] NAS-IP-Address vs. Client-IP-Address


From: Charles Sprickman
Subject: Re: [Help-gnu-radius] NAS-IP-Address vs. Client-IP-Address
Date: Tue, 27 Apr 2004 02:36:05 -0400 (EDT)

On Mon, 26 Apr 2004, Sergey Poznyakoff wrote:

> Hi Charles,
[...]
> > Perhaps I'd be better served by hacking up the source to just make
> > NAS-IP-Address = source of the request?
>
> Such support is already available in the CVS version. I have prepared
> a tarball, which you can download from
>
>          ftp://mirddin.farlep.net/pub/alpha/radius-1.2.90.tar.gz

Hi Sergey,

Sounds good, but I'm having a bit of trouble getting this to compile on
FreeBSD-4.8.  I've run into the two following problems:

First it had trouble finding "obstack.h" while working in the sql
directory:

gmake[2]: Entering directory `/usr/local/src/radius-1.2.90/sql'
source='disp.c' object='disp.lo' libtool=yes \
depfile='.deps/disp.Plo' tmpdepfile='.deps/disp.TPlo' \
depmode=gcc /usr/local/bin/bash ../scripts/depcomp \
/usr/local/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I../include -I../include  -I/usr/local/include -I../intl    -O -pipe
-march=k6 -c -o disp.lo disp.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
-I/usr/local/include -I../intl -O -pipe -march=k6 -c disp.c
-Wp,-MD,.deps/disp.TPlo  -fPIC -DPIC -o .libs/disp.lo
In file included from disp.c:24:
../include/common.h:33: obstack.h: No such file or directory
gmake[2]: *** [disp.lo] Error 1
gmake[2]: Leaving directory `/usr/local/src/radius-1.2.90/sql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/radius-1.2.90'
gmake: *** [all] Error 2

I helped it along a bit by putting a symlink to "include/radius/obstack.h"
in the "include" directory.  That brought me a little further, but it
fails here:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../include -I. -I.
-I/usr/local/include -I../intl -I/usr/local/include
-DDATADIR=\"/usr/local/gnu-radius/share/radius/1.2.90/scheme\" -O -pipe
-march=k6 -c rscm_hash.c -Wp,-MD,.deps/rscm_hash.TPlo  -fPIC -DPIC -o
.libs/rscm_hash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../include -I. -I.
-I/usr/local/include -I../intl -I/usr/local/include
-DDATADIR=\"/usr/local/gnu-radius/share/radius/1.2.90/scheme\" -O -pipe
-march=k6 -c rscm_hash.c -Wp,-MD,.deps/rscm_hash.TPlo -o rscm_hash.o
>/dev/null 2>&1
mv -f .libs/rscm_hash.lo rscm_hash.lo
source='rscm_syslog.c' object='rscm_syslog.lo' libtool=yes \
depfile='.deps/rscm_syslog.Plo' tmpdepfile='.deps/rscm_syslog.TPlo' \
depmode=gcc /usr/local/bin/bash ../scripts/depcomp \
/usr/local/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -I../include -I../include -I. -I.  -I/usr/local/include
-I../intl -I/usr/local/include
-DDATADIR=\"/usr/local/gnu-radius/share/radius/1.2.90/scheme\"   -O -pipe
-march=k6 -c -o rscm_syslog.lo rscm_syslog.c
rm -f .libs/rscm_syslog.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../include -I. -I.
-I/usr/local/include -I../intl -I/usr/local/include
-DDATADIR=\"/usr/local/gnu-radius/share/radius/1.2.90/scheme\" -O -pipe
-march=k6 -c rscm_syslog.c -Wp,-MD,.deps/rscm_syslog.TPlo  -fPIC -DPIC -o
.libs/rscm_syslog.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../include -I. -I.
-I/usr/local/include -I../intl -I/usr/local/include
-DDATADIR=\"/usr/local/gnu-radius/share/radius/1.2.90/scheme\" -O -pipe
-march=k6 -c rscm_syslog.c -Wp,-MD,.deps/rscm_syslog.TPlo -o rscm_syslog.o
>/dev/null 2>&1
mv -f .libs/rscm_syslog.lo rscm_syslog.lo
source='rscm_utmp.c' object='rscm_utmp.lo' libtool=yes \
depfile='.deps/rscm_utmp.Plo' tmpdepfile='.deps/rscm_utmp.TPlo' \
depmode=gcc /usr/local/bin/bash ../scripts/depcomp \
/usr/local/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -I../include -I../include -I. -I.  -I/usr/local/include
-I../intl -I/usr/local/include
-DDATADIR=\"/usr/local/gnu-radius/share/radius/1.2.90/scheme\"   -O -pipe
-march=k6 -c -o rscm_utmp.lo rscm_utmp.c
rm -f .libs/rscm_utmp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../include -I. -I.
-I/usr/local/include -I../intl -I/usr/local/include
-DDATADIR=\"/usr/local/gnu-radius/share/radius/1.2.90/scheme\" -O -pipe
-march=k6 -c rscm_utmp.c -Wp,-MD,.deps/rscm_utmp.TPlo  -fPIC -DPIC -o
.libs/rscm_utmp.lo
In file included from rscm_utmp.c:25:
/usr/include/netinet/in.h:235: syntax error before `in_addr_t'
/usr/include/netinet/in.h:287: syntax error before `u_char'
In file included from /usr/include/netinet/in.h:469,
                 from rscm_utmp.c:25:
/usr/include/netinet6/in6.h:122: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:144: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:149: syntax error before `u_int32_t'
/usr/include/netinet6/in6.h:612: syntax error before `*'
/usr/include/netinet6/in6.h:614: syntax error before `*'
/usr/include/netinet6/in6.h:614: warning: data definition has no type or
storage class
/usr/include/netinet6/in6.h:615: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:631: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:636: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:638: syntax error before `u_int8_t'
gmake[3]: *** [rscm_utmp.lo] Error 1
gmake[3]: Leaving directory `/usr/local/src/radius-1.2.90/radscm'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/radius-1.2.90/radscm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/radius-1.2.90'
gmake: *** [all] Error 2

That one looks OS-specific.  I have a clean FreeBSD system available if
you need one.

Thanks again, I truly appreciate all the help you've been giving me in
getting up to speed with this.

Charles

[...]
> Regards,
> Sergey
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]