Ahoj.
Mám podobný problém s ovladači RT3290 RaLink. WiFi funguje, ale Bluetooth ne. Ubuntu 13.10 Pokoušel jsem se o stažení a kompilaci.
Sudo make hlásil chyby, přikládám výpisy.
Prosím o radu.
Děkuji.
lscpi
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
04:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
rfkill
lak@lak-notes:~$ sudo rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
sudo make
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-3.11.0-15-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
void *memmove(void *dest, const void *src, size_t count);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:662:20: warning: assignment makes integer from pointer without a cast [enabled by default]
pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
^
In file included from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:681:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:708:15: warning: assignment makes integer from pointer without a cast [enabled by default]
pOSPkt->tail = pOSPkt->data + pOSPkt->len;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.o
In file included from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:3:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:1035:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
SET_OS_PKT_DATATAIL(__pRxPkt, __pData, __DataSize); \
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:1550:2: note: in expansion of macro ‘RTMP_OS_PKT_INIT’
RTMP_OS_PKT_INIT(pRxBlk->pRxPacket,
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_led.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
BOOLEAN Cancelled;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
UINT8 TXWISize = pAd->chipCap.TXWISize;
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
UINT8 TXWISize = pAd->chipCap.TXWISize;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: warning: unused variable ‘Index’ [-Wunused-variable]
UINT32 MacCsr0 = 0, Index= 0;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
ULONG offset;
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
ULONG Configuration;
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_prom.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_efuse.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_rf.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt30xx.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:1564:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
pTxPowerTuningEntry = &(TxPowerTuningTable[TuningTableIndex + TX_POWER_TUNING_ENTRY_OFFSET]);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: AvgTxErrorRatio = %d , TxErrorRatio = %d, AccuTxTotalCnt = %d, Rssi = %d\n",AvgTxErrorRatio, TxErrorRatio, AccuTxTotalCnt, Rssi));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2507:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE, ("AntS: Train State: AntennaDiversityCount = %d\n", pAd->AntennaDiversityInfo.AntennaDiversityCount));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 0, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 1, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: AntSAuxDelta = %d, AntSRssiFactor = %d, AntSPERFactor = %d\n",
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2559:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Main !! ++%d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2565:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Aux !!++%d\n",(diffRssi*Ant1TotalPacket/pAd->StaCfg.AntSRssiFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2574:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Main !! ++%d\n", (diffPER*Ant0TotalPacket/pAd->StaCfg.AntSPERFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2581:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Aux !! ++%d\n", (diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor)));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Delta Packet = %d,%d, diffRssi = %d, diffPER = %d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor),(diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor),diffRssi, diffPER));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Stop Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:3244:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE, ("%s:COEX_MODE is active(Two Antenna Mode)!!! CoexMode = %d, BBPCurrentBW = %d, Rssi = %d, RfR49Value = 0x%x\n",
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:4097:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘CMB_CTRL_STRUC’ [-Wformat=]
printk("cmbCtrl = %x\n",cmbCtrl);
^
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_pci_rbus.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:44:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id *ent);
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:85:17: error: ‘rt2860_pci_tbl’ undeclared here (not in a function)
id_table: rt2860_pci_tbl,
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:86:17: error: ‘rt2860_probe’ undeclared here (not in a function)
probe: rt2860_probe,
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:5: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
remove: __devexit_p(rt2860_remove_one),
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:29: error: ‘rt2860_remove_one’ undeclared here (not in a function)
remove: __devexit_p(rt2860_remove_one),
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:292:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
static INT __devinit rt2860_probe(
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:463:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
static VOID __devexit rt2860_remove_one(
^
In file included from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18:0,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:32:
include/linux/module.h:87:32: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
extern const struct gtype##_id __mod_##gtype##_table \
^
include/linux/module.h:145:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
MODULE_GENERIC_TABLE(type##_device,name)
^
/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
^
cc1: some warnings being treated as errors
make[2]: *** [/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Error 1
make[1]: *** [_module_/home/lak/Stažené/ralink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-15-generic'
make: *** [LINUX] Error 2