Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(ASCEND) Problems with Ascend Radius DBM on Linux 4.2



I'm having some difficulty switching to the DBM version of Ascend
radius. The two Radius servers I am trying to switch to DBM mode are a
4.2 Redhat Linux and a 5.0 Redhat Linux systems. I have changed the the
Makefile for the Radius version 1.16 and the non DBM version compiles
and runs great. However on the DBM version it complains of the
nonexistence of the "dbm.h" header file. I have acquired dbm.h file from
another server and placed it in the include directory. Alternatively I
have changed the include statement to use "gdbm.h" . Both methods fail
with the following error:
gcc              -O -Dsys5 -DNOSHADOW -DBINARY_FILTERS -DASCEND_SECRET
-DASCEND_LOGOUT  -lgdbm -DDBM_MODE -o usersdbm.o -c ./users.c
./users.c: In function `fetch':
./users.c:214: warning: assignment discards `const' from pointer target
type
./users.c:216: incompatible type for argument 1 of `fetch'
./users.c:216: too few arguments to function `fetch'
./users.c:216: incompatible types in assignment
./users.c:225: incompatible type for argument 1 of `fetch'
./users.c:225: too few arguments to function `fetch'
./users.c:225: incompatible types in assignment
make: *** [usersdbm.o] Error 1

I know I must be missing something simple, but after reading through the
FAQ and canvassing the Internet for the past 2 days I have yet to find
any solution. Any help would be greatly appreciated.

-----------------------------------------------------------------------------

Keith Simmons                   * Network Operations Manager
keith@isdn.net                  * BellSouth Data Sales Agent
Phone: 615-371-1625             * ISDN-Net Inc. - Internet Service
Provider
Fax:   615-377-3959             * Three Maryland Farms, Suite 320
http://www.isdn.net/            * Brentwood, TN 37027-5005
-----------------------------------------------------------------------------

++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>


Follow-Ups: