Snapshot error
Also snap freeradius-snapshot-20031104.tar.gz did not compile correctly. Olaf Making static in types... gmake[8]: Entering directory `/usr/src/freeradius-snapshot-20031104/src/modules/rlm_eap/types' /usr/bin/gmake -w WHAT_TO_MAKE=static common gmake[9]: Entering directory `/usr/src/freeradius-snapshot-20031104/src/modules/rlm_eap/types' Making static in rlm_eap_gtc... gmake[10]: Entering directory `/usr/src/freeradius-snapshot-20031104/src/modules/rlm_eap/types/rlm_eap_gtc' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -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 -I../.. -c rlm_eap_gtc.c -o rlm_eap_gtc.o In file included from rlm_eap_gtc.c:28: ../../eap.h:44:23: eap_types.h: No such file or directory In file included from rlm_eap_gtc.c:28: ../../eap.h:56: parse error before EAP_PACKET ../../eap.h:56: warning: no semicolon at end of struct or union ../../eap.h:57: warning: type defaults to `int' in declaration of `request' ../../eap.h:57: warning: data definition has no type or storage class ../../eap.h:59: parse error before '}' token ../../eap.h:59: warning: type defaults to `int' in declaration of `EAP_DS' ../../eap.h:59: warning: data definition has no type or storage class ../../eap.h:116: parse error before EAP_DS ../../eap.h:116: warning: no semicolon at end of struct or union ../../eap.h:117: warning: type defaults to `int' in declaration of `eap_ds' ../../eap.h:117: warning: data definition has no type or storage class ../../eap.h:120: warning: declaration of `opaque' shadows a global declaration ../../eap.h:119: warning: shadowed declaration is here ../../eap.h:125: parse error before '}' token ../../eap.h:125: warning: type defaults to `int' in declaration of `EAP_HANDLER' ../../eap.h:125: warning: data definition has no type or storage class ../../eap.h:133: parse error before EAP_HANDLER ../../eap.h:133: warning: function declaration isn't a prototype ../../eap.h:134: parse error before EAP_HANDLER ../../eap.h:134: warning: function declaration isn't a prototype ../../eap.h:135: parse error before EAP_HANDLER ../../eap.h:135: warning: function declaration isn't a prototype rlm_eap_gtc.c: In function `gtc_detach': rlm_eap_gtc.c:60: warning: passing arg 1 of `free' discards qualifiers from pointer target type rlm_eap_gtc.c:61: warning: passing arg 1 of `free' discards qualifiers from pointer target type rlm_eap_gtc.c: In function `gtc_attach': rlm_eap_gtc.c:71: warning: unused parameter `instance' rlm_eap_gtc.c: At top level: rlm_eap_gtc.c:96: parse error before EAP_HANDLER rlm_eap_gtc.c:97: warning: function declaration isn't a prototype rlm_eap_gtc.c: In function `gtc_initiate': rlm_eap_gtc.c:99: invalid operands to binary * rlm_eap_gtc.c:99: `handler' undeclared (first use in this function) rlm_eap_gtc.c:99: (Each undeclared identifier is reported only once rlm_eap_gtc.c:99: for each function it appears in.) rlm_eap_gtc.c:100: `type_data' undeclared (first use in this function) rlm_eap_gtc.c:110: request for member `request' in something not a structure or union rlm_eap_gtc.c:110: `PW_EAP_REQUEST' undeclared (first use in this function) rlm_eap_gtc.c:112: request for member `request' in something not a structure or union rlm_eap_gtc.c:113: request for member `request' in something not a structure or union rlm_eap_gtc.c:118: request for member `request' in something not a structure or union rlm_eap_gtc.c:119: request for member `request' in something not a structure or union rlm_eap_gtc.c: At top level: rlm_eap_gtc.c:137: parse error before EAP_HANDLER rlm_eap_gtc.c:138: warning: function declaration isn't a prototype rlm_eap_gtc.c: In function `gtc_authenticate': rlm_eap_gtc.c:139: invalid operands to binary * rlm_eap_gtc.c:139: `handler' undeclared (first use in this function) rlm_eap_gtc.c:152: request for member `response' in something not a structure or union rlm_eap_gtc.c:161: request for member `response' in something not a structure or union rlm_eap_gtc.c:164: request for member `response' in something not a structure or union rlm_eap_gtc.c:182: request for member `response' in something not a structure or union rlm_eap_gtc.c:187: request for member `response' in something not a structure or union gmake[10]: *** [rlm_eap_gtc.o] Error 1 gmake[10]: Leaving directory `/usr/src/freeradius-snapshot-20031104/src/modules/rlm_eap/types/rlm_eap_gtc' gmake[9]: *** [common] Error 1 gmake[9]: Leaving directory `/usr/src/freeradius-snapshot-20031104/src/modules/rlm_eap/types' gmake[8]: *** [static] Error 2 gmake[8]: Leaving directory `/usr/src/freeradius-snapshot-20031104/src/modules/rlm_eap/types' gmake[7]: *** [common] Error 1 gmake[7]: Leaving directory `/usr/src/freeradius-snapshot-20031104/src/modules/rlm_eap' gmake[6]: *** [static] Error 2 gmake[6]: Leaving directory
Re: Snapshot error
Alexey Chetroi wrote: On Thu, Feb 06, 2003 at 01:10:20AM -0500, Gene Parks wrote: Subject: Snapshot error From: Gene Parks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 6 Feb 2003 01:10:20 -0500 Thought you guys should know that the new snapshot is producing this error after install. 2003-02-06 00:41:52.418187500 Starting - reading configuration files ... 2003-02-06 00:41:52.437049500 ?[0]: Unknown variable datadir 2003-02-06 00:41:53.526664500 Starting - reading configuration files ... 2003-02-06 00:41:53.543306500 ?[0]: Unknown variable datadir 2003-02-06 00:41:54.638002500 Starting - reading configuration files ... 2003-02-06 00:41:54.655309500 ?[0]: Unknown variable datadir 2003-02-06 00:41:55.748170500 Starting - reading configuration files ... 2003-02-06 00:41:55.764256500 ?[0]: Unknown variable datadir 2003-02-06 00:41:56.857507500 Starting - reading configuration files ... 2003-02-06 00:41:56.873177500 ?[0]: Unknown variable datadir radiusd.conf from the snapshots is a bit different from those 0.8.1. I've compiled a snapshot from cvs yesterday and it complains about the same error and after that dumps core, so I had modify radiusd.conf from CVS tree. you should add something like : datadir = ${prefix}/share 'hope this help, @+ -- DouRiX - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Snapshot error
Gene Parks [EMAIL PROTECTED] wrote: Thought you guys should know that the new snapshot is producing this error after install. 2003-02-06 00:41:52.418187500 Starting - reading configuration files ... 2003-02-06 00:41:52.437049500 ?[0]: Unknown variable datadir The configuration files may change from snapshot to snapshot. One of the changes is the introduction of new configuration directives. The installation process does NOT over-write your existing configuration (with good reason), so it's up to you to ensure that the new directives get added to your old configuration files. In this case, define datadir... Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Snapshot error
Title: Snapshot error Thought you guys should know that the new snapshot is producing this error after install. 2003-02-06 00:41:52.418187500 Starting - reading configuration files ... 2003-02-06 00:41:52.437049500 ?[0]: Unknown variable datadir 2003-02-06 00:41:53.526664500 Starting - reading configuration files ... 2003-02-06 00:41:53.543306500 ?[0]: Unknown variable datadir 2003-02-06 00:41:54.638002500 Starting - reading configuration files ... 2003-02-06 00:41:54.655309500 ?[0]: Unknown variable datadir 2003-02-06 00:41:55.748170500 Starting - reading configuration files ... 2003-02-06 00:41:55.764256500 ?[0]: Unknown variable datadir 2003-02-06 00:41:56.857507500 Starting - reading configuration files ... 2003-02-06 00:41:56.873177500 ?[0]: Unknown variable datadir
Re: Snapshot error
On Thu, Feb 06, 2003 at 01:10:20AM -0500, Gene Parks wrote: Subject: Snapshot error From: Gene Parks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 6 Feb 2003 01:10:20 -0500 Thought you guys should know that the new snapshot is producing this error after install. 2003-02-06 00:41:52.418187500 Starting - reading configuration files ... 2003-02-06 00:41:52.437049500 ?[0]: Unknown variable datadir 2003-02-06 00:41:53.526664500 Starting - reading configuration files ... 2003-02-06 00:41:53.543306500 ?[0]: Unknown variable datadir 2003-02-06 00:41:54.638002500 Starting - reading configuration files ... 2003-02-06 00:41:54.655309500 ?[0]: Unknown variable datadir 2003-02-06 00:41:55.748170500 Starting - reading configuration files ... 2003-02-06 00:41:55.764256500 ?[0]: Unknown variable datadir 2003-02-06 00:41:56.857507500 Starting - reading configuration files ... 2003-02-06 00:41:56.873177500 ?[0]: Unknown variable datadir radiusd.conf from the snapshots is a bit different from those 0.8.1. I've compiled a snapshot from cvs yesterday and it complains about the same error and after that dumps core, so I had modify radiusd.conf from CVS tree. -- Best regards, Alexey Chetroi --- Smile... Tomorrow will be worse. (c) Murphy's law - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html