On 29 January 2013 13:40, Barry Flanagan <barry@flanagan.ie> wrote:
On Mon Jan 28 10:18:01 CET 2013, Daniel said:
> Hello,
>
> do you still get the issues? The ims modules were not touched lately. 
> sem_post is from the core.

> Cheers,
> Daniel

Hi Daniel
Yes, still an issue as of the 29 Jan build. Using this on Ubuntu 12.04 from the repository. 
I also checked out the source and compiled it with the exact same result. 

I am just going to spin up a Debian box and see if I have the same issue.


Tested this on a Debian Squeeze 64bit box and the error is different, with just the ims_qos module complaining, this time about sem_init. If I comment out WITH_RX it starts up OK, but the Rx is the bit that I need so kind of stuck!

Not starting Kamailio: invalid configuration file!
-e 
 0(5609) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/lib64/kamailio/modules/ims_qos.so>: /usr/lib64/kamailio/modules/ims_qos.so: undefined symbol: sem_init
 0(5609) : <core> [cfg.y:3567]: parse error in config file /etc/kamailio/kamailio.cfg, line 159, column 12-20: failed to load module
 0(5609) : <core> [cfg.y:3567]: parse error in config file /etc/kamailio/kamailio.cfg, line 237, column 38-48: syntax error
 0(5609) : <core> [cfg.y:3567]: parse error in config file /etc/kamailio/kamailio.cfg, line 237, column 38-48: Invalid arguments
 0(5609) : <core> [cfg.y:3570]: parse error in config file /etc/kamailio/kamailio.cfg, line 237, column 49: 
ERROR: bad config file (4 errors)
 0(5609) WARNING: <core> [mem/q_malloc.c:444]: WARNING:qm_free: free(0) called
 0(5609) INFO: cdp [mod.c:242]: CDiameterPeer child stopping ...


 

Regards,

-Barry

On 22 January 2013 13:19, Barry Flanagan <barry@flanagan.ie> wrote:
Hi

I am trying to run the Ubuntu nightlies from http://deb.kamailio.org/kamailiodev-nightly and loading the p-cscf config files. 

Things were working fine while I was on the 20130110 nightlies, but when I upgraded to 20130122 I get the following errors. Any have an idea why sem_post is undefined and how to fix this?



 0(1980) 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
 0(1980) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/lib64/kamailio/modules/cdp.so>: /usr/lib64/kamailio/modules/cdp.so: undefined symbol: sem_post
 0(1980) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </usr/lib64/kamailio/modules/ims_qos.so>: /usr/lib64/kamailio/modules/ims_qos.so: undefined symbol: sem_post

Thanks

-Barry Flanagan