Error when trying to compile 3.0.10

Bertalan Voros bertalan.voros at gmail.com
Thu Dec 10 13:09:32 CET 2015


Hello All,

I am getting an error when trying to compile FreeRADIUS 3.0.10 on an Ubuntu
14.04.

Following this guide:
http://wiki.freeradius.org/guide/Active-Directory-direct-via-winbind

All dependencies are installed according to dpkg-checkbuilddeps.

I then run configure:
./configure -C --prefix=/opt/freeradius3 --with-winbind-dir=/opt/samba4.3.2

Then getting errors at the sqlite bit:
src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c:802:30: error:
‘rlm_sql_sqlite_conn_t’ has no member named ‘db’
   return sqlite3_changes(conn->db);
                              ^
src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c: In function
‘sql_select_query’:
src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c:594:1: warning:
control reaches end of non-void function [-Wreturn-type]
 }
 ^
src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c: In function
‘sql_query’:
src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c:615:1: warning:
control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: ***
[build/objs/src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.lo]
Error 1

Any help will be appreciated.

Bertalan


More information about the Freeradius-Users mailing list