On 26 February 2013 07:49, Carsten Bock <span dir="ltr"><<a href="mailto:carsten@ng-voice.com" target="_blank">carsten@ng-voice.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Barry,<br>
<br>
did you make any progress on this? If no, i will take a look at it<br>
later this week...<br>
<br></blockquote><div><br></div><div>Hi Carsten,</div><div><br></div><div>I did manage to get it working on Debian but Ubuntu still fails:</div><div><br></div><div> 0(3513) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/lib64/kamailio/modules/ims_registrar_pcscf.so>: /usr/lib64/kamailio/modules/ims_registrar_pcscf.so: undefined symbol: sem_post</div>
<div><br></div><div>Thanks</div><div><br></div><div>-Barry</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Kind regards,<br>
Carsten<br>
<br>
2013/1/30 Barry Flanagan <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>>:<br>
<div><div class="h5">> On 30 January 2013 11:25, Carsten Bock <<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a>> wrote:<br>
>><br>
>> Hi Barry,<br>
>><br>
>> i commited some fixes for the Rx-Interface.<br>
>> You will also need to update the config, since i added a few fixes<br>
>> there as well.<br>
>><br>
><br>
> Hi Carsten,<br>
><br>
> Fresh checkout and build on Ubuntu 12.04 64bit but am getting the undefined<br>
> symbol sem_post from the ims_registrar_pcscf.so module. Errors below. I<br>
> also ran strace and the output is at<br>
> <a href="http://barry.flanagan.ie/dl/kamailio-ims-error-20130130.txt" target="_blank">http://barry.flanagan.ie/dl/kamailio-ims-error-20130130.txt</a><br>
><br>
> kamailio -c -f /etc/kamailio/kamailio.cfg<br>
> loading modules under<br>
> /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/<br>
> 0(2388) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open<br>
> module </usr/lib64/kamailio/modules/ims_registrar_pcscf.so>:<br>
> /usr/lib64/kamailio/modules/ims_registrar_pcscf.so: undefined symbol:<br>
> sem_post<br>
> 0(2388) : <core> [cfg.y:3567]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 142, column 12-32: failed to load module<br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_save_pending<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 761, column 31: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_save<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 775, column 24: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_is_registered<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 799, column 37: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_follows_service_routes<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 803, column 46: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_force_service_routes<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 808, column 40: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_assert_identity<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 825, column 109: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_assert_identity<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 828, column 52: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_is_registered<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 941, column 37: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_follows_service_routes<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 945, column 46: unknown command, missing<br>
> loadmodule?<br>
><br>
> 0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command<br>
> pcscf_force_service_routes<br>
> 0(2388) : <core> [cfg.y:3570]: parse error in config file<br>
> /etc/kamailio/kamailio.cfg, line 950, column 40: unknown command, missing<br>
> loadmodule?<br>
><br>
> ERROR: bad config file (11 errors)<br>
> 0(2388) INFO: db_sqlite [db_sqlite.c:80]: SQlite terminate<br>
><br>
><br>
> Regards,<br>
><br>
> -Barry<br>
><br>
>> Kind regards,<br>
>> Carsten<br>
>><br>
>> 2013/1/29 Barry Flanagan <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>>:<br>
>> > On 29 January 2013 13:40, Barry Flanagan <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>> wrote:<br>
>> >><br>
>> >> On Mon Jan 28 10:18:01 CET 2013, Daniel said:<br>
>> >><br>
>> >> > Hello,<br>
>> >> ><br>
>> >> > do you still get the issues? The ims modules were not touched lately.<br>
>> >> > sem_post is from the core.<br>
>> >><br>
>> >> > Cheers,<br>
>> >> > Daniel<br>
>> >><br>
>> >><br>
>> >> Hi Daniel<br>
>> >><br>
>> >> Yes, still an issue as of the 29 Jan build. Using this on Ubuntu 12.04<br>
>> >> from the repository.<br>
>> >><br>
>> >> I also checked out the source and compiled it with the exact same<br>
>> >> result.<br>
>> >><br>
>> >> I am just going to spin up a Debian box and see if I have the same<br>
>> >> issue.<br>
>> ><br>
>> ><br>
>> ><br>
>> > Tested this on a Debian Squeeze 64bit box and the error is different,<br>
>> > with<br>
>> > just the ims_qos module complaining, this time about sem_init. If I<br>
>> > comment<br>
>> > out WITH_RX it starts up OK, but the Rx is the bit that I need so kind<br>
>> > of<br>
>> > stuck!<br>
>> ><br>
>> > Not starting Kamailio: invalid configuration file!<br>
>> > -e<br>
>> > 0(5609) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not<br>
>> > open<br>
>> > module </usr/lib64/kamailio/modules/ims_qos.so>:<br>
>> > /usr/lib64/kamailio/modules/ims_qos.so: undefined symbol: sem_init<br>
>> > 0(5609) : <core> [cfg.y:3567]: parse error in config file<br>
>> > /etc/kamailio/kamailio.cfg, line 159, column 12-20: failed to load<br>
>> > module<br>
>> > 0(5609) : <core> [cfg.y:3567]: parse error in config file<br>
>> > /etc/kamailio/kamailio.cfg, line 237, column 38-48: syntax error<br>
>> > 0(5609) : <core> [cfg.y:3567]: parse error in config file<br>
>> > /etc/kamailio/kamailio.cfg, line 237, column 38-48: Invalid arguments<br>
>> > 0(5609) : <core> [cfg.y:3570]: parse error in config file<br>
>> > /etc/kamailio/kamailio.cfg, line 237, column 49:<br>
>> > ERROR: bad config file (4 errors)<br>
>> > 0(5609) WARNING: <core> [mem/q_malloc.c:444]: WARNING:qm_free: free(0)<br>
>> > called<br>
>> > 0(5609) INFO: cdp [mod.c:242]: CDiameterPeer child stopping ...<br>
>> ><br>
>> ><br>
>> ><br>
>> >><br>
>> >><br>
>> >> Regards,<br>
>> >><br>
>> >> -Barry<br>
>> >><br>
>> >> On 22 January 2013 13:19, Barry Flanagan <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>> wrote:<br>
>> >>><br>
>> >>> Hi<br>
>> >>><br>
>> >>> I am trying to run the Ubuntu nightlies from<br>
>> >>> <a href="http://deb.kamailio.org/kamailiodev-nightly" target="_blank">http://deb.kamailio.org/kamailiodev-nightly</a> and loading the p-cscf<br>
>> >>> config<br>
>> >>> files.<br>
>> >>><br>
>> >>> Things were working fine while I was on the 20130110 nightlies, but<br>
>> >>> when<br>
>> >>> I upgraded to 20130122 I get the following errors. Any have an idea<br>
>> >>> why<br>
>> >>> sem_post is undefined and how to fix this?<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> 0(1980) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could<br>
>> >>> not<br>
>> >>> open module </usr/lib64/kamailio/modules/ims_registrar_pcscf.so>:<br>
>> >>> /usr/lib64/kamailio/modules/ims_registrar_pcscf.so: undefined symbol:<br>
>> >>> sem_post<br>
>> >>> 0(1980) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could<br>
>> >>> not<br>
>> >>> open module </usr/lib64/kamailio/modules/cdp.so>:<br>
>> >>> /usr/lib64/kamailio/modules/cdp.so: undefined symbol: sem_post<br>
>> >>> 0(1980) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could<br>
>> >>> not<br>
>> >>> open module </usr/lib64/kamailio/modules/ims_qos.so>:<br>
>> >>> /usr/lib64/kamailio/modules/ims_qos.so: undefined symbol: sem_post<br>
>> >>><br>
>> >>> Thanks<br>
>> >>><br>
>> >>> -Barry Flanagan<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> > <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> > <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Carsten Bock<br>
>> CEO (Geschäftsführer)<br>
>><br>
>> ng-voice GmbH<br>
>> Schomburgstr. 80<br>
>> D-22767 Hamburg / Germany<br>
>><br>
>> <a href="http://www.ng-voice.com" target="_blank">http://www.ng-voice.com</a><br>
>> mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
>><br>
>> Office <a href="tel:%2B49%2040%2034927219" value="+494034927219">+49 40 34927219</a><br>
>> Fax <a href="tel:%2B49%2040%2034927220" value="+494034927220">+49 40 34927220</a><br>
>><br>
>> Sitz der Gesellschaft: Hamburg<br>
>> Registergericht: Amtsgericht Hamburg, HRB 120189<br>
>> Geschäftsführer: Carsten Bock<br>
>> Ust-ID: DE279344284<br>
>><br>
>> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>
>> <a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a><br>
>><br>
>> _______________________________________________<br>
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
<br>
<br>
<br>
--<br>
Carsten Bock<br>
CEO (Geschäftsführer)<br>
<br>
</div></div>=============================================================<br>
Visit us on the Kamailio World 2013, 16./17. April 2013<br>
=> <a href="http://conference.kamailio.com/k01/" target="_blank">http://conference.kamailio.com/k01/</a> See<br>
you there!<br>
=============================================================<br>
<div class="HOEnZb"><div class="h5"><br>
ng-voice GmbH<br>
Schomburgstr. 80<br>
D-22767 Hamburg / Germany<br>
<br>
<a href="http://www.ng-voice.com" target="_blank">http://www.ng-voice.com</a><br>
mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
<br>
Office <a href="tel:%2B49%2040%2034927219" value="+494034927219">+49 40 34927219</a><br>
Fax <a href="tel:%2B49%2040%2034927220" value="+494034927220">+49 40 34927220</a><br>
<br>
Sitz der Gesellschaft: Hamburg<br>
Registergericht: Amtsgericht Hamburg, HRB 120189<br>
Geschäftsführer: Carsten Bock<br>
Ust-ID: DE279344284<br>
<br>
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>
<a href="http://www.ng-voice.com/imprint/" target="_blank">http://www.ng-voice.com/imprint/</a><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br>