1.17 compilation errors

Paul Bartell paul.bartell at gmail.com
Sat Nov 17 02:09:12 CET 2007


Hello.
when trying to compile freeradius under ubuntu 7.10, i get the following error:

 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall
-D_GNU_SOURCE -DNDEBUG
-I/home/paulb/build/freeradius-1.1.7/src/include
-I/home/paulb/build/freeradius-1.1.7/src/modules/rlm_sql -c
rlm_sqlippool.c  -fPIC -DPIC -o .libs/rlm_sqlippool.o
In file included from rlm_sqlippool.c:37:
/home/paulb/build/freeradius-1.1.7/src/include/modpriv.h:7:18: error:
ltdl.h: No such file or directory
In file included from rlm_sqlippool.c:37:
/home/paulb/build/freeradius-1.1.7/src/include/modpriv.h:16: error:
expected specifier-qualifier-list before 'lt_dlhandle'
In file included from rlm_sqlippool.c:39:
/home/paulb/build/freeradius-1.1.7/src/modules/rlm_sql/rlm_sql.h:15:18:
error: ltdl.h: No such file or directory
In file included from rlm_sqlippool.c:39:
/home/paulb/build/freeradius-1.1.7/src/modules/rlm_sql/rlm_sql.h:68:
error: expected specifier-qualifier-list before 'lt_dlhandle'
rlm_sqlippool.c: In function 'sqlippool_command':
rlm_sqlippool.c:311: error: 'SQL_INST' has no member named 'module'
rlm_sqlippool.c: In function 'sqlippool_query1':
rlm_sqlippool.c:358: error: 'SQL_INST' has no member named 'module'
rlm_sqlippool.c: In function 'sqlippool_postauth':
rlm_sqlippool.c:539: warning: pointer targets in passing argument 2 of
'strNcpy' differ in signedness
rlm_sqlippool.c:526: warning: unused variable 'self'
make[6]: *** [rlm_sqlippool.lo] Error 1
make[6]: Leaving directory
`/home/paulb/build/freeradius-1.1.7/src/modules/rlm_sqlippool'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/home/paulb/build/freeradius-1.1.7/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/paulb/build/freeradius-1.1.7/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/home/paulb/build/freeradius-1.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/paulb/build/freeradius-1.1.7/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/home/paulb/build/freeradius-1.1.7'
make: *** [all] Error 2


I simply have no idea what it is referring to, and what i can do to
fix it. Sorry if it seems a bit noobtistic, i haven't ever compiled
something this complex.

Thanks,

Paul
-- 
"If you are savvy and smart about the choices you make in life, The
sky is not the limit!"
Mark Shuttleworth

Random quote of the week/month/whenever i get to updating it: "This is
an incline plane. You roll stuff down it." Or is it one of those
"incline planes have been used throughout the millenia, from the
Egyptian pyramids to this stupid science class" videos?"
- Jasmine Lee



More information about the Freeradius-Users mailing list