Error While Installing free switch on UBuntu 11.04
Hi, I am getting the below error while installing free switch on UBuntu 11.04.Any help in resolving the error is appreciated. Compiling src/switch_core_sqldb.c ... cc1: warnings being treated as errors src/switch_core_sqldb.c: In function '_switch_cache_db_get_db_handle': src/switch_core_sqldb.c:314:47: error: comparison between 'switch_odbc_status_t' and 'enum <anonymous>' src/switch_core_sqldb.c: In function 'switch_cache_db_execute_sql_real': src/switch_core_sqldb.c:389:90: error: comparison between 'switch_status_t' and 'enum <anonymous>' make[1]: *** [libfreeswitch_la-switch_core_sqldb.lo] Error 1 make: *** [all] Error 2 thanks Ravi
-Werror on the core lib is enabled... If you can find a way to mess with the build system, you could probably can get it to build without the option, but I can't remember off the top of my head on how to get -Werror off the build... On Sun, Jul 17, 2011 at 1:23 PM, Ravindra Kondiparthi <ravi.4indra@gmail.com> wrote:
Hi,
I am getting the below error while installing free switch on UBuntu 11.04.Any help in resolving the error is appreciated.
Compiling src/switch_core_sqldb.c ... cc1: warnings being treated as errors src/switch_core_sqldb.c: In function '_switch_cache_db_get_db_handle': src/switch_core_sqldb.c:314:47: error: comparison between 'switch_odbc_status_t' and 'enum <anonymous>' src/switch_core_sqldb.c: In function 'switch_cache_db_execute_sql_real': src/switch_core_sqldb.c:389:90: error: comparison between 'switch_status_t' and 'enum <anonymous>' make[1]: *** [libfreeswitch_la-switch_core_sqldb.lo] Error 1 make: *** [all] Error 2
thanks Ravi
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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)
-
curriegrad2004
-
Ravindra Kondiparthi