проблема в компиляции модуля.
могу ли я как-то увидеть подробный лог работы make?
Пользователь решил продолжить мысль [time]21 Сентябрь 2014, 19:06:10[/time]:
добравшись до бука пишу:
lsmod
Module Size Used by
bnep 19884 2
rfcomm 75114 8
binfmt_misc 17508 1
uvcvideo 86628 0
btusb 32605 0
bluetooth 467228 22 bnep,btusb,rfcomm
videobuf2_vmalloc 13216 1 uvcvideo
rtsx_usb_ms 19050 0
videobuf2_memops 13362 1 videobuf2_vmalloc
videobuf2_core 59635 1 uvcvideo
memstick 16968 1 rtsx_usb_ms
v4l2_common 15715 1 videobuf2_core
dell_wmi 12681 0
6lowpan_iphc 18968 1 bluetooth
sparse_keymap 13890 1 dell_wmi
dell_laptop 18315 0
videodev 154834 3 uvcvideo,v4l2_common,videobuf2_core
snd_hda_codec_realtek 73695 1
snd_hda_codec_hdmi 48243 1
snd_hda_codec_generic 70087 1 snd_hda_codec_realtek
media 22008 2 uvcvideo,videodev
dcdbas 15017 1 dell_laptop
snd_hda_intel 30683 5
snd_hda_controller 35518 1 snd_hda_intel
snd_hda_codec 144889 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
kvm_amd 60904 0
snd_hwdep 17709 1 snd_hda_codec
snd_pcm 105052 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
kvm 464279 1 kvm_amd
snd_seq_midi 13564 0
snd_seq_midi_event 14899 1 snd_seq_midi
crct10dif_pclmul 14268 0
snd_rawmidi 31197 1 snd_seq_midi
snd_seq 63540 2 snd_seq_midi_event,snd_seq_midi
crc32_pclmul 13180 0
ghash_clmulni_intel 13230 0
aesni_intel 152648 1
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 30118 2 snd_pcm,snd_seq
aes_x86_64 17131 1 aesni_intel
snd 84025 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
lrw 13323 1 aesni_intel
soundcore 15091 2 snd,snd_hda_codec
joydev 17587 0
serio_raw 13483 0
gf128mul 14951 1 lrw
dm_multipath 23188 0
glue_helper 14095 1 aesni_intel
k10temp 13191 0
ablk_helper 13597 1 aesni_intel
cryptd 20531 3 ghash_clmulni_intel,aesni_intel,ablk_helper
scsi_dh 14873 1 dm_multipath
i2c_piix4 22311 0
parport_pc 32906 0
ppdev 17711 0
lp 17799 0
nls_iso8859_1 12713 1
parport 42481 3 lp,ppdev,parport_pc
mac_hid 13275 0
dm_mirror 22356 0
dm_region_hash 21010 1 dm_mirror
dm_log 18527 2 dm_region_hash,dm_mirror
hid_generic 12559 0
usbhid 53122 0
hid 110572 2 hid_generic,usbhid
rtsx_usb_sdmmc 28381 0
rtsx_usb 21330 2 rtsx_usb_sdmmc,rtsx_usb_ms
radeon 1450362 3
psmouse 113097 0
i2c_algo_bit 13564 1 radeon
sdhci_pci 23352 0
ttm 90341 1 radeon
sdhci 44159 1 sdhci_pci
drm_kms_helper 62042 1 radeon
ohci_pci 13570 0
ahci 30167 2
drm 316819 6 ttm,drm_kms_helper,radeon
r8169 73316 0
libahci 32533 1 ahci
mii 13981 1 r8169
wmi 19379 1 dell_wmi
video 20521 0
сборка модуля официальных дров согласно этого мана
http://www.broadcom.com/docs/linux_sta/README_6.30.223.248.txt:
make API=CFG80211
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Вход в каталог `/usr/src/linux-headers-3.16.3-031603-generic'
CFG80211 API specified in command line
Using CFG80211 API
LD /home/zv/wifi/built-in.o
CC [M] /home/zv/wifi/src/shared/linux_osl.o
CC [M] /home/zv/wifi/src/wl/sys/wl_linux.o
CC [M] /home/zv/wifi/src/wl/sys/wl_iw.o
CC [M] /home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.o
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_key’:
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:1390:2: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [enabled by default]
memcpy(params.key, key.data, params.key_len);
^
In file included from ./arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from ./arch/x86/include/asm/cpumask.h:4,
from ./arch/x86/include/asm/msr.h:10,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/thread_info.h:23,
from include/linux/thread_info.h:54,
from ./arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:18,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/zv/wifi/src/include/linuxver.h:40,
from /home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:26:
./arch/x86/include/asm/string_64.h:32:14: note: expected ‘void *’ but argument is of type ‘const u8 *’
extern void *memcpy(void *to, const void *from, size_t len);
^
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c: At top level:
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: initialization from incompatible pointer type [enabled by default]
.get_station = wl_cfg80211_get_station,
^
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: (near initialization for ‘wl_cfg80211_ops.get_station’) [enabled by default]
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_notify_connect_status’:
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:2074:4: warning: passing argument 3 of ‘cfg80211_ibss_joined’ makes pointer from integer without a cast [enabled by default]
cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
^
In file included from /home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:4002:6: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘unsigned int’
void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
^
/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:2074:4: error: too few arguments to function ‘cfg80211_ibss_joined’
cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
^
In file included from /home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
include/net/cfg80211.h:4002:6: note: declared here
void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
^
make[2]: *** [/home/zv/wifi/src/wl/sys/wl_cfg80211_hybrid.o] Ошибка 1
make[1]: *** [_module_/home/zv/wifi] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.16.3-031603-generic'
make: *** [all] Ошибка 2
ps. linux kernel 3.16.3