Bonsoir à tous
Déjà merci pour le tuto, c'est super
J'en suis à l'étape de compilation. J'ai bien édité les 2 Makefile sauf que lors de la compilation j'ai une erreur et j'arrive pas à la résoudre.
Voice le log :
make ARCH=arm
gcc -I. -Wall /opt/include -c -o conf.o conf.c
conf.c:38:23: error: libconfig.h: No such file or directory
conf.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'configuration'
conf.c: In function 'Conf_init':
conf.c:59: warning: implicit declaration of function 'config_init'
conf.c:59: error: 'configuration' undeclared (first use in this function)
conf.c:59: error: (Each undeclared identifier is reported only once
conf.c:59: error: for each function it appears in.)
conf.c:64: warning: implicit declaration of function 'config_read_file'
conf.c:64: error: 'CONFIG_TRUE' undeclared (first use in this function)
conf.c:66: warning: implicit declaration of function 'config_error_text'
conf.c:66: warning: implicit declaration of function 'config_error_line'
conf.c:66: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
conf.c: In function 'Conf_deinit':
conf.c:74: warning: implicit declaration of function 'config_destroy'
conf.c:74: error: 'configuration' undeclared (first use in this function)
conf.c: In function 'getStrConf':
conf.c:79: error: 'config_setting_t' undeclared (first use in this function)
conf.c:79: error: 'setting' undeclared (first use in this function)
conf.c:84: warning: implicit declaration of function 'config_lookup'
conf.c:84: error: 'configuration' undeclared (first use in this function)
conf.c:88: warning: implicit declaration of function 'config_setting_get_string'
conf.c:88: warning: assignment makes pointer from integer without a cast
conf.c:99: warning: assignment makes pointer from integer without a cast
conf.c:110: warning: assignment makes pointer from integer without a cast
conf.c:121: warning: assignment makes pointer from integer without a cast
conf.c:132: warning: assignment makes pointer from integer without a cast
conf.c:143: warning: assignment makes pointer from integer without a cast
conf.c: In function 'getIntConf':
conf.c:158: error: 'config_setting_t' undeclared (first use in this function)
conf.c:158: error: 'setting' undeclared (first use in this function)
conf.c:162: error: 'configuration' undeclared (first use in this function)
conf.c:166: warning: implicit declaration of function 'config_setting_get_int'
conf.c: In function 'Conf_getNextChannel':
conf.c:192: error: 'config_setting_t' undeclared (first use in this function)
conf.c:192: error: 'setting' undeclared (first use in this function)
conf.c:196: error: 'configuration' undeclared (first use in this function)
conf.c:199: warning: assignment makes pointer from integer without a cast
conf.c:205: warning: assignment makes pointer from integer without a cast
conf.c:212: warning: assignment makes pointer from integer without a cast
conf.c:219: warning: implicit declaration of function 'config_setting_get_bool'
conf.c: In function 'Conf_getNextChannelLink':
conf.c:226: error: 'config_setting_t' undeclared (first use in this function)
conf.c:226: error: 'setting' undeclared (first use in this function)
conf.c:230: error: 'configuration' undeclared (first use in this function)
conf.c:233: warning: assignment makes pointer from integer without a cast
conf.c:239: warning: assignment makes pointer from integer without a cast
make: *** [conf.o] Error 1
J'ai bien les lib libconfig.so* dans le /lib
En vous remerciant d'avance