Hi all,

we installed Oracle client 9i downloaded from Oracle
website, when compiling FreeRadius , 
./configure --with-oracle-home-dir=/u02/ora_clnt

we got the error output shown below  

is this the suitable oracle clinet to be installed
??????

thanks for help 

Regards,



[EMAIL PROTECTED] rlm_sql_oracle]# make
/root/freeradius-0.9.3/libtool --mode=compile gcc  -g
-O2 -D_REENTRANT -D_POSIX_
PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG 
-I../.. -I../../../../include -I
/u02/ora_clnt/rdbms/demo -I/u02/ora_clnt/rdbms/public
-I/u02/ora_clnt/plsql/publ
ic -I/u02/ora_clnt/network/public
-I/u02/ora_clnt/oci/include  -c sql_oracle.c
rm -f .libs/sql_oracle.lo
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-Wall -D_GNU_SOURCE -DNDEBUG
-I../.. -I../../../../include
-I/u02/ora_clnt/rdbms/demo -I/u02/ora_clnt/rdbms/p
ublic -I/u02/ora_clnt/plsql/public
-I/u02/ora_clnt/network/public -I/u02/ora_cln
t/oci/include -c sql_oracle.c        -fPIC -DPIC -o
.libs/sql_oracle.lo
sql_oracle.c:30: parse error before '<' token
sql_oracle.c:35: warning: type defaults to `int' in
declaration of `errHandle'
sql_oracle.c:35: warning: data definition has no type
or storage class
sql_oracle.c:36: parse error before '*' token
sql_oracle.c:36: warning: type defaults to `int' in
declaration of `conn'
sql_oracle.c:36: warning: data definition has no type
or storage class
sql_oracle.c:37: parse error before '*' token
sql_oracle.c:37: warning: type defaults to `int' in
declaration of `queryHandle'
sql_oracle.c:37: warning: data definition has no type
or storage class
sql_oracle.c:42: parse error before '}' token
sql_oracle.c:42: warning: type defaults to `int' in
declaration of `rlm_sql_orac
le_sock'
sql_oracle.c:42: warning: data definition has no type
or storage class
sql_oracle.c:55: parse error before '*' token
sql_oracle.c: In function `sql_error':
sql_oracle.c:58: `sb4' undeclared (first use in this
function)
sql_oracle.c:58: (Each undeclared identifier is
reported only once
sql_oracle.c:58: for each function it appears in.)
sql_oracle.c:58: parse error before "errcode"
sql_oracle.c:59: `oracle_sock' undeclared (first use
in this function)
sql_oracle.c:59: `sqlsocket' undeclared (first use in
this function)
sql_oracle.c:63: warning: implicit declaration of
function `OCIErrorGet'
sql_oracle.c:63: `dvoid' undeclared (first use in this
function)
sql_oracle.c:63: parse error before ')' token
sql_oracle.c:65: `errcode' undeclared (first use in
this function)
sql_oracle.c: At top level:
sql_oracle.c:82: parse error before '*' token
sql_oracle.c: In function `sql_close':
sql_oracle.c:84: `oracle_sock' undeclared (first use
in this function)
sql_oracle.c:84: `sqlsocket' undeclared (first use in
this function)
sql_oracle.c:87: warning: implicit declaration of
function `OCILogoff'
sql_oracle.c:91: warning: implicit declaration of
function `OCIHandleFree'
sql_oracle.c:91: `dvoid' undeclared (first use in this
function)
sql_oracle.c:91: parse error before ')' token
sql_oracle.c:94: parse error before ')' token
sql_oracle.c:97: parse error before ')' token
sql_oracle.c: At top level:
sql_oracle.c:115: parse error before '*' token
sql_oracle.c: In function `sql_init_socket':

.
.
.
.
.sql_oracle.c:599: warning: excess elements in scalar
initializer
sql_oracle.c:599: warning: (near initialization for
`rlm_sql_oracle')
sql_oracle.c:601: warning: excess elements in scalar
initializer
sql_oracle.c:601: warning: (near initialization for
`rlm_sql_oracle')
sql_oracle.c:601: warning: data definition has no type
or storage class
make: *** [sql_oracle.lo] Error 1






 

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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

Reply via email to