<!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">
if you built from source, make sure you use the
--enable-core-odbc-support option on your ./configure<br>
<br>
like so<br>
./configure --enable-core-odbc-support &amp;&amp; make &amp;&amp; make
install<br>
<pre class="moz-signature" cols="72">-Ray</pre>
<br>
<br>
preetha Ayyappan wrote:
<blockquote
 cite="mid:383d84e10809250508x1a8106f3ja11770595e56c2b1@mail.gmail.com"
 type="cite">
  <div dir="ltr">You mean i have to uncomment the line&nbsp; &lt;load
module="mod_spidermonkey_odbc"/&gt;.?<br>
yes.I have uncommented that line.eventhough the same error occurs<br>
  <br>
  <div class="gmail_quote">On Thu, Sep 25, 2008 at 2:33 PM, Michael
Jerris <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div class="Ih2E3d"><br>
On Sep 25, 2008, at 4:47 AM, preetha wrote:<br>
    <br>
&gt;<br>
&gt; Hi,<br>
&gt; when i try to run a sample odbc code from freeswitch console like<br>
&gt; freeswitch@localhost&gt; jsrun odbc.js<br>
&gt;<br>
&gt; I found the following error:<br>
&gt; API CALL [jsrun(odbc.js)] output:<br>
&gt; OK<br>
&gt;<br>
&gt; freeswitch@localhost&gt; 2008-09-25 19:44:35 [ERR]
mod_spidermonkey.c:<br>
&gt; 3303<br>
&gt; js_api_use() Error loading ODBC<br>
&gt; 2008-09-25 19:44:35 [ERR] odbc.js:11 mod_spidermonkey()<br>
&gt; ReferenceError:<br>
&gt; ODBC is not defined<br>
&gt;<br>
    <br>
    </div>
Make sure you have mod_spidermonkey_odbc loaded in your<br>
spidermonkey.conf.xml file<br>
    <br>
Mike<br>
    <div>
    <div class="Wj3C7c"><br>
    <br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
 target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
    <a moz-do-not-send="true" href="http://www.freeswitch.org"
 target="_blank">http://www.freeswitch.org</a><br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Preetha.A<br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
</body>
</html>