On 26 February 2013 07:49, Carsten Bock <carsten@ng-voice.com> wrote:
Hi Barry,

did you make any progress on this? If no, i will take a look at it
later this week...


Hi Carsten,

I did manage to get it working on Debian but Ubuntu still fails:

 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

Thanks

-Barry
 
Kind regards,
Carsten

2013/1/30 Barry Flanagan <barry@flanagan.ie>:
> On 30 January 2013 11:25, Carsten Bock <carsten@ng-voice.com> wrote:
>>
>> Hi Barry,
>>
>> i commited some fixes for the Rx-Interface.
>> You will also need to update the config, since i added a few fixes
>> there as well.
>>
>
> Hi Carsten,
>
> Fresh checkout and build on Ubuntu 12.04 64bit but am getting the undefined
> symbol sem_post from the  ims_registrar_pcscf.so module. Errors below. I
> also ran strace and the output is at
> http://barry.flanagan.ie/dl/kamailio-ims-error-20130130.txt
>
> kamailio -c -f /etc/kamailio/kamailio.cfg
> loading modules under
> /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
>  0(2388) 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(2388) : <core> [cfg.y:3567]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 142, column 12-32: failed to load module
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_save_pending
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 761, column 31: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_save
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 775, column 24: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_is_registered
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 799, column 37: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_follows_service_routes
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 803, column 46: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_force_service_routes
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 808, column 40: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_assert_identity
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 825, column 109: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_assert_identity
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 828, column 52: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_is_registered
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 941, column 37: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_follows_service_routes
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 945, column 46: unknown command, missing
> loadmodule?
>
>  0(2388) ERROR: <core> [cfg.y:3431]: cfg. parser: failed to find command
> pcscf_force_service_routes
>  0(2388) : <core> [cfg.y:3570]: parse error in config file
> /etc/kamailio/kamailio.cfg, line 950, column 40: unknown command, missing
> loadmodule?
>
> ERROR: bad config file (11 errors)
>  0(2388) INFO: db_sqlite [db_sqlite.c:80]: SQlite terminate
>
>
> Regards,
>
> -Barry
>
>> Kind regards,
>> Carsten
>>
>> 2013/1/29 Barry Flanagan <barry@flanagan.ie>:
>> > 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
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>
>> >
>> >
>> > _______________________________________________
>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> > sr-users@lists.sip-router.org
>> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> >
>>
>>
>>
>> --
>> Carsten Bock
>> CEO (Geschäftsführer)
>>
>> ng-voice GmbH
>> Schomburgstr. 80
>> D-22767 Hamburg / Germany
>>
>> http://www.ng-voice.com
>> mailto:carsten@ng-voice.com
>>
>> Office +49 40 34927219
>> Fax +49 40 34927220
>>
>> Sitz der Gesellschaft: Hamburg
>> Registergericht: Amtsgericht Hamburg, HRB 120189
>> Geschäftsführer: Carsten Bock
>> Ust-ID: DE279344284
>>
>> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
>> http://www.ng-voice.com/imprint/
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



--
Carsten Bock
CEO (Geschäftsführer)

=============================================================
Visit us on the Kamailio World 2013, 16./17. April 2013
=> http://conference.kamailio.com/k01/                             See
you there!
=============================================================

ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten@ng-voice.com

Office +49 40 34927219
Fax +49 40 34927220

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users