[Freeswitch-dev] windows json build

Tamas Cseke cstomi.levlist at gmail.com
Tue Mar 23 09:12:23 PDT 2010


Hello,

Responding (for others who may be intrested)
for json build a patched json tarball is needed.

Here is the modification
http://pastebin.freeswitch.org/12524

After this libjson build works.
mod_curl still used json header files from 0.8 version.
And I got compile errors
http://pastebin.freeswitch.org/12525

Jlenk is working on mod_curl build...it's coming soon...
Thanks the help!

Tamas



Tamas Cseke wrote:
> Hello,
>
> I've seen the json upgrade (0.8 ->0.9) has been done for windows as well 
> in r17064.
>
> If it would work, I'd like to fix the windows build for mod_json_cdr
> (http://jira.freeswitch.org/browse/MODEVENT-62)
>
> I was trying with vc++ 2008 express, but I can't compile jsonlib.
>
> json_util.c(62) : error C2065: 'O_RDONLY' : undeclared identifier
> json_util.c(97) : error C2065: 'O_WRONLY' : undeclared identifier
> json_util.c(97) : error C2065: 'O_TRUNC' : undeclared identifier
> json_util.c(97) : error C2065: 'O_CREAT' : undeclared identifier
>
> Is it works for you? does mod_curl build works on windows?
> or the jsonlib doesn't support windows at all (it seems to me) ?
>
> Thanks in advance,
> Tamas
>
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>   




More information about the FreeSWITCH-dev mailing list