Has anyone been able to compile freeradius-0.9.3 under Solaris 8? Any help you could provide would be great. I have looked through the archives of the list, and I can't find anything related.

I got errors on the following rlm modules so I removed the source completely:

rlm_eap
rlm_sql
rlm_sqlcounter (didn't actually get an error on this one, removed it pre-emptively)


But now I am getting an error in main:

Making all in main...
make[4]: Entering directory `/usr/local/src/freeradius-0.9.3/src/main'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c radiusd.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c files.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c util.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c acct.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c nas.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c log.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c valuepair.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -o version.o -c version.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c proxy.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c exec.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c auth.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c timestr.c
timestr.c: In function `week_fill':
timestr.c:189: warning: subscript has type `char'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -c conffile.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../include -DRADIUSD_MAJOR_VERSION=0 -DRADIUSD_MINOR_VERSION=9.3 -c modules.c
In file included from modules.c:35:
../include/modpriv.h:7:18: ltdl.h: No such file or directory
In file included from modules.c:35:
../include/modpriv.h:16: parse error before "lt_dlhandle"
../include/modpriv.h:16: warning: no semicolon at end of struct or union
../include/modpriv.h:17: warning: type defaults to `int' in declaration of `module_list_t'
../include/modpriv.h:17: warning: data definition has no type or storage class
../include/modpriv.h:27: parse error before "module_list_t"
../include/modpriv.h:27: warning: no semicolon at end of struct or union
../include/modpriv.h:32: parse error before '}' token
../include/modpriv.h:32: warning: type defaults to `int' in declaration of `module_instance_t'
../include/modpriv.h:32: warning: data definition has no type or storage class
../include/modpriv.h:34: parse error before '*' token
../include/modpriv.h:34: warning: type defaults to `int' in declaration of `find_module_instance'


For the interested, the rlm_eap compile errors were:

Making static dynamic in rlm_eap...
make[6]: Entering directory `/usr/local/src/freeradius-0.9.3/src/modules/rlm_eap'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -c rlm_eap.c -o rlm_eap.o
In file included from rlm_eap.c:25:
rlm_eap.h:25:18: ltdl.h: No such file or directory
In file included from rlm_eap.c:25:
rlm_eap.h:77: parse error before "lt_dlhandle"


The rlm_sql compile errors were:

Making static dynamic in rlm_sql...
make[6]: Entering directory `/usr/local/src/freeradius-0.9.3/src/modules/rlm_sql'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -c rlm_sql.c -o rlm_sql.o
In file included from rlm_sql.c:48:
rlm_sql.h:15:25: ltdl.h: No such file or directory



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

Reply via email to