[Freeswitch-users] FreeSwitch Compile Error

curriegrad2004 curriegrad2004 at gmail.com
Wed May 18 19:34:12 MSD 2011


Try removing the -Wall option on the sqlite makefile and see what happens.

On Wed, May 18, 2011 at 12:06 AM, vivid <vivid333 at 163.com> wrote:
> Can anyone tell me  how to solve this problem?
>
>
> ./configure
>
>
> make
> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> Compiling src/switch_apr.c ...
> Compiling src/switch_buffer.c ...
> Compiling src/switch_caller.c ...
> Compiling src/switch_channel.c ...
> Compiling src/switch_console.c ...
> Compiling src/switch_mprintf.c ...
> Compiling src/switch_core_media_bug.c ...
> Compiling src/switch_core_timer.c ...
> Compiling src/switch_core_asr.c ...
> Compiling src/switch_core_event_hook.c ...
> Compiling src/switch_core_speech.c ...
> Compiling src/switch_core_memory.c ...
> Compiling src/switch_core_codec.c ...
> Compiling src/switch_core_file.c ...
> Compiling src/switch_core_hash.c ...
> 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
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



More information about the FreeSWITCH-users mailing list