[OpenSIPS-Devel] Problem compiling OpenSIPS 1.9 Rev.9788

Muhammad Shahzad shaheryarkh at gmail.com
Fri Feb 15 02:09:23 CET 2013


OK, after doing several tests scenarios, it appears that problem occurs
only when I enable SCTP support, either or both of following,

SCTP=1 in Makefile
DEFS+= -DUSE_SCTP in Makefile.conf

So seems like SCTP support is broken right now in latest revision 9788 of
1.9.

Same flags enabled and work fine in older revision 9421 of 1.8.

Thank you.


On Fri, Feb 15, 2013 at 12:32 AM, Muhammad Shahzad <shaheryarkh at gmail.com>wrote:

> I already have opensips 1.8 rev. 9421 running fine on this machine. I
> tried to upgrade it to latest 1.9 svn rev. 9788 and got that error. So, i
> had to revert back to 1.8 using clean sources, which again compiled fine.
>
> Thank you.
>
>
>
> On Fri, Feb 15, 2013 at 12:27 AM, Muhammad Shahzad <shaheryarkh at gmail.com>wrote:
>
>> Debian 6.0.5 with kernel 2.6.32-5-amd64 and GCC version 4.4.5 (Debian
>> 4.4.5-8).
>>
>> Thank you.
>>
>>
>>
>> On Fri, Feb 15, 2013 at 12:24 AM, Bogdan-Andrei Iancu <
>> bogdan at opensips.org> wrote:
>>
>>> **
>>> Hi,
>>>
>>> It complies fine for me - what OS, arch and compiler are you using ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>>
>>>
>>> On 02/14/2013 10:50 PM, Muhammad Shahzad wrote:
>>>
>>> I have problem compiling OpenSIPS 1.9 branch SVN Revision 9788.
>>>
>>>  Compiling main.c
>>> main.c: In function âmain_loopâ:
>>> main.c:1050: warning: âmainâ is normally a non-static function
>>> main.c:1567: error: expected declaration or statement at end of input
>>> make: *** [main.o] Error 1
>>>
>>>  Any help?
>>>
>>>  Thank you.
>>>
>>>
>>>  --
>>> Muhammad Shahzad
>>> -----------------------------------
>>> CISCO Rich Media Communication Specialist (CRMCS)
>>> CISCO Certified Network Associate (CCNA)
>>> Cell: +49 176 99 83 10 85
>>> MSN: shari_786pk at hotmail.com
>>> Email: shaheryarkh at googlemail.com
>>>
>>>
>>> _______________________________________________
>>> Devel mailing listDevel at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>
>>>
>>
>>
>> --
>> Muhammad Shahzad
>> -----------------------------------
>> CISCO Rich Media Communication Specialist (CRMCS)
>> CISCO Certified Network Associate (CCNA)
>> Cell: +49 176 99 83 10 85
>> MSN: shari_786pk at hotmail.com
>> Email: shaheryarkh at googlemail.com
>>
>
>
>
> --
> Muhammad Shahzad
> -----------------------------------
> CISCO Rich Media Communication Specialist (CRMCS)
> CISCO Certified Network Associate (CCNA)
> Cell: +49 176 99 83 10 85
> MSN: shari_786pk at hotmail.com
> Email: shaheryarkh at googlemail.com
>



-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20130215/fa011eb8/attachment.htm>


More information about the Devel mailing list