Is this module still supported? I added it to my modules.conf but during compilation I get the following: Compiling /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c ... cc1: warnings being treated as errors /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c: In function 'save_cdr': /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:225: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:235: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:248: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:275: warning: ISO C90 forbids mixed declarations and code make[5]: *** [mod_cdr_pg_csv.lo] Error 1 This seems odd since the Makefile includes modmake.rules which has -std=c99. I guess I could disable -pedantic, but I feel I'm starting down a road that ends somewhere over my head. Regards, Cliff
I just did a git pull and compiled it with no problem. Get the latest git and try again, just to be sure it wasn't already fixed. -MC On Fri, Mar 4, 2011 at 3:14 PM, Cliff Wells <cliff@develix.com> wrote:
Is this module still supported? I added it to my modules.conf but during compilation I get the following:
Compiling /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c ... cc1: warnings being treated as errors /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c: In function 'save_cdr': /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:225: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:235: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:248: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:275: warning: ISO C90 forbids mixed declarations and code make[5]: *** [mod_cdr_pg_csv.lo] Error 1
This seems odd since the Makefile includes modmake.rules which has -std=c99. I guess I could disable -pedantic, but I feel I'm starting down a road that ends somewhere over my head.
Regards, Cliff
_______________________________________________ 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
Yes, that fixed it. I should have updated first, but I was trying to avoid it since that also required updating the Sangoma drivers. Thanks, Cliff On Fri, 2011-03-04 at 16:21 -0800, Michael Collins wrote:
I just did a git pull and compiled it with no problem. Get the latest git and try again, just to be sure it wasn't already fixed. -MC
On Fri, Mar 4, 2011 at 3:14 PM, Cliff Wells <cliff@develix.com> wrote: Is this module still supported? I added it to my modules.conf but during compilation I get the following:
Compiling /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c ... cc1: warnings being treated as errors /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c: In function 'save_cdr': /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:225: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:235: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:248: warning: ISO C90 forbids mixed declarations and code /usr/local/src/freeswitch/src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c:275: warning: ISO C90 forbids mixed declarations and code make[5]: *** [mod_cdr_pg_csv.lo] Error 1
This seems odd since the Makefile includes modmake.rules which has -std=c99. I guess I could disable -pedantic, but I feel I'm starting down a road that ends somewhere over my head.
Regards, Cliff
_______________________________________________ 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
participants (2)
-
Cliff Wells
-
Michael Collins