bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dbm to gdbm conversion


From: Octavio Ramirez Rojas
Subject: dbm to gdbm conversion
Date: 19 Jun 2003 15:22:16 +0200

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


 

Attachment: rlm_dbm_parser.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]