[Freeswitch-users] Xmlcdrd

Miha Zoubek miha at softnet.si
Wed Feb 22 13:12:25 MSK 2012


On 02/22/2012 10:50 AM, Miha Zoubek wrote:
> Hi,
>
> how to check if I am using ASCII?
>
> here is a log:
>
> [root at fs1 xmlcdrd]# make
> Makefile:428: warning: overriding commands for target `all'
> Makefile:154: warning: ignoring old commands for target `all'
> gcc  -fPIC -Wall -g -O2 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -c stmtexpldr.c
> In file included from stmtexpldr.c:1:
> stmtexptab.h:4:18: error: glib.h: No such file or directory
> In file included from stmtexpldr.c:1:
> stmtexptab.h:8: error: expected specifier-qualifier-list before 
> 'GHashTable'
> stmtexpldr.c:3:23: error: libconfig.h: No such file or directory
> stmtexpldr.c:13: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'stmtexpldr_equal'
> stmtexpldr.c:14: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'stmtexpldr_str_hash'
> stmtexpldr.c:15: error: expected ')' before 'data'
> stmtexpldr.c:16: error: expected ')' before 'data'
> stmtexpldr.c:19: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'stmtexpldr_equal'
> stmtexpldr.c:28: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'stmtexpldr_str_hash'
> stmtexpldr.c:36: error: expected ')' before 'data'
> stmtexpldr.c:49: error: expected ')' before 'data'
> stmtexpldr.c: In function 'stmtexpldr_init':
> stmtexpldr.c:64: error: 'stmtexp_tab_t' has no member named 'ght'
> stmtexpldr.c:64: warning: implicit declaration of function 
> 'g_hash_table_new_full'
> stmtexpldr.c:64: error: 'g_str_hash' undeclared (first use in this 
> function)
> stmtexpldr.c:64: error: (Each undeclared identifier is reported only once
> stmtexpldr.c:64: error: for each function it appears in.)
> stmtexpldr.c:64: error: 'stmtexpldr_equal' undeclared (first use in 
> this function)
> stmtexpldr.c:65: error: 'stmtexpldr_destroy_key' undeclared (first use 
> in this function)
> stmtexpldr.c:65: error: 'stmtexpldr_destroy_val' undeclared (first use 
> in this function)
> stmtexpldr.c:67: error: 'stmtexp_tab_t' has no member named 'expanded'
> stmtexpldr.c:67: warning: implicit declaration of function 
> 'g_string_sized_new'
> stmtexpldr.c: In function 'stmtexpldr_load_config':
> stmtexpldr.c:75: error: 'config_t' undeclared (first use in this function)
> stmtexpldr.c:75: error: expected ';' before 'cfg'
> stmtexpldr.c:76: error: 'config_setting_t' undeclared (first use in 
> this function)
> stmtexpldr.c:76: error: 'setting' undeclared (first use in this function)
> stmtexpldr.c:78: warning: implicit declaration of function 'config_init'
> stmtexpldr.c:78: error: 'cfg' undeclared (first use in this function)
> stmtexpldr.c:80: warning: implicit declaration of function 
> 'config_read_file'
> stmtexpldr.c:82: warning: implicit declaration of function 'fprintf'
> stmtexpldr.c:82: warning: incompatible implicit declaration of 
> built-in function 'fprintf'
> stmtexpldr.c:82: error: 'stderr' undeclared (first use in this function)
> stmtexpldr.c:84: warning: implicit declaration of function 
> 'config_error_line'
> stmtexpldr.c:85: warning: implicit declaration of function 
> 'config_error_text'
> stmtexpldr.c:85: warning: format '%s' expects type 'char *', but 
> argument 5 has type 'int'
> stmtexpldr.c:86: warning: implicit declaration of function 
> 'config_destroy'
> stmtexpldr.c:92: warning: implicit declaration of function 'config_lookup'
> stmtexpldr.c:95: warning: implicit declaration of function 
> 'config_setting_length'
> stmtexpldr.c:96: warning: implicit declaration of function 'printf'
> stmtexpldr.c:96: warning: incompatible implicit declaration of 
> built-in function 'printf'
> stmtexpldr.c:101: error: 'var' undeclared (first use in this function)
> stmtexpldr.c:101: warning: implicit declaration of function 
> 'config_setting_get_elem'
> stmtexpldr.c:105: warning: implicit declaration of function 
> 'config_setting_lookup_string'
> stmtexpldr.c:114: warning: incompatible implicit declaration of 
> built-in function 'fprintf'
> stmtexpldr.c:117: warning: implicit declaration of function 'snprintf'
> stmtexpldr.c:117: warning: incompatible implicit declaration of 
> built-in function 'snprintf'
> stmtexpldr.c:124: warning: implicit declaration of function 
> 'g_hash_table_replace'
> stmtexpldr.c:124: error: 'stmtexp_tab_t' has no member named 'ght'
> stmtexpldr.c:127: warning: implicit declaration of function 'perror'
> stmtexpldr.c: In function 'stmtexpldr_clear':
> stmtexpldr.c:148: warning: implicit declaration of function 
> 'g_hash_table_remove_all'
> stmtexpldr.c:148: error: 'stmtexp_tab_t' has no member named 'ght'
> stmtexpldr.c: In function 'stmtexpldr_free':
> stmtexpldr.c:154: warning: implicit declaration of function 
> 'g_hash_table_destroy'
> stmtexpldr.c:154: error: 'stmtexp_tab_t' has no member named 'ght'
> stmtexpldr.c:155: warning: implicit declaration of function 
> 'g_string_free'
> stmtexpldr.c:155: error: 'stmtexp_tab_t' has no member named 'expanded'
> stmtexpldr.c:155: error: 'TRUE' undeclared (first use in this function)
> make: *** [all] Error 1
> [root at fs1 xmlcdrd]#
>
>
> On 02/22/2012 08:38 AM, Gabriel Gunderson wrote:
>> On Mon, Feb 20, 2012 at 6:37 AM, Miha Zoubek<miha at softnet.si>  wrote:
>>> I am trying to install xmlcdrd but getting this:
>>>
>>> config.status: executing depfiles commands
>> That's kinda hard to read and will be glossed over by most. Can you
>> repost using ASCII?
>>
>>
>> Best,
>> Gabe
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
where can I find this libraries?

checking for main in -lapreq2... no
checking for main in -lapr-1... yes
checking for main in -lconfig... no
checking for main in -ldl... yes
checking for main in -lfcgi... yes
checking for main in -lpcre... yes
checking for main in -lglib-2.0... yes
checking for main in -lxml2... yes
checking for main in -lfreeradius-client... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... no


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120222/cd7c3711/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list