<div dir="ltr">Regarding the sem_post problem, here is an old email from Tomasz Gebarowski which is interesting because it states that he had a sem_post issue with cdp.so which he solved by modifying the modules/cdp/Makefile. Now if we skip forward to right now, I notice that cdp.so COMPILE and LINKS for me with no errors and I also notice that Tomasz' fix is in place, but other ims modules that also use semaphore do NOT link properly for me in ubuntu and are exhibiting the same *undefined symbol: sem_post* error Tomasz had years ago in his ubuntu compiles. I think (hope) this may be more than coincidence that these things are related??? I have tried Tomasz' fix with an ubuntu compile but I still get the sem_post error. I still think he is on to something here and I am NOT modifying the Makefile correctly. Any suggestions on specifics to test this theory are greatly welcome. Here is Tomansz' email.....  <div>
----------------------------------------------------------------------------------------------------------------------</div><div><div><a href="https://lists.berlios.de/pipermail/openimscore-users/2011-December/007219.html">https://lists.berlios.de/pipermail/openimscore-users/2011-December/007219.html</a></div>
<div>[OpenIMSCore-Users] PROBLEM WITH ICSCF AND SCSCF STARTING<br></div><div>Tomasz Gebarowski gebarowski at <a href="http://gmail.com">gmail.com</a> <br></div><div>Thu Dec 29 22:19:55 CET 2011</div><div>Previous message: [OpenIMSCore-Users] Fwd: How are you...</div>
<div>Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]</div><div>Hello,</div><div>I've just googled some old post from October 2011, describing an issue <br></div><div>with crashing I-CSCF and S-CSCF. The log message was something like:</div>
<div><br></div><div> 0(2142) ERROR: load_module: could not open module /opt/OpenIMSCore/ser_ims/</div><div> modules/cdp/cdp.so>: /opt/OpenIMSCore/ser_ims/modules/cdp/cdp.so: undefined symbol: sem_post</div><div><br></div>
<div>I managed to fix this issue on Ubuntu 11.10. It seems that UBUNTU,</div><div>required linking cdp.so against pthread. Below you can find a simple patch:</div><div><br></div><div>Index: modules/cdp/Makefile</div><div>
===================================================================</div><div>--- Makefile    (revision 1175)</div><div>+++ Makefile    (working copy)</div><div>@@ -20,7 +20,7 @@</div><div>  endif</div><div><br></div><div>
  DEFS += -I/usr/include/libxml2</div><div>-LIBS += -L$(LOCALBASE)/lib -lxml2 -lrt</div><div>+LIBS += -L$(LOCALBASE)/lib -lxml2 -lrt -lpthread</div><div><br></div><div>  include ../../Makefile.modules</div></div><div>===================================================================</div>
<div>Regards,</div><div>Stuart Feeser</div><div><br></div></div>