[OpenSER-Users] Authentcation using DISC is successful
Dilip
dilip.m at renovau.com
Tue May 13 14:23:37 CEST 2008
Hello Sir,
I have been able to make the DISC code compatible with
openser-1.1.1-notls. I have eliminated some of the bugs which were there
in the source code of DISC.But the thing is that the disc code is not
able to work with x86_64 architecture. But it is successfully running
with i386 arch. Could u please suggest me the neccessary task,i have to
perform in order to make DISC compiled on x86_64 arch.
I tried taking the successfully running code from i386 arch and copying
it on x86_64 arch and then to compile it, but it is giving some
architecture compilation problem which is given below.
In file included from ../mem/shm_mem.h:53,
from avp.c:33:
../mem/../lock_ops.h:182:2: error: #error "no locking method selected"
../mem/../lock_ops.h:265:2: error: #error "no lock set method selected"
In file included from avp.c:33:
../mem/shm_mem.h:79: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../mem/shm_mem.h: In function '_shm_malloc':
../mem/shm_mem.h:111: warning: implicit declaration of function 'lock_get'
../mem/shm_mem.h:111: error: 'mem_lock' undeclared (first use in this
function)
../mem/shm_mem.h:111: error: (Each undeclared identifier is reported
only once
../mem/shm_mem.h:111: error: for each function it appears in.)
../mem/shm_mem.h:113: warning: implicit declaration of function
'lock_release'
avp.c: In function 'AAACreateAVP':
avp.c:124: warning: passing argument 3 of '_shm_malloc' discards
qualifiers from pointer target type
avp.c:140: warning: passing argument 3 of '_shm_malloc' discards
qualifiers from pointer target type
avp.c: In function 'AAAFreeAVP':
avp.c:321: error: 'mem_lock' undeclared (first use in this function)
avp.c:321: warning: passing argument 4 of 'qm_free' discards qualifiers
from pointer target type
avp.c:323: warning: passing argument 4 of 'qm_free' discards qualifiers
from pointer target type
avp.c: In function 'AAACloneAVP':
avp.c:438: warning: passing argument 3 of '_shm_malloc' discards
qualifiers from pointer target type
avp.c:448: warning: passing argument 3 of '_shm_malloc' discards
qualifiers from pointer target type
avp.c:451: error: 'mem_lock' undeclared (first use in this function)
avp.c:451: warning: passing argument 4 of 'qm_free' discards qualifiers
from pointer target type
make[2]: *** [avp.lo] Error 1
Please Do help me ,to sort out the problem.
regards,
Dilip
More information about the sr-users
mailing list