Hello,
 
FreeRADIUS 0.7 does not compile with ORACLE support:
 
./configure  --prefix=/usr --with-logdir=/var/log --with-radacctdir=/var/log/radacct --with-raddbdir=/etc/raddb --with-rlm_sql --with-rlm_sql_oracle --with-experimental-modules --with-snmp --without-rlm_x99_token

 
configuring in ./drivers/rlm_sql_oracle
running /bin/sh ./configure  --prefix=/usr --with-logdir=/var/log --with-radacctdir=/var/log/radacct --with-raddbdir=/etc/raddb --with-rlm_sql --with-rlm_sql_oracle --with-experimental-modules --with-snmp --without-rlm_x99_token --enable-ltdl-install --enable-ltdl-install --cache-file=../../../../.././config.cache --srcdir=.
loading cache ../../../../.././config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG ) works... yes
checking whether the C compiler (gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for oci.h... yes
yes
creating ./config.status
creating Makefile

 
Making static in rlm_sql_oracle...
make[10]: Entering directory `/usr/src/freeradius-0.7/src/modules/rlm_sql/drivers/rlm_sql_oracle'
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../.. -I../../../../include -I/usr/local/oracle/product/8.1.7/rdbms/demo -I/usr/local/oracle/product/8.1.7/rdbms/public -I/usr/local/oracle/product/8.1.7/plsql/public -I/usr/local/oracle/product/8.1.7/network/public -I/usr/local/oracle/product/8.1.7/oci/include -I/usr/src/freeradius-0.7/libltdl -c sql_oracle.c -o sql_oracle.o
sql_oracle.c:361: conflicting types for `sql_fetch_row'
sql_oracle.h:33: previous declaration of `sql_fetch_row'
sql_oracle.c: In function `sql_fetch_row':
sql_oracle.c:374: warning: return makes integer from pointer without a cast
make[10]: *** [sql_oracle.o] Error 1

 
Best Regards,
Felician Hoppal
 

Reply via email to