It seems you are not including the dinamic link libraries to compile... Something like -ldbm at the compilation time
Regards ----- Original Message ----- From: Octavio Ramirez Rojas <[EMAIL PROTECTED]> Date: Thursday, June 19, 2003 10:40 am Subject: dbm to gdbm conversion > > > Hi, > > I working with Linux Mandrake 9.0 and I try of installing RADIUS > services with EAP authentification, I have compilation problems > with the > function rlm_dbm_parser.c that referencies gdbm.h and/or dbm.h > > When I installed gdbm-1.8.0, the dbm.h and gdbm.h was created into the > directory /usr/local/include. > > You can see the resultat of compilation: > > ----- begin compilation ----- > > > /usr/src/802/radius/radiusd/libtool --mode=link gcc rlm_dbm_parser.o > ../../lib/libradius.a -lnsl -lresolv -lpthread -lpthread -o > rlm_dbm_parser > gcc rlm_dbm_parser.o -o rlm_dbm_parser ../../lib/libradius.a -lnsl > -lresolv -lpthread -lpthread > rlm_dbm_parser.o: In function `open_storage': > /usr/src/802/radius/radiusd/src/modules/rlm_dbm/rlm_dbm_parser.c:101: > undefined reference to `dbm_open' > rlm_dbm_parser.o: In function `close_storage': > /usr/src/802/radius/radiusd/src/modules/rlm_dbm/rlm_dbm_parser.c:109: > undefined reference to `dbm_close' > rlm_dbm_parser.o: In function `storecontent': > /usr/src/802/radius/radiusd/src/modules/rlm_dbm/rlm_dbm_parser.c:163: > undefined reference to `dbm_store' > /usr/src/802/radius/radiusd/src/modules/rlm_dbm/rlm_dbm_parser.c:168: > undefined reference to `dbm_store' > collect2: ld returned 1 exit status > make: *** [rlm_dbm_parser] Erreur 1 > > ---- end compilation ---- > > The problem is the conflit between dbm.h and ndbm.h > > I was modified ndbm.h by dbm.h, but i have more errors. > > > There is the "conv2gdbm" utility... but what is the file to modify?? > dbm.h? > rlm_dbm_parser.c? > > Herewith you have the original "rlm_dbm_parser.c" file. > > If you can help me, i will be thankful with you. > > Best Regards. > > Octavio RAMIREZ ROJAS > Université de Versailles de Saint Quentin-en-Yvelines > 45, Avenue des Etats-Unis > 78035, Versailles Cedex > France > > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
