Erro ao compilar DAHDI-LInux e DAHDI-tools 2.7/2.10

1. Erro ao compilar DAHDI-LInux e DAHDI-tools 2.7/2.10

Andreson Martinato Souto
andguitavoice

(usa Debian)

Enviado em 18/06/2015 - 13:55h

Boa Tarde galera,
sou novo aqui, bom eu to com um problema que não achei em lugar nenehum, ta dando erro ao comilar o DAHDI 2.7 e o 2.10 da o mesmo erro, ja instalei todas as dependencias e não sei mais o que fazer, o erro já aparece ao dar o comando make ja posto aqui em baixo:
estou usando a distro do DEbian Jessie kernel 3.16

root@asterisk-pbx:/usr/src/dahdi-linux-2.7.0# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory '/usr/src/dahdi-linux-2.7.0/drivers/dahdi/firmware'
make[1]: Leaving directory '/usr/src/dahdi-linux-2.7.0/drivers/dahdi/firmware'
make -C /lib/modules/3.16.0-4-586/build M='/usr/src/dahdi-linux-2.7.0/drivers/dahdi/oct612x'
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-586'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-586'
Building modules, stage 2.
MODPOST 0 modules
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-586'
make -C /lib/modules/3.16.0-4-586/build SUBDIRS=/usr/src/dahdi-linux-2.7.0/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.7.0/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-586'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-586'
CC [M] /usr/src/dahdi-linux-2.7.0/drivers/dahdi/dahdi-sysfs.o
/usr/src/dahdi-linux-2.7.0/drivers/dahdi/dahdi-sysfs.c:234:2: error: unknown field ‘drv_attrs’ specified in initializer
.drv_attrs = dahdi_attrs,
^
/usr/src/dahdi-linux-2.7.0/drivers/dahdi/dahdi-sysfs.c:234:2: warning: initialization from incompatible pointer type [enabled by default]
/usr/src/dahdi-linux-2.7.0/drivers/dahdi/dahdi-sysfs.c:234:2: warning: (near initialization for ‘spans_bus_type.bus_groups’) [enabled by default]
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:262: recipe for target '/usr/src/dahdi-linux-2.7.0/drivers/dahdi/dahdi-sysfs.o' failed
make[4]: *** [/usr/src/dahdi-linux-2.7.0/drivers/dahdi/dahdi-sysfs.o] Error 1
/usr/src/linux-headers-3.16.0-4-common/Makefile:1350: recipe for target '_module_/usr/src/dahdi-linux-2.7.0/drivers/dahdi' failed
make[3]: *** [_module_/usr/src/dahdi-linux-2.7.0/drivers/dahdi] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-586'
Makefile:80: recipe for target 'modules' failed
make: *** [modules] Error 2



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts