Не могу установить драйвер. Подскажите если не трудно, можно ли пересобрать драйвер для нового ядра. Действую по инструкции:
troferick@MaksAly:~/123$ sudo make
make -C tools
make[1]: Вход в каталог `/home/troferick/123/tools'
gcc -g bin2h.c -o bin2h
make[1]: Выход из каталога `/home/troferick/123/tools'
/home/troferick/123/tools/bin2h
cp -f os/linux/Makefile.6 /home/troferick/123/os/linux/Makefile
make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/troferick/123/os/linux modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.8.0-19-generic'
CC [M] /home/troferick/123/os/linux/../../common/crypt_md5.o
CC [M] /home/troferick/123/os/linux/../../common/crypt_sha2.o
CC [M] /home/troferick/123/os/linux/../../common/crypt_hmac.o
CC [M] /home/troferick/123/os/linux/../../common/crypt_aes.o
/home/troferick/123/os/linux/../../common/crypt_aes.c: В функции «AES_Key_Wrap»:
/home/troferick/123/os/linux/../../common/crypt_aes.c:1466:6: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «long unsigned int» [-Wformat]
/home/troferick/123/os/linux/../../common/crypt_aes.c: В функции «AES_Key_Unwrap»:
/home/troferick/123/os/linux/../../common/crypt_aes.c:1561:6: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «long unsigned int» [-Wformat]
CC [M] /home/troferick/123/os/linux/../../common/crypt_arc4.o
CC [M] /home/troferick/123/os/linux/../../common/mlme.o
/home/troferick/123/os/linux/../../common/mlme.c: В функции «MlmeResetRalinkCounters»:
/home/troferick/123/os/linux/../../common/mlme.c:528:3: предупреждение: приведение указателя к целому другого размера [-Wpointer-to-int-cast]
/home/troferick/123/os/linux/../../common/mlme.c:528:3: предупреждение: приведение указателя к целому другого размера [-Wpointer-to-int-cast]
CC [M] /home/troferick/123/os/linux/../../common/cmm_wep.o
CC [M] /home/troferick/123/os/linux/../../common/action.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_data.o
CC [M] /home/troferick/123/os/linux/../../common/rtmp_init.o
CC [M] /home/troferick/123/os/linux/../../common/rtmp_init_inf.o
/home/troferick/123/os/linux/../../common/rtmp_init_inf.c: В функции «rt28xx_init»:
/home/troferick/123/os/linux/../../common/rtmp_init_inf.c:162:3: предупреждение: format «%x» expects argument of type «unsigned int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../common/rtmp_init_inf.c:178:10: предупреждение: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
CC [M] /home/troferick/123/os/linux/../../common/cmm_tkip.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_aes.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_sync.o
CC [M] /home/troferick/123/os/linux/../../common/eeprom.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_sanity.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_info.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_cfg.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_wpa.o
/home/troferick/123/os/linux/../../common/cmm_wpa.c: В функции «PeerPairMsg3Action»:
/home/troferick/123/os/linux/../../common/cmm_wpa.c:1032:13: предупреждение: неиспользуемая переменная «Cancelled» [-Wunused-variable]
CC [M] /home/troferick/123/os/linux/../../common/cmm_radar.o
CC [M] /home/troferick/123/os/linux/../../common/spectrum.o
/home/troferick/123/os/linux/../../common/spectrum.c: В функции «PeerMeasureReportAction»:
/home/troferick/123/os/linux/../../common/spectrum.c:1972:3: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «long unsigned int» [-Wformat]
CC [M] /home/troferick/123/os/linux/../../common/rtmp_timer.o
CC [M] /home/troferick/123/os/linux/../../common/rt_channel.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_profile.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_asic.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_cmd.o
CC [M] /home/troferick/123/os/linux/../../common/ps.o
CC [M] /home/troferick/123/os/linux/../../common/uapsd.o
CC [M] /home/troferick/123/os/linux/../../rate_ctrl/ra_ctrl.o
CC [M] /home/troferick/123/os/linux/../../rate_ctrl/alg_legacy.o
CC [M] /home/troferick/123/os/linux/../../rate_ctrl/alg_ags.o
CC [M] /home/troferick/123/os/linux/../../os/linux/rt_profile.o
/home/troferick/123/os/linux/../../os/linux/rt_profile.c: В функции «STA_MonPktSend»:
/home/troferick/123/os/linux/../../os/linux/rt_profile.c:409:9: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «long unsigned int» [-Wformat]
CC [M] /home/troferick/123/os/linux/../../chips/rtmp_chip.o
CC [M] /home/troferick/123/os/linux/../../sta/assoc.o
CC [M] /home/troferick/123/os/linux/../../sta/auth.o
CC [M] /home/troferick/123/os/linux/../../sta/auth_rsp.o
CC [M] /home/troferick/123/os/linux/../../sta/sync.o
CC [M] /home/troferick/123/os/linux/../../sta/sanity.o
CC [M] /home/troferick/123/os/linux/../../sta/rtmp_data.o
/home/troferick/123/os/linux/../../sta/rtmp_data.c: В функции «STAHandleRxDataFrame»:
/home/troferick/123/os/linux/../../sta/rtmp_data.c:283:17: предупреждение: неиспользуемая переменная «pFmeCtrl» [-Wunused-variable]
/home/troferick/123/os/linux/../../sta/rtmp_data.c:282:8: предупреждение: неиспользуемая переменная «OldPwrMgmt» [-Wunused-variable]
/home/troferick/123/os/linux/../../sta/rtmp_data.c: В функции «STAHandleRxMgmtFrame»:
/home/troferick/123/os/linux/../../sta/rtmp_data.c:766:5: предупреждение: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
CC [M] /home/troferick/123/os/linux/../../sta/connect.o
CC [M] /home/troferick/123/os/linux/../../sta/wpa.o
CC [M] /home/troferick/123/os/linux/../../sta/sta_cfg.o
/home/troferick/123/os/linux/../../sta/sta_cfg.c: В функции «RTMPQueryInformation»:
/home/troferick/123/os/linux/../../sta/sta_cfg.c:3956:4: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «long unsigned int» [-Wformat]
/home/troferick/123/os/linux/../../sta/sta_cfg.c: В функции «RtmpIoctl_rt_private_get_statistics»:
/home/troferick/123/os/linux/../../sta/sta_cfg.c:7220:1: предупреждение: format «%x» expects argument of type «unsigned int», but argument 3 has type «EEPROM_NIC_CONFIG3_STRUC» [-Wformat]
CC [M] /home/troferick/123/os/linux/../../common/rt_os_util.o
CC [M] /home/troferick/123/os/linux/../../os/linux/sta_ioctl.o
In file included from /home/troferick/123/include/os/rt_linux.h:40:0,
from /home/troferick/123/include/rtmp_os.h:42,
from /home/troferick/123/include/rtmp_comm.h:56,
from /home/troferick/123/os/linux/../../os/linux/sta_ioctl.c:33:
/home/troferick/123/os/linux/../../os/linux/sta_ioctl.c: В функции «rt_ioctl_giwscan»:
include/net/iw_handler.h:554:9: предупреждение: array subscript is below array bounds [-Warray-bounds]
CC [M] /home/troferick/123/os/linux/../../os/linux/rt_linux.o
/home/troferick/123/os/linux/../../os/linux/rt_linux.c: В функции «duplicate_pkt»:
/home/troferick/123/os/linux/../../os/linux/rt_linux.c:508:3: предупреждение: при передаче аргумента 1 «memmove» целое преобразуется в указатель без приведения типа [по умолчанию включена]
In file included from /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/linux/dynamic_debug.h:100,
from include/linux/kernel.h:14,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/troferick/123/include/os/rt_linux.h:18,
from /home/troferick/123/include/rtmp_os.h:42,
from /home/troferick/123/include/rtmp_comm.h:56,
from /home/troferick/123/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/string_64.h:58:7: замечание: expected «void *» but argument is of type «sk_buff_data_t»
/home/troferick/123/os/linux/../../os/linux/rt_linux.c:510:3: предупреждение: при передаче аргумента 1 «memmove» целое преобразуется в указатель без приведения типа [по умолчанию включена]
In file included from /usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/string.h:4:0,
from include/linux/string.h:17,
from include/linux/dynamic_debug.h:100,
from include/linux/kernel.h:14,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/troferick/123/include/os/rt_linux.h:18,
from /home/troferick/123/include/rtmp_os.h:42,
from /home/troferick/123/include/rtmp_comm.h:56,
from /home/troferick/123/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-3.8.0-19-generic/arch/x86/include/asm/string_64.h:58:7: замечание: expected «void *» but argument is of type «sk_buff_data_t»
/home/troferick/123/os/linux/../../os/linux/rt_linux.c: В функции «ClonePacket»:
/home/troferick/123/os/linux/../../os/linux/rt_linux.c:662:20: предупреждение: в присваивании указатель преобразуется в целое без приведения типа [по умолчанию включена]
/home/troferick/123/os/linux/../../os/linux/rt_linux.c: В функции «RtmpOsPktInit»:
/home/troferick/123/os/linux/../../os/linux/rt_linux.c:681:2: предупреждение: в присваивании указатель преобразуется в целое без приведения типа [по умолчанию включена]
/home/troferick/123/os/linux/../../os/linux/rt_linux.c: В функции «wlan_802_11_to_802_3_packet»:
/home/troferick/123/os/linux/../../os/linux/rt_linux.c:708:15: предупреждение: в присваивании указатель преобразуется в целое без приведения типа [по умолчанию включена]
CC [M] /home/troferick/123/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/troferick/123/os/linux/../../common/ba_action.o
/home/troferick/123/os/linux/../../common/ba_action.c: В функции «convert_reordering_packet_to_preAMSDU_or_802_3_packet»:
/home/troferick/123/os/linux/../../common/ba_action.c:1550:2: предупреждение: в присваивании указатель преобразуется в целое без приведения типа [по умолчанию включена]
CC [M] /home/troferick/123/os/linux/../../common/rt_led.o
CC [M] /home/troferick/123/os/linux/../../common/cmm_mac_pci.o
/home/troferick/123/os/linux/../../common/cmm_mac_pci.c: В функции «RT28xxPciMlmeRadioOn»:
/home/troferick/123/os/linux/../../common/cmm_mac_pci.c:2245:13: предупреждение: неиспользуемая переменная «Cancelled» [-Wunused-variable]
CC [M] /home/troferick/123/os/linux/../../common/cmm_data_pci.o
/home/troferick/123/os/linux/../../common/cmm_data_pci.c: В функции «RTMPFreeTXDUponTxDmaDone»:
/home/troferick/123/os/linux/../../common/cmm_data_pci.c:543:8: предупреждение: неиспользуемая переменная «TXWISize» [-Wunused-variable]
/home/troferick/123/os/linux/../../common/cmm_data_pci.c: В функции «RTMPHandleMgmtRingDmaDoneInterrupt»:
/home/troferick/123/os/linux/../../common/cmm_data_pci.c:738:8: предупреждение: неиспользуемая переменная «TXWISize» [-Wunused-variable]
CC [M] /home/troferick/123/os/linux/../../os/linux/rt_rbus_pci_drv.o
/home/troferick/123/os/linux/../../os/linux/rt_rbus_pci_drv.c: В функции «RTMPInitPCIeDevice»:
/home/troferick/123/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: предупреждение: неиспользуемая переменная «Index» [-Wunused-variable]
CC [M] /home/troferick/123/os/linux/../../common/rtmp_mcu.o
/home/troferick/123/os/linux/../../common/rtmp_mcu.c: В функции «RtmpAsicSendCommandToMcu»:
/home/troferick/123/os/linux/../../common/rtmp_mcu.c:464:8: предупреждение: неиспользуемая переменная «offset» [-Wunused-variable]
/home/troferick/123/os/linux/../../common/rtmp_mcu.c:463:8: предупреждение: неиспользуемая переменная «Configuration» [-Wunused-variable]
CC [M] /home/troferick/123/os/linux/../../common/ee_prom.o
CC [M] /home/troferick/123/os/linux/../../common/ee_efuse.o
CC [M] /home/troferick/123/os/linux/../../common/rt_rf.o
CC [M] /home/troferick/123/os/linux/../../chips/rt30xx.o
CC [M] /home/troferick/123/os/linux/../../chips/rt3290.o
/home/troferick/123/os/linux/../../chips/rt3290.c: В функции «RT3290_AsicTxAlcGetAutoAgcOffset»:
/home/troferick/123/os/linux/../../chips/rt3290.c:1564:25: предупреждение: assignment discards «const» qualifier from pointer target type [по умолчанию включена]
/home/troferick/123/os/linux/../../chips/rt3290.c: В функции «MlmeAntSelection»:
/home/troferick/123/os/linux/../../chips/rt3290.c:2489:4: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2489:4: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2489:4: предупреждение: format «%d» expects argument of type «int», but argument 4 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2507:5: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2522:5: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2522:5: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2523:5: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2523:5: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2526:5: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2526:5: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2527:5: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2527:5: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2528:5: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2528:5: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2545:6: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2545:6: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2545:6: предупреждение: format «%d» expects argument of type «int», but argument 4 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2559:9: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2565:9: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2574:8: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2581:8: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2583:7: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2583:7: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2595:6: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2595:6: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2596:6: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2596:6: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2597:6: предупреждение: format «%d» expects argument of type «int», but argument 2 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c:2597:6: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c: В функции «BtCoexSetting»:
/home/troferick/123/os/linux/../../chips/rt3290.c:3244:4: предупреждение: format «%d» expects argument of type «int», but argument 3 has type «ULONG» [-Wformat]
/home/troferick/123/os/linux/../../chips/rt3290.c: В функции «Profile_TwoAnt»:
/home/troferick/123/os/linux/../../chips/rt3290.c:4097:2: предупреждение: format «%x» expects argument of type «unsigned int», but argument 2 has type «CMB_CTRL_STRUC» [-Wformat]
CC [M] /home/troferick/123/os/linux/../../os/linux/rt_pci_rbus.o
CC [M] /home/troferick/123/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/troferick/123/os/linux/../../os/linux/pci_main_dev.o
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:43:23: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «rt2860_remove_one»
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:44:22: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «rt2860_probe»
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:63:46: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «__devinitdata»
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:85:17: ошибка: «rt2860_pci_tbl» undeclared here (not in a function)
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:86:17: ошибка: «rt2860_probe» undeclared here (not in a function)
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:88:5: ошибка: неявная декларация функции «__devexit_p» [-Werror=implicit-function-declaration]
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:88:29: ошибка: «rt2860_remove_one» undeclared here (not in a function)
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:292:24: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «rt2860_probe»
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:463:23: ошибка: expected «=», «,», «;», «asm» or «__attribute__» before «rt2860_remove_one»
/home/troferick/123/os/linux/../../os/linux/pci_main_dev.c:71:1: ошибка: «__mod_pci_device_table» aliased to undefined symbol «rt2860_pci_tbl»
cc1: некоторые предупреждения рассматриваются как ошибки
make[2]: *** [/home/troferick/123/os/linux/../../os/linux/pci_main_dev.o] Ошибка 1
make[1]: *** [_module_/home/troferick/123/os/linux] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.8.0-19-generic'
make: *** [LINUX] Ошибка 2
troferick@MaksAly:~/123$ sudo make install
make -C /home/troferick/123/os/linux -f Makefile.6 install
mkdir: невозможно создать каталог «/etc/Wireless»: Файл существует
make[1]: Вход в каталог `/home/troferick/123/os/linux'
эрэм эрэф /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/troferick/123/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/3.8.0-19-generic/kernel/drivers/net/wireless/
install -m 644 -c rt3290sta.ko /lib/modules/3.8.0-19-generic/kernel/drivers/net/wireless/
install: не удалось выполнить stat для «rt3290sta.ko»: Нет такого файла или каталога
make[1]: *** [install] Ошибка 1
make[1]: Выход из каталога `/home/troferick/123/os/linux'
make: *** [install] Ошибка 2