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