broadcom 4312 x kernel 3.12 - modulo não compila

Iniciado por gony64, 08 de Dezembro de 2013, 10:15

tópico anterior - próximo tópico

gony64

CAros, bom dia! Segui os passos para atualização do kernel 3.12, no planeta ubuntu... tudo como sempre ocorre bem, menos a compilação do modulo bcmw  e rtl8168 que dá mensagem de possives erros...abaixo o erro do meu bcmw 4312 :

CitarDKMS make.log for bcmwl-6.20.155.1+bdcom for kernel 3.12.3-031203-generic (i686)
Dom Dez  8 09:04:48 BRT 2013
make: Entrando no diretório `/usr/src/linux-headers-3.12.3-031203-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
 LD      /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/built-in.o
 CC [M]  /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/shared/linux_osl.o
 CC [M]  /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c: Na função 'wl_tkip_printstats':
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2704:7: aviso: passing argument 1 of 'wl->tkipmodops->print_stats' from incompatible poi$
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2704:7: nota: expected 'struct seq_file *' but argument is of type 'char *'
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2707:4: aviso: passing argument 1 of 'wl->tkipmodops->print_stats' from incompatible poi$
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2707:4: nota: expected 'struct seq_file *' but argument is of type 'char *'
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c: Na função 'wl_reg_proc_entry':
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2917:2: erro: implicit declaration of function 'create_proc_entry' [-Werror=implicit-fun$
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2917:22: aviso: assignment makes pointer from integer without a cast [habilitado por pad$
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2922:16: erro: dereferencing pointer to incomplete type
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2923:16: erro: dereferencing pointer to incomplete type
/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.c:2924:16: erro: dereferencing pointer to incomplete type
cc1: alguns avisos estão sendo tratados como erros
make[1]: ** [/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/src/wl/sys/wl_linux.o] Erro 1
make: ** [_module_/var/lib/dkms/bcmwl/6.20.155.1+bdcom/build] Erro 2
make: Saindo do diretório `/usr/src/linux-headers-3.12.3-031203-generic'


e a saida na hora da compilação do modulo :

Citar
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
Error! Bad return status for module build on kernel: 3.12.3-031203-generic (i686)
Consult /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.12.3-031203-generic (i686)
Consult /var/lib/dkms/virtualbox-guest/4.2.10/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
update-initramfs: Generating /boot/initrd.img-3.12.3-031203-generic
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169
Warning: No support for locale: pt_BR.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
Gerando grub.cfg ...
Found linux image: /boot/vmlinuz-3.12.3-031203-generic
Found initrd image: /boot/initrd.img-3.12.3-031203-generic
Found linux image: /boot/vmlinuz-3.8.0-34-generic
Found initrd image: /boot/initrd.img-3.8.0-34-generic
Found linux image: /boot/vmlinuz-3.8.0-25-generic
Found initrd image: /boot/initrd.img-3.8.0-25-generic
Found memtest86+ image: /boot/memtest86+.bin
  No volume groups found
Found Windows 7 (loader) em /dev/sda1
concluído
Configurando linux-headers-3.12.3-031203-generic (3.12.3-031203.201312041453) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
Error! Bad return status for module build on kernel: 3.12.3-031203-generic (i686)
Consult /var/lib/dkms/bcmwl/6.20.155.1+bdcom/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.12.3-031203-generic (i686)
Consult /var/lib/dkms/virtualbox-guest/4.2.10/build/make.log for more information.

zekkerj

Olá gony64,

Muito provavelmente esse código é pra outra versão do kernel --- dependendo da fonte, pode ser até pro kernel 2.6. Esse kernel que vc está usando já é considerado "em produção"? Pq se for um kernel "beta", vc deve reportar esses erros pra equipe de desenvolvimento.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D