Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Javascript & cURL: Error loading CURL


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
anthony.minessale at g...
Guest





PostPosted: Wed Nov 05, 2008 9:07 am    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

When you did not have curl, FS used it's own.
Now that you added the package, it must be a different version of the api so now none of it will compile.
You either have to remove that curl package or use the --without-libcurl config arg to ./configure to use ours.

You were closer before after you had it building.
What you were missing was to tell spidermonkey to load it.
edit conf/autoload_configs/spidermonkey.conf.xml and add:
<load module="mod_spidermonkey_curl"/>

This is a newer module and has not been added to the examples yet.

On Wed, Nov 5, 2008 at 6:09 AM, Birgit Arkesteijn <birgit@westhawk.co.uk (birgit@westhawk.co.uk)> wrote:
Quote:
Hi,

I realised the curl-devel package wasn't installed.
Now mod_xml_curl won't compile. Sad

I'm running Suse Linux 10.0, x86_64, GNU/Linux.
I installed the curl-devel package from the original suse DVD.
I ran 'configure' again, to make sure FreeSWITCH picks up on the change(s).
I ran 'make current' again and get the following errors:

make[6]: Entering directory
`/opt/freeswitch/freeswitch-svn/freeswitch/src/mod/xml_int/mod_xml_curl'
Compiling mod_xml_curl.c...
mod_xml_curl.c: In function 'do_config':
mod_xml_curl.c:265: error: syntax error before ';' token
cc1: warnings being treated as errors
mod_xml_curl.c:245: warning: unused variable 'hash_node'
mod_xml_curl.c:239: warning: unused variable 'bname'
mod_xml_curl.c:280: error: 'url' undeclared (first use in this function)
mod_xml_curl.c:280: error: (Each undeclared identifier is reported only once
mod_xml_curl.c:280: error: for each function it appears in.)
mod_xml_curl.c:284: error: continue statement not within a loop
mod_xml_curl.c:296: error: 'bind_mask' undeclared (first use in this
function)
mod_xml_curl.c:300: error: 'bind_cred' undeclared (first use in this
function)
mod_xml_curl.c:304: error: 'disable100continue' undeclared (first use in
this function)
mod_xml_curl.c:305: error: 'ignore_cacert_check' undeclared (first use
in this function)
mod_xml_curl.c:310: error: 'hash_node' undeclared (first use in this
function)
mod_xml_curl.c:310: warning: left-hand operand of comma expression has
no effect
mod_xml_curl.c:327: error: 'bname' undeclared (first use in this function)
mod_xml_curl.c: At top level:
mod_xml_curl.c:333: error: syntax error before ':' token
mod_xml_curl.c:235: error: label 'done' used but not defined


I noticed that FreeSWITCH contains curl code under libs/.
Did I do the right thing by installing the curl-devel package?
If so, could someone please help with the errors above? Thanks.


BTW, I'm a bit puzzled as to why mod_xml_cdr could be build previously.
I thought it used curl, but it's not in the dependencies page -
http://wiki.freeswitch.org/wiki/FreeSwitch_Dependencies, so maybe I'm wrong.

Thanks, Birgit



On 05/11/08 11:00, Birgit Arkesteijn wrote:
Quote:
Hi,

I've spent yesterday afternoon in vain trying to load CURL in
javascript, so here I'm again begging for help.

The modules doesn't load successfully:
[ERR] mod_spidermonkey.c:3303 js_api_use() Error loading CURL

We do use mod_xml_curl successfully, btw.


Things I tried:
- I added to the file "modules.conf" the line:
languages/mod_spidermonkey_curl.
(This line was not in the build/modules.conf.in, btw).
- In the same file, I commented out mod_spidermonkey_teletone,
mod_spidermonkey_core_db and mod_spidermonkey_socket, since I don't
think I need them.
- I run "make current"

I'm running now version 597:10239M

Doing a find on /usr/local/freeswitch for 'curl', shows the following:
% find . -name \*curl\*
./mod/mod_spidermonkey_curl.so
./mod/mod_xml_curl.so
./conf/autoload_configs/xml_curl.conf.xml


The javascript I'm running is copied from the example on page
http://wiki.freeswitch.org/wiki/Run

Any suggestions?

Thanks, Birgit

--
-- Birgit Arkesteijn, birgit@westhawk.co.uk (birgit@westhawk.co.uk),
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
birgit at westhawk.co.uk
Guest





PostPosted: Wed Nov 05, 2008 9:16 am    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

Hi Anthony,

Thanks for your reply!

Does mod_xml_cdr use curl as well?
I seem to remember that I had a problem a couple of months ago with
xml_cdr. It wouldn't work without curl-devel.

I'll run configure with the --without-libcurl flag.

Thanks, Birgit

On 05/11/08 14:06, Anthony Minessale wrote:
Quote:
When you did not have curl, FS used it's own.
Now that you added the package, it must be a different version of the
api so now none of it will compile.
You either have to remove that curl package or use the --without-libcurl
config arg to ./configure to use ours.

You were closer before after you had it building.
What you were missing was to tell spidermonkey to load it.
edit conf/autoload_configs/spidermonkey.conf.xml and add:
<load module="mod_spidermonkey_curl"/>

This is a newer module and has not been added to the examples yet.

On Wed, Nov 5, 2008 at 6:09 AM, Birgit Arkesteijn <birgit@westhawk.co.uk
<mailto:birgit@westhawk.co.uk>> wrote:

Hi,

I realised the curl-devel package wasn't installed.
Now mod_xml_curl won't compile. Sad

I'm running Suse Linux 10.0, x86_64, GNU/Linux.
I installed the curl-devel package from the original suse DVD.
I ran 'configure' again, to make sure FreeSWITCH picks up on the
change(s).
I ran 'make current' again and get the following errors:

make[6]: Entering directory
`/opt/freeswitch/freeswitch-svn/freeswitch/src/mod/xml_int/mod_xml_curl'
Compiling mod_xml_curl.c...
mod_xml_curl.c: In function 'do_config':
mod_xml_curl.c:265: error: syntax error before ';' token
cc1: warnings being treated as errors
mod_xml_curl.c:245: warning: unused variable 'hash_node'
mod_xml_curl.c:239: warning: unused variable 'bname'
mod_xml_curl.c:280: error: 'url' undeclared (first use in this function)
mod_xml_curl.c:280: error: (Each undeclared identifier is reported
only once
mod_xml_curl.c:280: error: for each function it appears in.)
mod_xml_curl.c:284: error: continue statement not within a loop
mod_xml_curl.c:296: error: 'bind_mask' undeclared (first use in this
function)
mod_xml_curl.c:300: error: 'bind_cred' undeclared (first use in this
function)
mod_xml_curl.c:304: error: 'disable100continue' undeclared (first use in
this function)
mod_xml_curl.c:305: error: 'ignore_cacert_check' undeclared (first use
in this function)
mod_xml_curl.c:310: error: 'hash_node' undeclared (first use in this
function)
mod_xml_curl.c:310: warning: left-hand operand of comma expression has
no effect
mod_xml_curl.c:327: error: 'bname' undeclared (first use in this
function)
mod_xml_curl.c: At top level:
mod_xml_curl.c:333: error: syntax error before ':' token
mod_xml_curl.c:235: error: label 'done' used but not defined


I noticed that FreeSWITCH contains curl code under libs/.
Did I do the right thing by installing the curl-devel package?
If so, could someone please help with the errors above? Thanks.


BTW, I'm a bit puzzled as to why mod_xml_cdr could be build previously.
I thought it used curl, but it's not in the dependencies page -
http://wiki.freeswitch.org/wiki/FreeSwitch_Dependencies, so maybe
I'm wrong.

Thanks, Birgit


On 05/11/08 11:00, Birgit Arkesteijn wrote:
Quote:
Hi,

I've spent yesterday afternoon in vain trying to load CURL in
javascript, so here I'm again begging for help.

The modules doesn't load successfully:
[ERR] mod_spidermonkey.c:3303 js_api_use() Error loading CURL

We do use mod_xml_curl successfully, btw.


Things I tried:
- I added to the file "modules.conf" the line:
languages/mod_spidermonkey_curl.
(This line was not in the build/modules.conf.in
<http://modules.conf.in>, btw).
Quote:
- In the same file, I commented out mod_spidermonkey_teletone,
mod_spidermonkey_core_db and mod_spidermonkey_socket, since I
don't
Quote:
think I need them.
- I run "make current"

I'm running now version 597:10239M

Doing a find on /usr/local/freeswitch for 'curl', shows the
following:
Quote:
% find . -name \*curl\*
./mod/mod_spidermonkey_curl.so
./mod/mod_xml_curl.so
./conf/autoload_configs/xml_curl.conf.xml


The javascript I'm running is copied from the example on page
http://wiki.freeswitch.org/wiki/Run

Any suggestions?

Thanks, Birgit


--
-- Birgit Arkesteijn, birgit@westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
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
Back to top
mike at jerris.com
Guest





PostPosted: Wed Nov 05, 2008 9:58 am    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

On Nov 5, 2008, at 9:15 AM, Birgit Arkesteijn wrote:

Quote:
Hi Anthony,

Thanks for your reply!

Does mod_xml_cdr use curl as well?

Yes.

Quote:
I seem to remember that I had a problem a couple of months ago with
xml_cdr. It wouldn't work without curl-devel.


This seems wrong, it should use our internal one if you don't have a
system one installed. Out of curiosity, what distro is this and what
version of libcurl were you installing?


Mike


Quote:
I'll run configure with the --without-libcurl flag.

Thanks, Birgit


_______________________________________________
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
Back to top
birgit at westhawk.co.uk
Guest





PostPosted: Wed Nov 05, 2008 10:42 am    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

Hi Mike,

I probably got my wires mixed, sorry.

I'm running Suse Linux 10.0.
% uname -a
Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

The version on the Suse DVD is:
curl-devel-7.14.0-2.x86_64.rpm
build at 09/09/05 20:01:25

The error occurred this morning (so night for you guys) when I did 'make
current'. I've just run a few more make currents, so I don't have the
exact FS build.

BTW, I ran
% configure --without-libcurl
followed by
% make current

and the error reoccurred.
Does 'make current' do its own configure again?

I've resorted to uninstalling curl-devel, and updating the 'locate', so
curl.h can no longer be found.

Thanks, Birgit


On 05/11/08 14:38, Michael Jerris wrote:
Quote:
On Nov 5, 2008, at 9:15 AM, Birgit Arkesteijn wrote:

Quote:
Hi Anthony,

Thanks for your reply!

Does mod_xml_cdr use curl as well?

Yes.

Quote:
I seem to remember that I had a problem a couple of months ago with
xml_cdr. It wouldn't work without curl-devel.


This seems wrong, it should use our internal one if you don't have a
system one installed. Out of curiosity, what distro is this and what
version of libcurl were you installing?


Mike


Quote:
I'll run configure with the --without-libcurl flag.

Thanks, Birgit


--
-- Birgit Arkesteijn, birgit@westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
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
Back to top
birgit at westhawk.co.uk
Guest





PostPosted: Wed Nov 05, 2008 11:33 am    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

Hi guys,

I still cannot compile mod_xml_curl.
The problem won't go away.

I uninstalled curl-devel.
I ran updatedb so locate can no longer find curl.h.

I ran 'configure' again (I didn't use any with or without curl flags
this time), followed by 'make current'.
When that didn't help I tried 'make clean modwipe', followed by make,
followed by 'make current'.

The error is persistent:

mod_xml_curl.c: In function ‘do_config’:
mod_xml_curl.c:265: error: syntax error before ‘;’ token
cc1: warnings being treated as errors
mod_xml_curl.c:245: warning: unused variable ‘hash_node’
mod_xml_curl.c:239: warning: unused variable ‘bname’


Currently I've got FS 597:10249M downloaded.

I'm running Suse Linux 10.0.
% uname -a
Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

I'm using:
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)


Thanks, Birgit




On 05/11/08 15:39, Birgit Arkesteijn wrote:
Quote:
Hi Mike,

I probably got my wires mixed, sorry.

I'm running Suse Linux 10.0.
% uname -a
Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

The version on the Suse DVD is:
curl-devel-7.14.0-2.x86_64.rpm
build at 09/09/05 20:01:25

The error occurred this morning (so night for you guys) when I did 'make
current'. I've just run a few more make currents, so I don't have the
exact FS build.

BTW, I ran
% configure --without-libcurl
followed by
% make current

and the error reoccurred.
Does 'make current' do its own configure again?

I've resorted to uninstalling curl-devel, and updating the 'locate', so
curl.h can no longer be found.

Thanks, Birgit


On 05/11/08 14:38, Michael Jerris wrote:
Quote:
On Nov 5, 2008, at 9:15 AM, Birgit Arkesteijn wrote:

Quote:
Hi Anthony,

Thanks for your reply!

Does mod_xml_cdr use curl as well?
Yes.

Quote:
I seem to remember that I had a problem a couple of months ago with
xml_cdr. It wouldn't work without curl-devel.

This seems wrong, it should use our internal one if you don't have a
system one installed. Out of curiosity, what distro is this and what
version of libcurl were you installing?


Mike


Quote:
I'll run configure with the --without-libcurl flag.

Thanks, Birgit



--
-- Birgit Arkesteijn, birgit@westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
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
Back to top
birgit at westhawk.co.uk
Guest





PostPosted: Wed Nov 05, 2008 11:52 am    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

Hi,

My C programming days are long gone, but might there be an error in
./include/switch_core.h ????

I preprocessed mod_xml_curl.c.
Line 265:
if (switch_core_hash_init(&vars_map, globals.pool) !=
SWITCH_STATUS_SUCCESS) {

is turned into:
if (switch_core_hash_init_case(&vars_map, globals.pool, SWITCH_TRUE); !=
SWITCH_STATUS_SUCCESS) {

Hence the error about the semicolon.

File ./include/switch_core.h

SWITCH_DECLARE(switch_status_t) switch_core_hash_init_case(_Out_
switch_hash_t **hash, _In_ switch_memory_pool_t *pool, switch_bool_t
case_sensitive);
#define switch_core_hash_init(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_TRUE);
#define switch_core_hash_init_nocase(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_FALSE);

Thanks, Birgit


On 05/11/08 16:21, Birgit Arkesteijn wrote:
Quote:
Hi guys,

I still cannot compile mod_xml_curl.
The problem won't go away.

I uninstalled curl-devel.
I ran updatedb so locate can no longer find curl.h.

I ran 'configure' again (I didn't use any with or without curl flags
this time), followed by 'make current'.
When that didn't help I tried 'make clean modwipe', followed by make,
followed by 'make current'.

The error is persistent:

mod_xml_curl.c: In function ‘do_config’:
mod_xml_curl.c:265: error: syntax error before ‘;’ token
cc1: warnings being treated as errors
mod_xml_curl.c:245: warning: unused variable ‘hash_node’
mod_xml_curl.c:239: warning: unused variable ‘bname’


Currently I've got FS 597:10249M downloaded.

I'm running Suse Linux 10.0.
% uname -a
Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

I'm using:
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)


Thanks, Birgit




On 05/11/08 15:39, Birgit Arkesteijn wrote:
Quote:
Hi Mike,

I probably got my wires mixed, sorry.

I'm running Suse Linux 10.0.
% uname -a
Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

The version on the Suse DVD is:
curl-devel-7.14.0-2.x86_64.rpm
build at 09/09/05 20:01:25

The error occurred this morning (so night for you guys) when I did 'make
current'. I've just run a few more make currents, so I don't have the
exact FS build.

BTW, I ran
% configure --without-libcurl
followed by
% make current

and the error reoccurred.
Does 'make current' do its own configure again?

I've resorted to uninstalling curl-devel, and updating the 'locate', so
curl.h can no longer be found.

Thanks, Birgit


On 05/11/08 14:38, Michael Jerris wrote:
Quote:
On Nov 5, 2008, at 9:15 AM, Birgit Arkesteijn wrote:

Quote:
Hi Anthony,

Thanks for your reply!

Does mod_xml_cdr use curl as well?
Yes.

Quote:
I seem to remember that I had a problem a couple of months ago with
xml_cdr. It wouldn't work without curl-devel.

This seems wrong, it should use our internal one if you don't have a
system one installed. Out of curiosity, what distro is this and what
version of libcurl were you installing?


Mike


Quote:
I'll run configure with the --without-libcurl flag.

Thanks, Birgit



--
-- Birgit Arkesteijn, birgit@westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
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
Back to top
birgit at westhawk.co.uk
Guest





PostPosted: Wed Nov 05, 2008 12:09 pm    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

Hi,

A bit more digging ...
As far as I can tell, this has been added in revision 10239.

I've deleted the semicolons and fortunately it compiles again.

File ./include/switch_core.h, line 938:
#define switch_core_hash_init(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_TRUE)
#define switch_core_hash_init_nocase(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_FALSE)

Cheers, Birgit


On 05/11/08 16:50, Birgit Arkesteijn wrote:
Quote:
Hi,

My C programming days are long gone, but might there be an error in
./include/switch_core.h ????

I preprocessed mod_xml_curl.c.
Line 265:
if (switch_core_hash_init(&vars_map, globals.pool) !=
SWITCH_STATUS_SUCCESS) {

is turned into:
if (switch_core_hash_init_case(&vars_map, globals.pool, SWITCH_TRUE); !=
SWITCH_STATUS_SUCCESS) {

Hence the error about the semicolon.

File ./include/switch_core.h

SWITCH_DECLARE(switch_status_t) switch_core_hash_init_case(_Out_
switch_hash_t **hash, _In_ switch_memory_pool_t *pool, switch_bool_t
case_sensitive);
#define switch_core_hash_init(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_TRUE);
#define switch_core_hash_init_nocase(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_FALSE);

Thanks, Birgit


On 05/11/08 16:21, Birgit Arkesteijn wrote:
Quote:
Hi guys,

I still cannot compile mod_xml_curl.
The problem won't go away.

I uninstalled curl-devel.
I ran updatedb so locate can no longer find curl.h.

I ran 'configure' again (I didn't use any with or without curl flags
this time), followed by 'make current'.
When that didn't help I tried 'make clean modwipe', followed by make,
followed by 'make current'.

The error is persistent:

mod_xml_curl.c: In function ‘do_config’:
mod_xml_curl.c:265: error: syntax error before ‘;’ token
cc1: warnings being treated as errors
mod_xml_curl.c:245: warning: unused variable ‘hash_node’
mod_xml_curl.c:239: warning: unused variable ‘bname’


Currently I've got FS 597:10249M downloaded.

I'm running Suse Linux 10.0.
% uname -a
Linux apso 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

I'm using:
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)


Thanks, Birgit

_______________________________________________
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
Back to top
mike at jerris.com
Guest





PostPosted: Wed Nov 05, 2008 12:13 pm    Post subject: [Freeswitch-users] Javascript & cURL: Error loading CURL Reply with quote

Fixed in svn revision 10251.

Cheers
Mike

On Nov 5, 2008, at 12:04 PM, Birgit Arkesteijn wrote:

Quote:
Hi,

A bit more digging ...
As far as I can tell, this has been added in revision 10239.

I've deleted the semicolons and fortunately it compiles again.

File ./include/switch_core.h, line 938:
#define switch_core_hash_init(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_TRUE)
#define switch_core_hash_init_nocase(_hash, _pool)
switch_core_hash_init_case(_hash, _pool, SWITCH_FALSE)

Cheers, Birgit



_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services