[Freeswitch-users] mod_cdr_pg_csv

Cliff Wells cliff at develix.com
Sat Mar 5 02:14:38 MSK 2011


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




More information about the FreeSWITCH-users mailing list