<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
thanks for troubleshooting further. I just committed the fix on GIT,
try to see if now is working ok, then I will backport in 3.0.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 7/8/10 11:45 AM, Santiago Gimeno wrote:
<blockquote
 cite="mid:AANLkTin56Q_HDk5_2iA-gD3rFud30sRC37256ka9GMI2@mail.gmail.com"
 type="cite">Hi,<br>
  <br>
I've been digging into the code and I think this error happens when
TM_HASH_STATS is defined which happens when mode=debug. This makes that
the code in modules_k/tmx/t_mi.c calls get_tm_table function that is
defined in modules/tm/h_table.h as: <br>
  <br>
#define get_tm_table() (_tm_table)<br>
  <br>
where<br>
  <br>
extern struct s_table*&nbsp; _tm_table;<br>
  <br>
I have solved the problem not declaring struct s_table*&nbsp; _tm_table as
extern and commenting it's declaration in modules/tm/h_table.c, but I'm
not sure this is the way to go. Maybe linking tmx against some tm
object?, but I don't know how to accomplish this. What do you think?<br>
  <br>
Thanks.<br>
  <br>
Best regards,<br>
  <br>
Santi<br>
  <br>
  <div class="gmail_quote">2010/6/16 Santiago Gimeno <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:santiago.gimeno@gmail.com">santiago.gimeno@gmail.com</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
    <br>
When I build sip-router (from master) with kamailio flavour using:<br>
    <br>
make config mode=debug FLAVOUR=kamailio; make all; make install<br>
    <br>
I'm getting this error when trying to start kamailio:<br>
    <br>
ERROR: &lt;core&gt; [sr_module.c:396]: ERROR: load_module: could not
open module &lt;/usr/local/lib/kamailio/modules_k/tmx.so&gt;:
/usr/local/lib/kamailio/modules_k/tmx.so: undefined symbol: _tm_table<br>
    <br>
On the other hand, if I use:<br>
    <br>
make FLAVOUR=kamailio cfg; make all; make install<br>
    <br>
kamailio starts correctly.<br>
    <br>
I've tried also:<br>
    <br>
make mode=debug FLAVOUR=kamailio cfg<br>
    <br>
with no luck either.<br>
    <br>
    <br>
What's the problem? How should I compile kamailio with debugging so it
starts correctly?<br>
    <br>
Thank you in advance.<br>
    <br>
Regards,<br>
    <br>
Santi<br>
    <br>
    <br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>