Compilation error of 2.x.x

2013-02-15 Thread Srinu Bandari
Hi,
I am trying to make 2.x.x branch, I see following error.. Can anyone help??

gcc -o .libs/radeapclient .libs/radeapclient.o  
libeap/.libs/libfreeradius-eap.so 
/root/Desktop/freeradius-server-2.x.x/src/lib/.libs/libfreeradius-radius.so 
-lssl -lcrypto -lnsl -lresolv -lpthread  -Wl,--rpath -Wl,/usr/local/lib
libeap/.libs/libfreeradius-eap.so: undefined reference to `radius_paircreate'
collect2: ld returned 1 exit status
gmake[6]: *** [radeapclient] Error 1
gmake[6]: Leaving directory 
`/root/Desktop/freeradius-server-2.x.x/src/modules/rlm_eap'
gmake[5]: *** [rlm_eap] Error 2
gmake[5]: Leaving directory `/root/Desktop/freeradius-server-2.x.x/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/root/Desktop/freeradius-server-2.x.x/src/modules'
gmake[3]: *** [modules] Error 2
gmake[3]: Leaving directory `/root/Desktop/freeradius-server-2.x.x/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/Desktop/freeradius-server-2.x.x/src'
gmake[1]: *** [src] Error 2
gmake[1]: Leaving directory `/root/Desktop/freeradius-server-2.x.x'
make: *** [all] Error 2

Thanks,
Srinivas
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Compilation error of 2.x.x

2013-02-15 Thread Alan DeKok
Srinu Bandari wrote:
 I am trying to make 2.x.x branch, I see following error.. Can anyone help??

  Whoops.  That's an error.  The fix is simple:

$ git pull

  Thanks for the testing.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Free Radius Compilation Error on RHEL5.3

2009-08-13 Thread Kamal Garg
Hi,

 

I am facing problem while making freeradius-server-2.1.6 on RHEL5.3, however
I am able to successfully build and install the freeradius-server-2.1.6 on
RHEL4.0.

 

Following are the error logs I am getting while building freeradius server
on RHEL5.3.

 

[r...@vmware freeradius-server-2.1.6]# make

gmake[1]: Entering directory `/home/freeradius-server-2.1.6'

Making all in libltdl...

gmake[2]: Entering directory `/home/freeradius-server-2.1.6/libltdl'

/usr/bin/gmake  all-am

gmake[3]: Entering directory `/home/freeradius-server-2.1.6/libltdl'

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-g -O2 -c -o ltdl.lo ltdl.c

mkdir .libs

 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o
.libs/ltdl.o

ltdl.c: In function 'lt_dladderror':

ltdl.c:967: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'tryall_dlopen_module':

ltdl.c:2482: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2483: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2484: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'canonicalize_path':

ltdl.c:2575: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2576: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'argzize_path':

ltdl.c:2639: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2640: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2641: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'foreach_dirinpath':

ltdl.c:2710: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'find_file_callback':

ltdl.c:2750: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2751: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:2752: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'try_dlopen':

ltdl.c:3068: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3069: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3095: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3127: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_dlopenext':

ltdl.c:3477: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_argz_insertinorder':

ltdl.c:3606: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3607: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3608: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_argz_insertdir':

ltdl.c:3636: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3637: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3638: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3672: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'list_files_by_dir':

ltdl.c:3697: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3698: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3699: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3700: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c: In function 'lt_dlpath_insertdir':

ltdl.c:3993: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:3994: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4002: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4007: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4008: warning: passing argument 4 of '__assert_fail' discards
qualifiers from pointer target type

ltdl.c:4017: warning: passing 

Radius 2.0.0-pre Making all in main compilation error

2007-04-18 Thread tzieleniewski
Hi, 

I have just downloaded the CVS trunk sources.
When I compile them I get the following errors:
Please point me what do I miss.


Making all in main...
make[4]: Entering the directory `/home/radius/src/radiusd/src/main'
/home/radius/src/radiusd/libtool --mode=link gcc -export-dynamic -dlopen self \
 -pie  -o radiusd acct.lo auth.lo client.lo conffile.lo 
crypt.lo exec.lo files.lo listen.lo log.lo mainconfig.lo modules.lo modcall.lo 
radiusd.lo radius_snmp.lo session.lo smux.lo threads.lo util.lo valuepair.lo 
version.lo xlat.lo event.lo realms.lo  \
 ../lib/libradius.la -lnsl -lresolv  -lpthread -lsnmp \
-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 -pie -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/radius_snmp.o .libs/session.o .libs/smux.o 
.libs/threads.o .libs/util.o .libs/valuepair.o .libs/version.o .libs/xlat.o 
.libs/event.o .libs/realms.o -Wl,--export-dynamic  ../lib/.libs/libradius.so 
-lnsl -lresolv -lpthread /usr/lib/libsnmp.so -lcrypt /usr/lib/libltdl.so -ldl 
-lssl -lcrypto  -Wl,--rpath -Wl,/home/radius/freeradius/lib
collect2: ld returned 1 exit status
make[4]: *** [radiusd] Błąd 1
make[4]: Leaving the directory `/home/radius/src/radiusd/src/main'
make[3]: *** [common] Błąd 2
make[3]: Leaving the directory `/home/radius/src/radiusd/src'
make[2]: *** [all] Błąd 2
make[2]: Leaving the directory `/home/radius/src/radiusd/src'
make[1]: *** [common] Błąd 2
make[1]: Leaving the directory `/home/radius/src/radiusd'
make: *** [all] Błąd 2

Thanks in advance
Cheers
Tomasz

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Radius 2.0.0-pre Making all in main compilation error

2007-04-18 Thread Alan DeKok
tzieleniewski wrote:
 I have just downloaded the CVS trunk sources.
 When I compile them I get the following errors:
 Please point me what do I miss.

  I'm in the middle of re-writing portions of the code.  It may not
build from time to time.

...
 collect2: ld returned 1 exit status

  And there's no other information about what's missing, which makes it
difficult to solve the problem.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Latest CVS - compilation error - conffile. c:902: error: conflicting types for 'cf_se ction_parse'

2007-02-26 Thread tzieleniewski
Hi !

I tried to install the latest cvs version of freeradius, I did
make clean
./configure
make - and here I got the following error:

conffile.c:902: error: conflicting types for 'cf_section_parse'
/home/radius/src/radiusd/src/freeradius-devel/conffile.h:56: error: previous 
declaration of 'cf_section_parse' was here
conffile.c: In function 'cf_section_parse':
conffile.c:933: warning: passing argument 1 of 'cf_section_parse' discards 
qualifiers from pointer target type
conffile.c: In function 'cf_pair_find':
conffile.c:1312: warning: assignment discards qualifiers from pointer target 
type
conffile.c: In function 'cf_pair_find_next':
conffile.c:1395: warning: passing argument 1 of 'cf_pairtoitem' discards 
qualifiers from pointer target type
make[4]: *** [conffile.lo] Błąd 1
make[3]: *** [common] Błąd 2
make[2]: *** [all] Błąd 2
make[1]: *** [common] Błąd 2
make: *** [all] Błąd 2

I have never had such problem before.
What did I miss??

Bests
-Tomasz

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Latest CVS - compilation error - conffile.c:902: error: conflicting types for 'cf_section_parse'

2007-02-26 Thread Alan DeKok
tzieleniewski wrote:
 Hi !
 
 I tried to install the latest cvs version of freeradius, I did
 make clean
 ./configure
 make - and here I got the following error:
 
 conffile.c:902: error: conflicting types for 'cf_section_parse'
 /home/radius/src/radiusd/src/freeradius-devel/conffile.h:56: error: previous 
 declaration of 'cf_section_parse' was here
 conffile.c: In function 'cf_section_parse':

$ cvs update -A

  Pay attention to the conflicts.  It looks like you did a partial update.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


freeradius-1.0.5 compilation error (library -lz not found)

2006-01-02 Thread K Pang

Hi All,
Happy New Year to all of you!
i encounterd some compilation errors when compiling freeradius-1.0.5 on 
solaris 8. below is the errors.


/usr/local/src/freeradius-1.0.5-pi/libtool --mode=link gcc -release 1.0.5 \
-module -export-dynamic  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DOPENSSL_NO_KRB5 -I/usr/local/ssl/include -Wall -D_GNU_SOURCE -g -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W 
-Wredundant-decls -Wundef  -I../.. -I../../../../include \
-I/usr/local/mysql/include -I/usr/local/src/freeradius-1.0.5-pi/libltdl -o 
rlm_sql_mysql.la -rpath /usr/local/radius5/lib sql_mysql.lo 
-L/usr/local/mysql/lib/mysql -lmysqlclient -lnsl -lresolv -lsocket -lposix4  
-lpthread -lz -lnsl -lresolv -lsocket -lposix4  -lpthread -lz
rm -fr .libs/rlm_sql_mysql.la .libs/rlm_sql_mysql.* 
.libs/rlm_sql_mysql-1.0.5.*
/usr/ccs/bin/ld -G -h rlm_sql_mysql-1.0.5.so -o .libs/rlm_sql_mysql-1.0.5.so 
 sql_mysql.lo  -R/usr/local/mysql/lib/mysql -R/usr/local/mysql/lib/mysql  
-L/usr/local/BerkeleyDB.4.2 -L/usr/local/mysql/lib/mysql 
/usr/local/mysql/lib/mysql/libmysqlclient.so -lnsl -lresolv -lsocket 
-lposix4 -lpthread -lz -lnsl -lresolv -lsocket -lposix4 -lpthread -lz -lc

ld: fatal: library -lz: not found
ld: fatal: library -lz: not found
ld: fatal: File processing errors. No output written to 
.libs/rlm_sql_mysql-1.0.5.so

make[10]: *** [rlm_sql_mysql.la] Error 1
make[10]: Leaving directory 
`/usr/local/src/freeradius-1.0.5-pi/src/modules/rlm_sql/drivers/rlm_sql_mysql'


what's 'library -lz not found'? i've no idea what's this library.
is it caused by missing of certain packages? if so, which package should i 
install? pls advise.

thanks in advance!


Rgds,
Pang


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


freeradius-1.0.5 compilation error (library -lz not found)

2006-01-02 Thread K Pang

Hi All,
Happy New Year to all of you!
i encounterd some compilation errors when compiling freeradius-1.0.5 on 
solaris 8. below is the errors.


/usr/local/src/freeradius-1.0.5-pi/libtool --mode=link gcc -release 1.0.5 \
-module -export-dynamic  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DOPENSSL_NO_KRB5 -I/usr/local/ssl/include -Wall -D_GNU_SOURCE -g -Wshadow 
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W 
-Wredundant-decls -Wundef  -I../.. -I../../../../include \
-I/usr/local/mysql/include -I/usr/local/src/freeradius-1.0.5-pi/libltdl -o 
rlm_sql_mysql.la -rpath /usr/local/radius5/lib sql_mysql.lo 
-L/usr/local/mysql/lib/mysql -lmysqlclient -lnsl -lresolv -lsocket -lposix4  
-lpthread -lz -lnsl -lresolv -lsocket -lposix4  -lpthread -lz
rm -fr .libs/rlm_sql_mysql.la .libs/rlm_sql_mysql.* 
.libs/rlm_sql_mysql-1.0.5.*
/usr/ccs/bin/ld -G -h rlm_sql_mysql-1.0.5.so -o .libs/rlm_sql_mysql-1.0.5.so 
 sql_mysql.lo  -R/usr/local/mysql/lib/mysql -R/usr/local/mysql/lib/mysql  
-L/usr/local/BerkeleyDB.4.2 -L/usr/local/mysql/lib/mysql 
/usr/local/mysql/lib/mysql/libmysqlclient.so -lnsl -lresolv -lsocket 
-lposix4 -lpthread -lz -lnsl -lresolv -lsocket -lposix4 -lpthread -lz -lc

ld: fatal: library -lz: not found
ld: fatal: library -lz: not found
ld: fatal: File processing errors. No output written to 
.libs/rlm_sql_mysql-1.0.5.so

make[10]: *** [rlm_sql_mysql.la] Error 1
make[10]: Leaving directory 
`/usr/local/src/freeradius-1.0.5-pi/src/modules/rlm_sql/drivers/rlm_sql_mysql'


what's 'library -lz not found'? i've no idea what's this library.
is it caused by missing of certain packages? if so, which package should i 
install? pls advise.

thanks in advance!


Rgds,
Pang


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: freeradius-1.0.5 compilation error (library -lz not found)

2006-01-02 Thread TK Lew
hi ::

U need the zlib development package installed.

On 1/2/06, K Pang [EMAIL PROTECTED] wrote:
 Hi All,
 Happy New Year to all of you!
 i encounterd some compilation errors when compiling freeradius-1.0.5 on
 solaris 8. below is the errors.

 /usr/local/src/freeradius-1.0.5-pi/libtool --mode=link gcc -release 1.0.5 \
 -module -export-dynamic  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
 -DOPENSSL_NO_KRB5 -I/usr/local/ssl/include -Wall -D_GNU_SOURCE -g -Wshadow
 -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes
 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W
 -Wredundant-decls -Wundef  -I../.. -I../../../../include \
 -I/usr/local/mysql/include -I/usr/local/src/freeradius-1.0.5-pi/libltdl -o
 rlm_sql_mysql.la -rpath /usr/local/radius5/lib sql_mysql.lo
 -L/usr/local/mysql/lib/mysql -lmysqlclient -lnsl -lresolv -lsocket -lposix4
 -lpthread -lz -lnsl -lresolv -lsocket -lposix4  -lpthread -lz
 rm -fr .libs/rlm_sql_mysql.la .libs/rlm_sql_mysql.*
 .libs/rlm_sql_mysql-1.0.5.*
 /usr/ccs/bin/ld -G -h rlm_sql_mysql-1.0.5.so -o .libs/rlm_sql_mysql-1.0.5.so
   sql_mysql.lo  -R/usr/local/mysql/lib/mysql -R/usr/local/mysql/lib/mysql
 -L/usr/local/BerkeleyDB.4.2 -L/usr/local/mysql/lib/mysql
 /usr/local/mysql/lib/mysql/libmysqlclient.so -lnsl -lresolv -lsocket
 -lposix4 -lpthread -lz -lnsl -lresolv -lsocket -lposix4 -lpthread -lz -lc
 ld: fatal: library -lz: not found
 ld: fatal: library -lz: not found
 ld: fatal: File processing errors. No output written to
 .libs/rlm_sql_mysql-1.0.5.so
 make[10]: *** [rlm_sql_mysql.la] Error 1
 make[10]: Leaving directory
 `/usr/local/src/freeradius-1.0.5-pi/src/modules/rlm_sql/drivers/rlm_sql_mysql'

 what's 'library -lz not found'? i've no idea what's this library.
 is it caused by missing of certain packages? if so, which package should i
 install? pls advise.
 thanks in advance!


 Rgds,
 Pang


 -
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: freeradius-1.0.5 compilation error (library -lz not found)

2006-01-02 Thread Bjørn Mork
K Pang [EMAIL PROTECTED] writes:

 what's 'library -lz not found'? i've no idea what's this library.

http://directory.fsf.org/libs/zlib.html

 is it caused by missing of certain packages? if so, which package should i 
 install? pls advise.

How could anyone tell when you don't even mention which OS you are
using?

It would be zlib1g-dev if you are using Debian GNU/Linux.


Bjørn

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Compilation error

2005-06-21 Thread Oleg M. Golovanov

I try to make FreeRADIUS 1.0.4 on FreeBSD 4.11
and got the followin ( the previous version has been made successfully).
Does anybody know the problem or maybe where to search?

In file included from rlm_attr_rewrite.c:31:
/usr/include/regex.h:46: syntax error before `regoff_t'
/usr/include/regex.h:46: warning: type defaults to `int' in declaration 
of `regoff_t'
/usr/include/regex.h:46: warning: data definition has no type or storage 
class

/usr/include/regex.h:56: syntax error before `regoff_t'
rlm_attr_rewrite.c: In function `do_attr_rewrite':
rlm_attr_rewrite.c:314: structure has no member named `rm_so'
rlm_attr_rewrite.c:316: structure has no member named `rm_so'
rlm_attr_rewrite.c:318: structure has no member named `rm_eo'
rlm_attr_rewrite.c:318: structure has no member named `rm_so'
rlm_attr_rewrite.c:330: structure has no member named `rm_eo'
rlm_attr_rewrite.c:348: structure has no member named `rm_so'
rlm_attr_rewrite.c:357: structure has no member named `rm_so'
rlm_attr_rewrite.c:358: structure has no member named `rm_eo'
rlm_attr_rewrite.c:358: structure has no member named `rm_so'
rlm_attr_rewrite.c:359: structure has no member named `rm_eo'
rlm_attr_rewrite.c:359: structure has no member named `rm_so'
gmake[5]: *** [rlm_attr_rewrite.o] Error 1
gmake[5]: Leaving directory 
`/usr/home/olmi/com/freeradius-1.0.4/src/modules/rlm_attr_rewrite'

gmake[4]: *** [common] Error 2
gmake[4]: Leaving directory 
`/usr/home/olmi/com/freeradius-1.0.4/src/modules'

gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/usr/home/olmi/com/freeradius-1.0.4/src/modules'

gmake[2]: *** [common] Error 2
gmake[2]: Leaving directory `/usr/home/olmi/com/freeradius-1.0.4/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/olmi/com/freeradius-1.0.4/src'
gmake: *** [common] Error 2
*** Error code 2

Stop in /usr/home/olmi/com/freeradius-1.0.4.

--
Respectively,

Oleg Golovanov
Krasnoyarsk city
Russia

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Compilation error

2005-06-21 Thread Andrew Thompson
On Wed, Jun 22, 2005 at 10:24:41AM +0800, Oleg M. Golovanov wrote:
 I try to make FreeRADIUS 1.0.4 on FreeBSD 4.11
 and got the followin ( the previous version has been made successfully).
 Does anybody know the problem or maybe where to search?
 
 In file included from rlm_attr_rewrite.c:31:
 /usr/include/regex.h:46: syntax error before `regoff_t'
 /usr/include/regex.h:46: warning: type defaults to `int' in declaration 
 of `regoff_t'
 /usr/include/regex.h:46: warning: data definition has no type or storage 
 class
 /usr/include/regex.h:56: syntax error before `regoff_t'

this has come up a bit lately. You can either use the port, or use this
patch

Andrew


--- src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c.origSat Jun 18 
14:29:43 2005
+++ src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c Sat Jun 18 14:31:48 2005
@@ -27,6 +27,7 @@
 #include stdio.h
 #include stdlib.h
 #include string.h
+#include sys/types.h
 #ifdef HAVE_REGEX_H
 #  include regex.h
 #endif

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


rlm_mschap compilation error - Where to look ?

2004-12-29 Thread Aime
All,

When compiling Freeradius , i have the following error
during rlm_mschap compilation.
Where do I have to look ?



Making all in rlm_mschap...
make[6]: Entering directory
`/root/freeradius-snapshot-20041229/src/modules/rlm_mschap'
/root/freeradius-snapshot-20041229/libtool
--mode=compile gcc  -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
-I../../include  -c rlm_mschap.c
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5 -I../../include -c rlm_mschap.c 
-fPIC -DPIC -o .libs/rlm_mschap.o
rlm_mschap.c: In function `do_mschap':
rlm_mschap.c:769: error: too many arguments to
function `radius_exec_program'
make[6]: *** [rlm_mschap.lo] Error 1
make[6]: Leaving directory
`/root/freeradius-snapshot-20041229/src/modules/rlm_mschap'
make[5]: *** [common] Error 1
make[5]: Leaving directory
`/root/freeradius-snapshot-20041229/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/root/freeradius-snapshot-20041229/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory
`/root/freeradius-snapshot-20041229/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/root/freeradius-snapshot-20041229/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory
`/root/freeradius-snapshot-20041229'
make: *** [all] Error 2
proxysvr:~/freeradius-snapshot-20041229#





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: rlm_mschap compilation error - Where to look ?

2004-12-29 Thread Alan DeKok
Aime [EMAIL PROTECTED] wrote:
 When compiling Freeradius , i have the following error
 during rlm_mschap compilation.
 Where do I have to look ?

  The radius_exec_program function was changed yesterday.  rlm_mschap
wasn't updated, but it should be updated in a day or so.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: rlm_mschap compilation error - Where to look ?

2004-12-29 Thread Paul Hampson
On Wed, Dec 29, 2004 at 10:37:20AM -0500, Alan DeKok wrote:
 Aime [EMAIL PROTECTED] wrote:
  When compiling Freeradius , i have the following error
  during rlm_mschap compilation.
  Where do I have to look ?

   The radius_exec_program function was changed yesterday.  rlm_mschap
 wasn't updated, but it should be updated in a day or so.

Actually, it was the other way 'round. The changes to rlm_mschap
got comitted by accident, but radius_exec_program wasn't. I've
comitted them now, so this problem should go away.

I apologise for the inconvinience.

-- 
Paul TBBle Hampson, on an alternate email client.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: COMPILATION ERROR

2004-11-22 Thread Eva Kolega




Janakan,

Thanks a lot! It worked! I just deleted rlm_x99_token before configuration
and everything was OK.
What is more, it didn't complaint about mysql as it used to do before.

Best Regards,

Eva Kolega
NOC - TEI of ATHENS

Janakan Rajendran wrote:
   
  
 
  
 
  
 
  
 
  
 
  
   

  

  Eva,
  
  
  
  I had the same
problem couple of days before and got it fixed. Disable rlm_x99_token when
using configure command.
  
  It would help
to get rid of this error.
  
  
  
  Regards,
  
  Janakan Rajendran
  
  
  



  
  From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of Eva Kolega
 Sent: Friday, November 19,
2004 7:22 AM
 To: [EMAIL PROTECTED]
 Subject: COMPILATION ERROR
  
  
  
  
  I used to have an
error in compilation with mysql components, so I thought of changing machine
(SUN Fire 280R) and begin from scratch.
 So I installed mysql 2.0.21 and openssl as recommended by Sun.
 
 And then I had the following error in bold upon compilation.
 However, this file is there !
 
 I have seen this error in a newsgroup in early October but I did not see
any answer provided. But of course freeradius runs on Sol 9!
 
 So, has anybody come accross to this error ? 
 
 Thanks a lot,
 
 Eva 
 
 COMPILATION LOG-
 make[6]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_unix'
 Making static dynamic in rlm_x99_token...
 make[6]: Entering directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-W -Wredundant-decls -Wundef -I../../include -DX99_MODULE_NAME=\"rlm_x99_token\"
-DFREERADIUS -c x99_rlm.c -o x99_rlm.o
 In file included from x99_rlm.c:54:
 x99.h:26:42: openssl/des.h: No such
file or directory
 In file included from x99_rlm.c:54:
 x99.h:146: error: parse error before "des_cblock"
 x99.h:146: warning: no semicolon at end of struct or union
 x99.h:147: warning: type defaults to `int' in declaration of `x99_user_info_t'
 x99.h:147: warning: data definition has no type or storage class
 x99.h:152: error: parse error before "des_cblock"
 x99.h:152: warning: function declaration isn't a prototype
 x99.h:153: error: parse error before "des_cblock"
 x99.h:153: warning: function declaration isn't a prototype
 x99.h:165: error: parse error before "des_cblock"
 x99.h:165: warning: function declaration isn't a prototype
 x99.h:166: warning: type defaults to `int' in declaration of `des_cblock'
 x99.h:166: error: parse error before "keyblock"
 x99.h:167: warning: function declaration isn't a prototype
 x99.h:170: error: parse error before "x99_user_info_t"
 x99.h:170: warning: function declaration isn't a prototype
 x99.h:180: error: parse error before "des_cblock"
 x99.h:180: warning: function declaration isn't a prototype
 x99.h:182: warning: type defaults to `int' in declaration of `des_cblock'
 x99.h:182: error: parse error before "keyblock"
 x99.h:182: warning: function declaration isn't a prototype
 x99_rlm.c: In function `x99_token_authorize':
 x99_rlm.c:294: error: parse error before "user_info"
 x99_rlm.c:331: error: `user_info' undeclared (first use in this function)
 x99_rlm.c:331: error: (Each undeclared identifier is reported only once
 x99_rlm.c:331: error: for each function it appears in.)
 x99_rlm.c: In function `x99_token_authenticate':
 x99_rlm.c:460: error: parse error before "user_info"
 x99_rlm.c:492: error: `user_info' undeclared (first use in this function)
 x99_rlm.c:550: warning: deprecated use of label at end of compound statement
 make[6]: *** [x99_rlm.o] Error 1
 make[6]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
 make[5]: *** [common] Error 1
 make[5]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
 make[4]: *** [all] Error 2
 make[4]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
 make[3]: *** [common] Error 1
 make[3]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
 make[1]: *** [common] Error 1
 make[1]: Leaving directory `/usr/local/src/freeradius-1.0.1'
 make: *** [all] Error 2
 
 
 
 
  
  





COMPILATION ERROR

2004-11-19 Thread Eva Kolega




I used to have an error in compilation with mysql components, so I thought
of changing machine (SUN Fire 280R) and begin from scratch.
So I installed mysql 2.0.21 and openssl as recommended by Sun.

And then I had the following error in bold upon compilation.
However, this file is there !

I have seen this error in a newsgroup in early October but I did not see
any answer provided. But of course freeradius runs on Sol 9!

So, has anybody come accross to this error ? 

Thanks a lot,

Eva 

COMPILATION LOG-
make[6]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_unix'
Making static dynamic in rlm_x99_token...
make[6]: Entering directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-W -Wredundant-decls -Wundef -I../../include -DX99_MODULE_NAME=\"rlm_x99_token\"
-DFREERADIUS -c x99_rlm.c -o x99_rlm.o
In file included from x99_rlm.c:54:
x99.h:26:42: openssl/des.h: No such file or directory
In file included from x99_rlm.c:54:
x99.h:146: error: parse error before "des_cblock"
x99.h:146: warning: no semicolon at end of struct or union
x99.h:147: warning: type defaults to `int' in declaration of `x99_user_info_t'
x99.h:147: warning: data definition has no type or storage class
x99.h:152: error: parse error before "des_cblock"
x99.h:152: warning: function declaration isn't a prototype
x99.h:153: error: parse error before "des_cblock"
x99.h:153: warning: function declaration isn't a prototype
x99.h:165: error: parse error before "des_cblock"
x99.h:165: warning: function declaration isn't a prototype
x99.h:166: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:166: error: parse error before "keyblock"
x99.h:167: warning: function declaration isn't a prototype
x99.h:170: error: parse error before "x99_user_info_t"
x99.h:170: warning: function declaration isn't a prototype
x99.h:180: error: parse error before "des_cblock"
x99.h:180: warning: function declaration isn't a prototype
x99.h:182: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:182: error: parse error before "keyblock"
x99.h:182: warning: function declaration isn't a prototype
x99_rlm.c: In function `x99_token_authorize':
x99_rlm.c:294: error: parse error before "user_info"
x99_rlm.c:331: error: `user_info' undeclared (first use in this function)
x99_rlm.c:331: error: (Each undeclared identifier is reported only once
x99_rlm.c:331: error: for each function it appears in.)
x99_rlm.c: In function `x99_token_authenticate':
x99_rlm.c:460: error: parse error before "user_info"
x99_rlm.c:492: error: `user_info' undeclared (first use in this function)
x99_rlm.c:550: warning: deprecated use of label at end of compound statement
make[6]: *** [x99_rlm.o] Error 1
make[6]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/usr/local/src/freeradius-1.0.1'
make: *** [all] Error 2








RE: COMPILATION ERROR

2004-11-19 Thread Janakan Rajendran








Eva,



I had the same problem couple of days
before and got it fixed. Disable rlm_x99_token when using configure command.

It would help to get rid of this error.



Regards,

Janakan Rajendran











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eva Kolega
Sent: Friday, November 19, 2004
7:22 AM
To: [EMAIL PROTECTED]
Subject: COMPILATION ERROR





I used to have an error
in compilation with mysql components, so I thought of changing machine (SUN
Fire 280R) and begin from scratch.
So I installed mysql 2.0.21 and openssl as recommended by Sun.

And then I had the following error in bold upon compilation.
However, this file is there !

I have seen this error in a newsgroup in early October but I did not see any
answer provided. But of course freeradius runs on Sol 9!

So, has anybody come accross to this error ? 

Thanks a lot,

Eva 

COMPILATION
LOG-
make[6]: Leaving directory
`/usr/local/src/freeradius-1.0.1/src/modules/rlm_unix'
Making static dynamic in rlm_x99_token...
make[6]: Entering directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
-Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -Wundef -I../../include
-DX99_MODULE_NAME=\rlm_x99_token\ -DFREERADIUS -c x99_rlm.c
-o x99_rlm.o
In file included from x99_rlm.c:54:
x99.h:26:42: openssl/des.h: No such file or
directory
In file included from x99_rlm.c:54:
x99.h:146: error: parse error before des_cblock
x99.h:146: warning: no semicolon at end of struct or union
x99.h:147: warning: type defaults to `int' in declaration of `x99_user_info_t'
x99.h:147: warning: data definition has no type or storage class
x99.h:152: error: parse error before des_cblock
x99.h:152: warning: function declaration isn't a prototype
x99.h:153: error: parse error before des_cblock
x99.h:153: warning: function declaration isn't a prototype
x99.h:165: error: parse error before des_cblock
x99.h:165: warning: function declaration isn't a prototype
x99.h:166: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:166: error: parse error before keyblock
x99.h:167: warning: function declaration isn't a prototype
x99.h:170: error: parse error before x99_user_info_t
x99.h:170: warning: function declaration isn't a prototype
x99.h:180: error: parse error before des_cblock
x99.h:180: warning: function declaration isn't a prototype
x99.h:182: warning: type defaults to `int' in declaration of `des_cblock'
x99.h:182: error: parse error before keyblock
x99.h:182: warning: function declaration isn't a prototype
x99_rlm.c: In function `x99_token_authorize':
x99_rlm.c:294: error: parse error before user_info
x99_rlm.c:331: error: `user_info' undeclared (first use in this function)
x99_rlm.c:331: error: (Each undeclared identifier is reported only once
x99_rlm.c:331: error: for each function it appears in.)
x99_rlm.c: In function `x99_token_authenticate':
x99_rlm.c:460: error: parse error before user_info
x99_rlm.c:492: error: `user_info' undeclared (first use in this function)
x99_rlm.c:550: warning: deprecated use of label at end of compound statement
make[6]: *** [x99_rlm.o] Error 1
make[6]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules/rlm_x99_token'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/local/src/freeradius-1.0.1/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/freeradius-1.0.1/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/usr/local/src/freeradius-1.0.1'
make: *** [all] Error 2












Freeradius compilation ERROR

2004-08-02 Thread polish
Hello,

  I have same problem as apellido jr., wilfredo p with compilation of
freeradius (more
http://lists.cistron.nl/pipermail/freeradius-users/2004-July/033716.html
).
  I read previous response in archive and I maked change, but nothink me
help. Apellido had true, file libltdl/Makefile is not created. I've tried
compile cvs night snapshot from 29.7. ,  2.8 and downloaded directly from
cvs today.

[EMAIL PROTECTED]:~/radiusd$ make
make[1]: Entering directory `/home/polish/radiusd'
Making all in libltdl...
make[2]: Entering directory `/home/polish/radiusd/libltdl'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/polish/radiusd/libltdl'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/home/polish/radiusd'
make: *** [all] Error 2

thanks for help Polish




- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius compilation ERROR

2004-08-02 Thread Milver S. Nisay

Hello,
 I have same problem as apellido jr., wilfredo p with compilation of
freeradius (more
http://lists.cistron.nl/pipermail/freeradius-users/2004-July/033716.html
follow the archive, i remember he posted his solution.
milver
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius compilation ERROR

2004-08-02 Thread apellido jr., wilfredo p.
Hi,  i thought im only one got those compiling errors. Im tried to install
manually, this is how i do it..

cd /usr/local/radiusd/libltdl

./configure --enable-ltdl-install --with-ltdl-include=/usr/local/include --w
ith-ltdl-li
b=/usr/local/lib

then i go back to radiusd directory then make but i got some problem with
mschap and other module and i tried to remove those module but still got a
fatal error in src directory. Now im only waiting the final stable release
of freeradius 1.0.




- Original Message - 
From: polish [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 02, 2004 4:03 PM
Subject: Freeradius compilation ERROR


 Hello,

   I have same problem as apellido jr., wilfredo p with compilation of
 freeradius (more
 http://lists.cistron.nl/pipermail/freeradius-users/2004-July/033716.html
 ).
   I read previous response in archive and I maked change, but nothink me
 help. Apellido had true, file libltdl/Makefile is not created. I've tried
 compile cvs night snapshot from 29.7. ,  2.8 and downloaded directly from
 cvs today.

 [EMAIL PROTECTED]:~/radiusd$ make
 make[1]: Entering directory `/home/polish/radiusd'
 Making all in libltdl...
 make[2]: Entering directory `/home/polish/radiusd/libltdl'
 make[2]: *** No rule to make target `all'.  Stop.
 make[2]: Leaving directory `/home/polish/radiusd/libltdl'
 make[1]: *** [common] Error 1
 make[1]: Leaving directory `/home/polish/radiusd'
 make: *** [all] Error 2

 thanks for help Polish




 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius compilation ERROR

2004-07-09 Thread Gary McKinney
Hi Apellido,

this is a known issue - here is Alan's previous response (it's in the
archives too!):

-
  The solution is to edit libltdl/Makefile, and change:

top_builddir = .

  to:

top_builddir = ./..
-

This corrected the build process for me with FreeBSD 5.2.1


gm...


- Original Message - 
From: apellido jr., wilfredo p. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 11:05 PM
Subject: Freeradius compilation ERROR


 Freebsd 4.10
 Freeradius latest development CVS July 09, 2004


 diameter# make
 Making all in libltdl...
 gmake[1]: Entering directory `/usr/local/radiusd/libltdl'
 gmake[1]: *** No rule to make target `all'.  Stop.
 gmake[1]: Leaving directory `/usr/local/radiusd/libltdl'
 gmake: *** [common] Error 1
 *** Error code 2

 Stop in /usr/local/radiusd.



 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
 ---
 [This E-mail scanned for viruses by Declude Ant-Virus Scanner]



---
[This E-mail scanned for viruses by Declude Ant-Virus Scanner]


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius compilation ERROR

2004-07-09 Thread apellido jr., wilfredo p.
Hello Gary, Ive read previously response of Allan bout the libltdl Makefile
issue in FreeBSD. The problem is freeradius doesnt create a Makefile in
libltdl directory, after issueng ./configure .  here's the error:


diameter:/usr/local/radiusd# make
Making all in libltdl...
gmake[1]: Entering directory `/usr/local/radiusd/libltdl'
gmake[1]: *** No rule to make target `all'.  Stop.
gmake[1]: Leaving directory `/usr/local/radiusd/libltdl'
gmake: *** [common] Error 1
*** Error code 2




- Original Message - 
From: Gary McKinney [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 09, 2004 6:23 PM
Subject: Re: Freeradius compilation ERROR


 Hi Apellido,

 this is a known issue - here is Alan's previous response (it's in the
 archives too!):

 -
   The solution is to edit libltdl/Makefile, and change:

 top_builddir = .

   to:

 top_builddir = ./..
 -

 This corrected the build process for me with FreeBSD 5.2.1


 gm...


 - Original Message - 
 From: apellido jr., wilfredo p. [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, July 08, 2004 11:05 PM
 Subject: Freeradius compilation ERROR


  Freebsd 4.10
  Freeradius latest development CVS July 09, 2004
 
 
  diameter# make
  Making all in libltdl...
  gmake[1]: Entering directory `/usr/local/radiusd/libltdl'
  gmake[1]: *** No rule to make target `all'.  Stop.
  gmake[1]: Leaving directory `/usr/local/radiusd/libltdl'
  gmake: *** [common] Error 1
  *** Error code 2
 
  Stop in /usr/local/radiusd.
 
 
 
  -
  List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html
  ---
  [This E-mail scanned for viruses by Declude Ant-Virus Scanner]
 
 

 ---
 [This E-mail scanned for viruses by Declude Ant-Virus Scanner]


 -
 List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html