Hello, look at the Makefile for other modules depending on external libraries, such as jansson, uuid, db_mysql, app_lua, ...
Cheers, Daniel On 25/06/15 09:08, Shouvanik Chakrabarti wrote: > Hello, > Thanks for your reply. I realize that libm needs to linked. > The errors are of the form: > symbol pow 0 is undefined. > An nm trace of the object reveals that all the math functions are > indeed undefined. > I was curious as to how I could make sure that lm would be linked, > since I am using the master Makefile. Adding LIB="-lm" or LIBS=-lm to > the module Makefile hasn't worked. > > Thanks, > Shouvanik. > > On Wed, Jun 24, 2015 at 6:50 PM, Daniel-Constantin Mierla > <mico...@gmail.com <mailto:mico...@gmail.com>> wrote: > > Hello, > > what are the errors you get? Maybe it is more that libm that needs > to be linked. > > Cheers, > Daniel > > > On 24/06/15 10:46, Shouvanik Chakrabarti wrote: >> Hello, >> I have developed a Kamailio module to handle group messaging >> and am using certain functions from the libm.so library. >> Compilation happens fine, but Kamailio subsequently fails to >> start because the math.h symbols are unlinked/undefined. Could >> someone please suggest a workaround for this. >> >> Thanks, >> Shouvanik. >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla > http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - > http://www.linkedin.com/in/miconda > Book: SIP Routing With Kamailio - http://www.asipto.com > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing > list > sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com
_______________________________________________ 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