if you built from source, make sure you use the
--enable-core-odbc-support option on your ./configure
like so
./configure --enable-core-odbc-support && make && make install
-Ray
preetha Ayyappan wrote:
You mean i have to uncomment the line <load
module="mod_spidermonkey_odbc"/>.?
yes.I have uncommented that line.eventhough the same error occurs
On Thu, Sep 25, 2008 at 2:33 PM, Michael Jerris <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
On Sep 25, 2008, at 4:47 AM, preetha wrote:
>
> Hi,
> when i try to run a sample odbc code from freeswitch console like
> [EMAIL PROTECTED]> jsrun odbc.js
>
> I found the following error:
> API CALL [jsrun(odbc.js)] output:
> OK
>
> [EMAIL PROTECTED]> 2008-09-25 19:44:35 [ERR] mod_spidermonkey.c:
> 3303
> js_api_use() Error loading ODBC
> 2008-09-25 19:44:35 [ERR] odbc.js:11 mod_spidermonkey()
> ReferenceError:
> ODBC is not defined
>
Make sure you have mod_spidermonkey_odbc loaded in your
spidermonkey.conf.xml file
Mike
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
<mailto:Freeswitch-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Preetha.A
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org