[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compilar modulo broadcom



Veja se você tem os sources do kernel, ou os headers, geralmente ficam em /usr/src/linux-X.X.X   e tra la la...
 
 
Abraços.

Em 28 de março de 2012 16:08, Ronaldo Reis Júnior <chrysopix@gmail.com> escreveu:
Pessoal,

tentei compilar o modulo broadcom e deu este erro:

root@debian:/usr/src/modules/broadcom-sta/amd64# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entrando no diretório `/usr/src/linux-headers-3.2.0-2-amd64'
/usr/src/linux-headers-3.2.0-2-common/arch/x86/Makefile:81: stack protector enabled but no compiler support
CC [M] /usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.o
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:219:2: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:219:2: warning: initialization from incompatible pointer type [enabled by default]
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:219:2: warning: (near initialization for ‘wl_netdev_ops.ndo_validate_addr’) [enabled by default]
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c: In function ‘_wl_set_multicast_list’:
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1435:27: error: ‘struct net_device’ has no member named ‘mc_list’
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1435:56: error: ‘struct net_device’ has no member named ‘mc_count’
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1436:24: error: dereferencing pointer to incomplete type
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:1442:57: error: dereferencing pointer to incomplete type
make[4]: ** [/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.o] Erro 1
make[3]: ** [_module_/usr/src/modules/broadcom-sta/amd64] Erro 2
make[2]: ** [sub-make] Erro 2
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-3.2.0-2-amd64'
make: ** [all] Erro 2
root@debian:/usr/src/modules/broadcom-sta/amd64#

Qual deve ser o problema? Será que falta instalar algum programa?

tentei diretamente pelo module-assistant mas da erro tbm

Valeu
INte
Ronaldo

--
14ª lei - Geralmente, só quando você puder publicar seus resultados,
         eles são bons o suficiente para fazer parte de sua dissertação.

     --Herman, I. P. 2007. Following the law. NATURE, Vol 445, p. 228.

 Prof. Ronaldo Reis Júnior
|  .''`. UNIMONTES/DBG/Lab. Ecologia Comportamental e Computacional
| : :'  : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
| `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
|   `- Fone: (38) 3229-8192 | ronaldo.reis@unimontes.br
| http://www.ppgcb.unimontes.br/lecc | LinuxUser#: 205366


--
To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4F736FB2.6090609@gmail.com" target="_blank">http://lists.debian.org/4F736FB2.6090609@gmail.com



Reply to: