FW: [Serusers] Problems compiling GSM authentication module
Daniel-Constantin Mierla
daniel at iptel.org
Mon Aug 30 11:03:18 CEST 2004
Also you need the standard release 0.8.12. There were some changes
afterwards into ser core code. This is not a big one, you can try
replacing next lines:
ptr = build_lump_rpl(_hdr, _hdr_len);
add_lump_rpl(_m, ptr);
with:
if (add_lump_rpl( _m, _hdr, _hdr_len, LUMP_RPL_HDR)==0)
{
LOG(L_ERR,"ERROR:gsm_send_resp: unable to append hdr\n");
return -1;
}
I hope this is all. I will try to find some time this day to update the
code, but I can't promise.
Daniel
On 8/30/2004 9:08 AM, aimable wrote:
>I installed radiusclient version 0.3.3 from source and tried again to
>compile this module but i got the following error:
>challenge.c: In function `gsm_send_resp':
>challenge.c:119: warning: implicit declaration of function `build_lump_rpl'
>challenge.c:119: warning: assignment makes pointer from integer without a
>cast
>challenge.c:120: warning: passing arg 2 of `add_lump_rpl' from incompatible
>pointer type
>challenge.c:120: too few arguments to function `add_lump_rpl'
>make: *** [challenge.o] Error 1
>
>I tried to install RPM package but still I am getting the same error. How
>can I solve this problem?
>Thanks .
>
>-----Original Message-----
>From: Daniel-Constantin Mierla [mailto:daniel at iptel.org]
>Sent: Friday, August 27, 2004 3:47 PM
>To: aimable
>Cc: serusers at lists.iptel.org
>Subject: Re: FW: [Serusers] Problems compiling GSM authentication module
>
>You need a previous version, 0.3.x.
>
>Daniel
>
>On 8/27/2004 3:27 PM, aimable wrote:
>
>
>
>>I have radiusclient-0.4.3 installed .What version is the right one for the
>>GSM module to compile? Should I use the previous versions ?
>>Thanks again
>>
>>-----Original Message-----
>>From: Daniel-Constantin Mierla [mailto:daniel at iptel.org]
>>Sent: Friday, August 27, 2004 1:54 PM
>>To: aimable
>>Cc: serusers at lists.iptel.org
>>Subject: Re: [Serusers] Problems compiling GSM authentication module
>>
>>You are using a wrong version of radiusclient library. What is yours?
>>When I will find some time to spare I will update it to use
>>radiusclient-ng library, to be the same as latest ser.
>>
>>Daniel
>>
>>On 8/27/2004 12:56 PM, aimable wrote:
>>
>>
>>
>>
>>
>>>Hi all,
>>>
>>>I have been using SER for 6 months (together with Asterisk ) and every
>>>thing seems to be fine ( voicemail, accounting, authentication, NAT
>>>and so on)
>>>
>>>But I recently wanted to test the GSM authentication module but when I
>>>tried to compile it and install it I failed .I am using version: ser
>>>0.8.12-tcp_nonb (i386/linux) of SER on RH 9
>>>
>>>Here is the error I get when I try to compile gsm module
>>>
>>>auth_gsm.c:117: warning: passing arg 1 of `rc_conf_str' from
>>>incompatible pointer type
>>>
>>>auth_gsm.c:117: too few arguments to function `rc_conf_str'
>>>
>>>auth_gsm.c:117: warning: passing arg 1 of `rc_read_dictionary' from
>>>incompatible pointer type
>>>
>>>auth_gsm.c:117: too few arguments to function `rc_read_dictionary'
>>>
>>>make: *** [auth_gsm.o] Error 1
>>>
>>>
>>>
>>>can anyone help me about this?
>>>
>>>Thanks
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers at lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>>
>>
>>
>
>
>
>
>
More information about the sr-users
mailing list