Freeradius(.net) and Oracle

Brian Atkins batkins at tlcdelivers.com
Fri Feb 2 17:32:06 CET 2007


OK, so I pulled down the tarball for 1.1.4 from the site and I am in the 
process of compiling it on Cygwin. Now I am getting an entirely 
different error:

/home/Administrator/freeradius-1.1.4/libtool --mode=compile gcc  -g -O2 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG 
-I../.. -I/home/Administrator/freeradius-1.1.4/src/include 
-I/cygdrive/d/oracle/ora92//rdbms/demo 
-I/cygdrive/d/oracle/ora92//rdbms/public 
-I/cygdrive/d/oracle/ora92//plsql/public 
-I/cygdrive/d/oracle/ora92//network/public 
-I/cygdrive/d/oracle/ora92//oci/include  -c sql_oracle.c
  gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE 
-DNDEBUG -I../.. -I/home/Administrator/freeradius-1.1.4/src/include 
-I/cygdrive/d/oracle/ora92//rdbms/demo 
-I/cygdrive/d/oracle/ora92//rdbms/public 
-I/cygdrive/d/oracle/ora92//plsql/public 
-I/cygdrive/d/oracle/ora92//network/public 
-I/cygdrive/d/oracle/ora92//oci/include -c sql_oracle.c  -DPIC -o 
.libs/sql_oracle.o
In file included from sql_oracle.c:28:
/home/Administrator/freeradius-1.1.4/src/include/radiusd.h:11:22: 
*radpaths.h: No such file or directory*
sql_oracle.c: In function `sql_select_query':
sql_oracle.c:342: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
make: *** [sql_oracle.lo] Error 1

I dug back through the archives and found a reference from version 
0.9.0-pre1 (2003) that indicated a bug in automake. I'm using automake 
(GNU automake) 1.10.

Anyone know if this is still a open issue?

Another question would be if I re-built Freeradius from the tarball 
would it make the rlm_sql_oracle module automatically, or do I need to 
build it separately?

Thanks,

Brian



More information about the Freeradius-Users mailing list