Problem compiling OpenSIPS 1.9 Rev.9788

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem compiling OpenSIPS 1.9 Rev.9788

shaheryarkh
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: [hidden email]
Email: [hidden email]
_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling OpenSIPS 1.9 Rev.9788

Bogdan-Andrei Iancu-2
Hi,

It complies fine for me - what OS, arch and compiler are you using ?

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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: [hidden email]
Email: [hidden email]
_______________________________________________ Devel mailing list [hidden email] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling OpenSIPS 1.9 Rev.9788

shaheryarkh
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 <[hidden email]> wrote:
Hi,

It complies fine for me - what OS, arch and compiler are you using ?

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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: [hidden email]
Email: [hidden email]
_______________________________________________ Devel mailing list [hidden email] http://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: [hidden email]
Email: [hidden email]
_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling OpenSIPS 1.9 Rev.9788

shaheryarkh
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 <[hidden email]> 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 <[hidden email]> wrote:
Hi,

It complies fine for me - what OS, arch and compiler are you using ?

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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: [hidden email]
Email: [hidden email]
_______________________________________________ Devel mailing list [hidden email] http://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: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]
_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling OpenSIPS 1.9 Rev.9788

shaheryarkh
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
Hi,

It complies fine for me - what OS, arch and compiler are you using ?

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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: [hidden email]
Email: [hidden email]
_______________________________________________ Devel mailing list [hidden email] http://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: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]
_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling OpenSIPS 1.9 Rev.9788

Bogdan-Andrei Iancu-2
Hi Muhammad,

Thank you for cornering the fault - I fixed the issue on trunk, 1.9 and 1.8 branch.

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02/15/2013 03:09 AM, Muhammad Shahzad wrote:
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
Hi,

It complies fine for me - what OS, arch and compiler are you using ?

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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: [hidden email]
Email: [hidden email]
_______________________________________________ Devel mailing list [hidden email] http://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: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem compiling OpenSIPS 1.9 Rev.9788

shaheryarkh
Just tested, works perfectly fine. Thank you so much.


On Fri, Feb 15, 2013 at 10:17 AM, Bogdan-Andrei Iancu <[hidden email]> wrote:
Hi Muhammad,

Thank you for cornering the fault - I fixed the issue on trunk, 1.9 and 1.8 branch.

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02/15/2013 03:09 AM, Muhammad Shahzad wrote:
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
Hi,

It complies fine for me - what OS, arch and compiler are you using ?

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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: [hidden email]
Email: [hidden email]
_______________________________________________ Devel mailing list [hidden email] http://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: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel