Hi,

I am getting some problems during compilation of freeradius with the Oracle Backend.

Oracle and it's dev files are installed in /usr/local/oracle, /usr/lib, /usr/include
The used version of freeradius is the latest snapshot, the oracle libs are version 8i, the system is running debian testing/unstable, with gcc version 2.95.4 20011002 (Debian prerelease).

During compilation the following errors keep comming up:

Making static in rlm_sql_oracle...
make[11]: Entering directory `/root/freeradius-snapshot-20021202/src/modules/rlm_sql/drivers/rlm_sql_oracle'
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 -I../.. -I../../../../include -c sql_oracle.c -o sql_oracle.o
In file included from /usr/include/ori.h:495,
from /usr/include/oci.h:1656,
from sql_oracle.c:15:
/usr/include/ort.h:2647: warning: declaration of `version' shadows global declaration
In file included from /usr/include/oci.h:1660,
from sql_oracle.c:15:
/usr/include/orl.h:3232: warning: declaration of `index' shadows global declaration
/usr/include/orl.h:3315: warning: declaration of `index' shadows global declaration
/usr/include/orl.h:3776: warning: declaration of `index' shadows global declaration
/usr/include/orl.h:3806: warning: declaration of `index' shadows global declaration
/usr/include/orl.h:3841: warning: declaration of `index' shadows global declaration
/usr/include/orl.h:3871: warning: declaration of `index' shadows global declaration
/usr/include/orl.h:3901: warning: declaration of `index' shadows global declaration
/usr/include/orl.h:3936: warning: declaration of `index' shadows global declaration
In file included from /usr/include/oci.h:1673,
from sql_oracle.c:15:
/usr/include/ociap.h:5561: warning: declaration of `index' shadows global declaration
/usr/include/ociap.h:5565: warning: declaration of `index' shadows global declaration
/usr/include/ociap.h:5913: warning: declaration of `version' shadows global declaration
/usr/include/ociap.h:6307: warning: declaration of `index' shadows global declaration
/usr/include/ociap.h:8855: warning: declaration of `timezone' shadows global declaration
sql_oracle.c: In function `sql_select_query':
sql_oracle.c:301: `SQLT_AFV' undeclared (first use in this function)
sql_oracle.c:301: (Each undeclared identifier is reported only once
sql_oracle.c:301: for each function it appears in.)
make[11]: *** [sql_oracle.o] Error 1make[11]: Leaving directory `/root/freeradius-snapshot-20021202/src/modules/rlm_sql/drivers/rlm_sql_oracle'
make[10]: *** [common] Error 1
make[10]: Leaving directory `/root/freeradius-snapshot-20021202/src/modules/rlm_sql/drivers'
make[9]: *** [static] Error 2
make[9]: Leaving directory `/root/freeradius-snapshot-20021202/src/modules/rlm_sql/drivers'
make[8]: *** [common] Error 1
make[8]: Leaving directory `/root/freeradius-snapshot-20021202/src/modules/rlm_sql'
make[7]: *** [static] Error 2
make[7]: Leaving directory `/root/freeradius-snapshot-20021202/src/modules/rlm_sql'
make[6]: *** [common] Error 1
make[6]: Leaving directory `/root/freeradius-snapshot-20021202/src/modules'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/root/freeradius-snapshot-20021202/src/modules'
make[4]: *** [common] Error 1
make[4]: Leaving directory `/root/freeradius-snapshot-20021202/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/freeradius-snapshot-20021202/src'
make[2]: *** [common] Error 1
make[2]: Leaving directory `/root/freeradius-snapshot-20021202'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/freeradius-snapshot-20021202'
make: *** [build] Error 2
radius-harvester:~/freeradius-snapshot-20021202#



With Regards,
Tom Mulder


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

Reply via email to