Re: Freeradius(.net) and Oracle
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
Brian Atkins wrote:
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:
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
Let me guess. You tried to build rlm_sql_oracle from inside of it's directory, rather than following the instructions on doing a top-level "configure" and "make".
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.
FreeRADIUS doesn't use automake.
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?
i.e. you are NOT trying to re-build it from the tarball. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Brian Atkins