<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>indeed, I did a rename to make it more clear the purpose of a
drop-related function, breaking the use from other modules.</p>
<p>I pushed the commits to fix the issue, try again with latest
master.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 03.04.18 10:01, Igor Olhovskiy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:307783f3-03f9-4092-9368-6567db9cf5a6@Spark">
<title></title>
<div name="messageBodySection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi!
<div><br>
</div>
<div>As of now app_lua is could not be loaded by Kamailio at
all. </div>
<div><br>
</div>
<div>
<div>kamailio: ERROR: <core> [core/sr_module.c:582]:
load_module(): could not open module
</usr/local/lib64/kamailio/modules/app_lua.so>:
/usr/local/lib64/kamailio/modules/app_lua.so: undefined
symbol: sr_kemi_core_drop</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>PS:</div>
<div>Latest commit on git:</div>
<div>commit a5dd60c8d7e04731f12108838a3c82149e04ef9c Author:
Daniel-Constantin Mierla <<a
href="mailto:miconda@gmail.com" moz-do-not-send="true">mailto:miconda@gmail.com</a>>
Date: Tue Apr 3 09:27:19 2018 +0200 ipops: mask subnet address
for ipv6 comparison - coherent with ipv4 behaviou<br>
</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br>
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br>
On Apr 2, 2018, 9:18 AM +0300, Daniel-Constantin Mierla
<a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a>, wrote:<br>
<blockquote type="cite" style="margin: 5px 5px; padding-left:
10px; border-left: thin solid #1abc9c;">
<p>Hello,</p>
<p>do you have pkg-config installed? This is a tool that helps
locating libs and include files.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 31.03.18 11:13, Igor Olhovskiy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:3652f414-fdec-4618-a1b6-faf6f78d74bf@Spark"
style="margin: 5px 5px; padding-left: 10px; border-left:
thin solid #e67e22;">
<div name="messageBodySection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont,
sans-serif;">Hi!
<div><br>
</div>
<div>A bit dumb question - how to specify lua.h file path
to make command? It looks in </div>
<div><br>
</div>
<div>
<div>ls: cannot access /usr/local/lib/liblua*: No such
file or directory</div>
<div>ls: cannot access /usr/local/lib/liblua*: No such
file or directory</div>
<div>CC (gcc) [M app_lua.so] <span class="Apple-tab-span" style="white-space:pre"></span>app_lua_mod.o</div>
<div>In file included from app_lua_mod.c:34:0:</div>
<div>app_lua_api.h:25:17: fatal error: lua.h: No such
file or directory</div>
<div> #include <lua.h></div>
<div> ^</div>
</div>
<div><br>
</div>
<div>But i’ve installed via apt-get install liblua5.2-dev,
and lua.h is located at /usr/include/lua5.2/</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont,
sans-serif;"><br>
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont,
sans-serif;"><br>
On Mar 30, 2018, 6:41 PM +0300, Daniel-Constantin Mierla <a
class="moz-txt-link-rfc2396E"
href="mailto:miconda@gmail.com" moz-do-not-send="true"><miconda@gmail.com></a>,
wrote:<br>
<blockquote type="cite" style="margin: 5px 5px;
padding-left: 10px; border-left: thin solid #3498db;">
<p>Hello,</p>
<p>can you test with master branch, I pushed a commit
for it -- if all ok, I will backport.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 30.03.18 14:47, Igor
Olhovskiy wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d572cf46-7522-4880-80a9-78f6a0e09310@Spark"
style="margin: 5px 5px; padding-left: 10px;
border-left: thin solid #d35400;">
<div name="messageBodySection" style="font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont,
sans-serif;">Hi!
<div><br>
</div>
<div>Seems calling function
KSR.sqlops.sql_num_rows(«sql_res») crashes
Kamailio. At least I got this at 5.1.2 from debian
repos with LUA.</div>
<div><br>
</div>
<div>Getting smth like</div>
<div><br>
</div>
<div>dev1 kernel: [5780693.247255] kamailio[20659]:
segfault at 50b300000004 ip 00007f34d2f46fd6 sp
00007ffe1f0ac310 error 4 in
sqlops.so[7f34d2f42000+1c000]<br>
</div>
</div>
<div name="messageSignatureSection" style="font-size:
14px; font-family: -apple-system,
BlinkMacSystemFont, sans-serif;"><br>
Regards, Igor</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.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-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a></pre>
</blockquote>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a></pre>
</blockquote>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>