Hi,
I am trying to install xmlcdrd but getting this:
config.status: executing depfiles commands
[root@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
THanks!
Regards,
Miha
--
Best regards / Lep Pozdrav
Miha Zoubek
Softnet d.o.o.