Tam jest opis dla fedory 3 która na pewno ma inny toolchain niz fc5. Przydałyby się źródła co się skompilują na tym glibc i gcc
2006-05-26 01:01:56 NOX5TRON napisał:
> witam. posiadam fedora core 5, i karte sieciwą RaLink rt2400. według opisu na stronie
>
http://www.madbit.com.pl/~roberts/rt2400/rt2400.html próbowałem zainstalowac jak tam pisze, ale
> kidy tylko wydam komende make pojawia mi sie multum błedów. ndiwrapper takze nie dziala. nie mam
> pojecia czemu tak sie dzieje, bo jestem dosyc poczatkujacy w linuxie. prosze opomoc, a tutaj
> lista błedów, jakie poajawiaja sie jednoczesnie w konsoli po wydaniu komendy MAKE:
>
>
> from rtmp_main.
> c:30:
> rtmp.h:46: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:292: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:302: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:316: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:332: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:353: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:360: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:366: error: expected specifier-qualifier-list before ‘u16’
> rtmp.h:374: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:382: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:390: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:421: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:626: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:648: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:657: error: expected specifier-qualifier-list before ‘u16’
> rtmp.h:675: error: expected specifier-qualifier-list before ‘u16’
> rtmp.h:686: error: expected specifier-qualifier-list before ‘u16’
> rtmp.h:694: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:704: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:715: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:731: error: expected specifier-qualifier-list before ‘u32’
> rtmp.h:750: error: expected specifier-qualifier-list before ‘u8’
> rtmp.h:848: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:853: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NICCheckForHang’
> rtmp.h:858: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:858: warning: its scope is only this definition or declaration, which is probably not
> what you want
> rtmp.h:864: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:868: warning: ‘struct pci_device_id’ declared inside parameter list
> rtmp.h:868: warning: ‘struct pci_dev’ declared inside parameter list
> rtmp.h:877: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:881: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:884: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:888: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:888: warning: ‘struct sk_buff’ declared inside parameter list
> rtmp.h:924: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘RTMPEqualMemory’
> rtmp.h:932: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:937: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:939: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:940: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘BtoH’
> rtmp.h:947: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:967: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:971: warning: ‘struct sk_buff’ declared inside parameter list
> rtmp.h:971: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:980: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:980: warning: ‘struct sk_buff’ declared inside parameter list
> rtmp.h:984: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:985: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:990: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:994: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:995: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:996: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:997: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:998: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:999: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1000: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1001: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1002: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1004: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘RTMPSearchTupleCache’
> rtmp.h:1021: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1035: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1036: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1037: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1038: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1042: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1043: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1044: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1046: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘RTMPDecryptData’
> rtmp.h:1053: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1057: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1058: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1060: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘ARCFOUR_BYTE’
> rtmp.h:1065: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1066: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1067: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1071: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1072: error: expected declaration specifiers or ‘...’ before
> ‘PUCHAR’
> rtmp.h:1073: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1075: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘RTMP_CALC_FCS32’
> rtmp.h:1094: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1098: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1102: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1109: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1227: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1229: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘RTMPCalcDuration’
> rtmp.h:1237: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1238: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1252: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘BssTableSearch’
> rtmp.h:1265: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1266: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1267: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1268: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1270: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1271: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1272: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1273: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1274: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1275: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1277: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘BssTableSetEntry’
> rtmp.h:1298: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1299: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1300: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1311: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MlmeEnqueue’
> rtmp.h:1318: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MlmeEnqueueForRecv’
> rtmp.h:1327: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MlmeDequeue’
> rtmp.h:1331: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MlmeQueueEmpty’
> rtmp.h:1334: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MlmeQueueFull’
> rtmp.h:1337: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MsgTypeSubst’
> rtmp.h:1345: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1346: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1348: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1349: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1353: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1354: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1450: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1451: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1452: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1453: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1521: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1522: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1523: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1524: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1624: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1631: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1632: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1643: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1649: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1650: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1651: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1657: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1658: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1659: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1665: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1671: error: expected declaration specifiers or ‘...’ before
> ‘u8’
> rtmp.h:1677: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1724: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MakeIbssBeacon’
> rtmp.h:1727: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘ScanReqParmSanity’
> rtmp.h:1736: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘BeaconAndProbeRspSanity’
> rtmp.h:1768: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MlmeAssocReqSanity’
> rtmp.h:1777: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘AuthReqParmSanity’
> rtmp.h:1785: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘StartParmSanity’
> rtmp.h:1792: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘PeerAuthSanity’
> rtmp.h:1802: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘PeerAssocParmSanity’
> rtmp.h:1813: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘PeerDisassocSanity’
> rtmp.h:1820: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘PeerDeauthSanity’
> rtmp.h:1827: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘PeerProbeReqSanity’
> rtmp.h:1837: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘GetTimBit’
> rtmp.h:1846: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘GetLegacy’
> rtmp.h:1850: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘MakeOutgoingFrame’
> rtmp.h:1856: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1858: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘RandomByte’
> rtmp.h:1875: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1879: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1883: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1887: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1891: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1910: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘FirstChannel’
> rtmp.h:1913: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NextChannel’
> rtmp.h:1920: warning: ‘struct net_device’ declared inside parameter list
> rtmp.h:1924: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1928: error: expected declaration specifiers or ‘...’ before
> ‘u32’
> rtmp.h:1930: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘ShiftInBits’
> rtmp.h:1935: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1936: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1947: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘RTMP_EEPROM_READ16’
> rtmp.h:1953: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1954: error: expected declaration specifiers or ‘...’ before
> ‘u16’
> rtmp.h:1956: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘ChannelSanity’
> In file included from rt_config.h:113,
> from rtmp_main.c:30:
> oid.h:63: error: expected specifier-qualifier-list before ‘u32’
> oid.h:74: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NDIS_802_11_TX_POWER_LEVEL’
> oid.h:82: error: expected specifier-qualifier-list before ‘u32’
> oid.h:89: error: expected specifier-qualifier-list before ‘u32’
> oid.h:97: error: expected specifier-qualifier-list before ‘u32’
> oid.h:112: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NDIS_802_11_KEY_INDEX’
> oid.h:115: error: expected specifier-qualifier-list before ‘u32’
> oid.h:135: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NDIS_802_11_RATES’
> oid.h:137: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NDIS_802_11_MAC_ADDRESS’
> oid.h:140: error: expected specifier-qualifier-list before ‘u32’
> oid.h:145: error: expected specifier-qualifier-list before ‘u32’
> oid.h:158: error: expected specifier-qualifier-list before ‘u32’
> oid.h:162: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NDIS_802_11_FRAGMENTATION_THRESHOLD’
> oid.h:164: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NDIS_802_11_RTS_THRESHOLD’
> oid.h:166: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’
> before ‘NDIS_802_11_ANTENNA’
> oid.h:227: error: expected specifier-qualifier-list before ‘u32’
> oid.h:235: error: expected specifier-qualifier-list before ‘u32’
> oid.h:241: error: expected specifier-qualifier-list before ‘u8’
> rtmp_main.c:49: warning: ‘struct pci_device_id’ declared inside parameter
> list
> rtmp_main.c:49: warning: ‘struct pci_dev’ declared inside parameter list
> rtmp_main.c: In function ‘RT2400_init_one’:
> rtmp_main.c:54: warning: implicit declaration of function
> ‘pci_enable_device’
> rtmp_main.c:60: warning: passing argument 1 of ‘RT2400_probe’ from
> incompatible pointer type
> rtmp_main.c:60: warning: passing argument 2 of ‘RT2400_probe’ from
> incompatible pointer type
> rtmp_main.c: At top level:
> rtmp_main.c:98: warning: ‘struct pci_device_id’ declared inside parameter
> list
> rtmp_main.c:98: warning: ‘struct pci_dev’ declared inside parameter list
> rtmp_main.c:99: error: conflicting types for ‘RT2400_probe’
> rtmp.h:868: error: previous declaration of ‘RT2400_probe’ was here
> rtmp_main.c: In function ‘RT2400_probe’:
> rtmp_main.c:103: error: dereferencing pointer to incomplete type
> rtmp_main.c:104: error: ‘u32’ undeclared (first use in this function)
> rtmp_main.c:104: error: (Each undeclared identifier is reported only once
> rtmp_main.c:104: error: for each function it appears in.)
> rtmp_main.c:104: error: expected ‘;’ before ‘csr_addr’
> rtmp_main.c:111: error: dereferencing pointer to incomplete type
> rtmp_main.c:116: warning: implicit declaration of function
> ‘alloc_etherdev’
> rtmp_main.c:116: warning: assignment makes pointer from integer without a cast
> rtmp_main.c:126: warning: implicit declaration of function
> ‘pci_request_regions’rtmp_main.c:130: error: dereferencing pointer to
> incomplete type
> rtmp_main.c:130: error: dereferencing pointer to incomplete type
> rtmp_main.c:133: error: ‘csr_addr’ undeclared (first use in this function)
> rtmp_main.c:133: error: expected ‘;’ before ‘ioremap’
> rtmp_main.c:142: error: dereferencing pointer to incomplete type
> rtmp_main.c:143: error: dereferencing pointer to incomplete type
> rtmp_main.c:145: error: ‘RTMP_ADAPTER’ has no member named
> ‘net_dev’
> rtmp_main.c:148: warning: implicit declaration of function
> ‘pci_set_master’
> rtmp_main.c:152: error: ‘CSR3_STRUC’ has no member named
> ‘word’
> rtmp_main.c:152: warning: implicit declaration of function ‘readl’
> rtmp_main.c:153: error: ‘CSR4_STRUC’ has no member named
> ‘word’
> rtmp_main.c:154: error: dereferencing pointer to incomplete type
> rtmp_main.c:154: error: ‘struct
’ has no member named
> ‘Byte0’
> rtmp_main.c:155: error: dereferencing pointer to incomplete type
> rtmp_main.c:155: error: ‘struct ’ has no member named
> ‘Byte1’
> rtmp_main.c:156: error: dereferencing pointer to incomplete type
> rtmp_main.c:156: error: ‘struct ’ has no member named
> ‘Byte2’
> rtmp_main.c:157: error: dereferencing pointer to incomplete type
> rtmp_main.c:157: error: ‘struct ’ has no member named
> ‘Byte3’
> rtmp_main.c:158: error: dereferencing pointer to incomplete type
> rtmp_main.c:158: error: ‘struct ’ has no member named
> ‘Byte4’
> rtmp_main.c:159: error: dereferencing pointer to incomplete type
> rtmp_main.c:159: error: ‘struct ’ has no member named
> ‘Byte5’
> rtmp_main.c:161: error: ‘RTMP_ADAPTER’ has no member named
> ‘chip_id’
> rtmp_main.c:162: error: ‘RTMP_ADAPTER’ has no member named
> ‘pPci_Dev’
> rtmp_main.c:165: error: dereferencing pointer to incomplete type
> rtmp_main.c:166: error: dereferencing pointer to incomplete type
> rtmp_main.c:167: error: dereferencing pointer to incomplete type
> rtmp_main.c:168: error: dereferencing pointer to incomplete type
> rtmp_main.c:171: error: dereferencing pointer to incomplete type
> rtmp_main.c:174: error: dereferencing pointer to incomplete type
> rtmp_main.c:175: error: dereferencing pointer to incomplete type
> rtmp_main.c:184: warning: implicit declaration of function ‘sprintf’
> rtmp_main.c:184: warning: incompatible implicit declaration of built-in function
> ‘sprintf’
> rtmp_main.c:186: error: ‘dev_base’ undeclared (first use in this function)
> rtmp_main.c:186: error: dereferencing pointer to incomplete type
> rtmp_main.c:188: warning: implicit declaration of function ‘strncmp’
> rtmp_main.c:188: error: dereferencing pointer to incomplete type
> rtmp_main.c:196: warning: incompatible implicit declaration of built-in function
> ‘sprintf’
> rtmp_main.c:196: error: dereferencing pointer to incomplete type
> rtmp_main.c:200: warning: implicit declaration of function
> ‘register_netdev’
> rtmp_main.c:208: warning: implicit declaration of function
> ‘pci_set_drvdata’
> rtmp_main.c:213: warning: implicit declaration of function ‘iounmap’
> rtmp_main.c:215: warning: implicit declaration of function
> ‘release_mem_region’
> rtmp_main.c:215: warning: implicit declaration of function
> ‘pci_resource_start’
> rtmp_main.c:215: warning: implicit declaration of function
> ‘pci_resource_len’
> rtmp_main.c:217: warning: implicit declaration of function
> ‘pci_release_regions’rtmp_main.c:219: warning: implicit declaration of
> function ‘kfree’
> rtmp_main.c: At top level:
> rtmp_main.c:226: warning: ‘struct net_device’ declared inside parameter
> list
> rtmp_main.c:227: error: conflicting types for ‘RT2400_open’
> rtmp.h:864: error: previous declaration of ‘RT2400_open’ was here
> rtmp_main.c: In function ‘RT2400_open’:
> rtmp_main.c:228: error: dereferencing pointer to incomplete type
> rtmp_main.c:243: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:248: warning: implicit declaration of function ‘request_irq’
> rtmp_main.c:248: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘pPci_Dev’
> rtmp_main.c:248: error: ‘SA_SHIRQ’ undeclared (first use in this function)
> rtmp_main.c:248: error: dereferencing pointer to incomplete type
> rtmp_main.c:251: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:275: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘MediaState’
> rtmp_main.c:276: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:286: warning: implicit declaration of function
> ‘netif_start_queue’
> rtmp_main.c:289: warning: implicit declaration of function ‘init_timer’
> rtmp_main.c:289: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c:290: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c:290: error: ‘jiffies’ undeclared (first use in this function)
> rtmp_main.c:290: error: ‘HZ’ undeclared (first use in this function)
> rtmp_main.c:291: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c:292: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c:293: warning: implicit declaration of function ‘add_timer’
> rtmp_main.c:293: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c:295: warning: implicit declaration of function
> ‘netif_carrier_on’
> rtmp_main.c:298: warning: implicit declaration of function ‘writel’
> rtmp_main.c: In function ‘RT2400_timer’:
> rtmp_main.c:308: error: dereferencing pointer to incomplete type
> rtmp_main.c:312: error: ‘RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c:312: error: ‘jiffies’ undeclared (first use in this function)
> rtmp_main.c:312: error: ‘HZ’ undeclared (first use in this function)
> rtmp_main.c:313: error: ‘RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c: At top level:
> rtmp_main.c:334: warning: ‘struct net_device’ declared inside parameter
> list
> rtmp_main.c:334: warning: ‘struct sk_buff’ declared inside parameter list
> rtmp_main.c:335: error: conflicting types for ‘RTMPSendPackets’
> rtmp.h:888: error: previous declaration of ‘RTMPSendPackets’ was here
> rtmp_main.c: In function ‘RTMPSendPackets’:
> rtmp_main.c:336: error: dereferencing pointer to incomplete type
> rtmp_main.c:339: error: ‘RTMP_ADAPTER’ has no member named
> ‘PortCfg’
> rtmp_main.c:339: error: ‘RTMP_ADAPTER’ has no member named
> ‘PortCfg’
> rtmp_main.c:344: warning: implicit declaration of function
> ‘dev_kfree_skb_irq’
> rtmp_main.c:348: error: dereferencing pointer to incomplete type
> rtmp_main.c:352: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:355: error: dereferencing pointer to incomplete type
> rtmp_main.c:355: error: ‘jiffies’ undeclared (first use in this function)
> rtmp_main.c:356: warning: passing argument 1 of ‘RTMPSendPacket’ from
> incompatible pointer type
> rtmp_main.c:356: warning: passing argument 2 of ‘RTMPSendPacket’ from
> incompatible pointer type
> rtmp_main.c:371: error: ‘RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:372: error: ‘RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:373: error: ‘RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:375: error: ‘RTMP_ADAPTER’ has no member named
> ‘SendTxWaitQueue’
> rtmp_main.c: In function ‘RTMPIsr’:
> rtmp_main.c:407: error: dereferencing pointer to incomplete type
> rtmp_main.c:411: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:411: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:417: error: ‘INTSRC_STRUC’ has no member named
> ‘word’
> rtmp_main.c:418: error: ‘INTSRC_STRUC’ has no member named
> ‘word’
> rtmp_main.c:428: error: ‘struct ’ has no member named
> ‘TbcnExpire’
> rtmp_main.c:434: error: ‘struct ’ has no member named
> ‘TwakeExpire’
> rtmp_main.c:440: error: ‘struct ’ has no member named
> ‘TatimwExpire’
> rtmp_main.c:446: error: ‘struct ’ has no member named
> ‘TxRingTxDone’
> rtmp_main.c:452: error: ‘struct ’ has no member named
> ‘AtimRingTxDone’
> rtmp_main.c:458: error: ‘struct ’ has no member named
> ‘PrioRingTxDone’
> rtmp_main.c:464: error: ‘struct ’ has no member named
> ‘RxDone’
> rtmp_main.c:467: warning: passing argument 1 of ‘RTMPHandleRxDoneInterrupt’
> from incompatible pointer type
> rtmp_main.c:471: error: ‘struct _RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c: At top level:
> rtmp_main.c:499: warning: ‘struct net_device’ declared inside parameter
> list
> rtmp_main.c:500: error: conflicting types for ‘RT2400_get_wireless_stats’
> rtmp.h:877: error: previous declaration of ‘RT2400_get_wireless_stats’ was
> here
> rtmp_main.c: In function ‘RT2400_get_wireless_stats’:
> rtmp_main.c:501: error: dereferencing pointer to incomplete type
> rtmp_main.c:507: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c:509: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c:509: error: ‘RTMP_ADAPTER’ has no member named
> ‘Mlme’
> rtmp_main.c:510: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c:510: error: ‘RTMP_ADAPTER’ has no member named
> ‘PortCfg’
> rtmp_main.c:512: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c:513: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c:515: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c:516: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c:520: error: ‘RTMP_ADAPTER’ has no member named
> ‘iw_stats’
> rtmp_main.c: At top level:
> rtmp_main.c:542: warning: ‘struct net_device’ declared inside parameter
> list
> rtmp_main.c:543: error: conflicting types for ‘RT2400_get_ether_stats’
> rtmp.h:881: error: previous declaration of ‘RT2400_get_ether_stats’ was
> here
> rtmp_main.c: In function ‘RT2400_get_ether_stats’:
> rtmp_main.c:544: error: dereferencing pointer to incomplete type
> rtmp_main.c:548: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:548: error: ‘RTMP_ADAPTER’ has no member named
> ‘WlanCounters’
> rtmp_main.c:549: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:549: error: ‘RTMP_ADAPTER’ has no member named
> ‘WlanCounters’
> rtmp_main.c:551: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:551: error: ‘RTMP_ADAPTER’ has no member named
> ‘RalinkCounters’
> rtmp_main.c:552: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:552: error: ‘RTMP_ADAPTER’ has no member named
> ‘RalinkCounters’
> rtmp_main.c:554: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:554: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:555: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:555: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:557: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:557: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:558: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:558: error: ‘RTMP_ADAPTER’ has no member named
> ‘WlanCounters’
> rtmp_main.c:560: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:560: error: ‘RTMP_ADAPTER’ has no member named
> ‘WlanCounters’
> rtmp_main.c:561: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:561: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:561: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:563: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:564: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:564: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:565: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:566: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:566: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:567: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:567: error: ‘RTMP_ADAPTER’ has no member named
> ‘Counters’
> rtmp_main.c:568: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:571: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:572: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:573: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:574: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:575: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:578: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:579: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c:581: error: ‘RTMP_ADAPTER’ has no member named
> ‘stats’
> rtmp_main.c: At top level:
> rtmp_main.c:602: warning: ‘struct net_device’ declared inside parameter
> list
> rtmp_main.c:603: error: conflicting types for ‘RT2400_set_rx_mode’
> rtmp.h:884: error: previous declaration of ‘RT2400_set_rx_mode’ was here
> rtmp_main.c: In function ‘RT2400_set_rx_mode’:
> rtmp_main.c:604: error: dereferencing pointer to incomplete type
> rtmp_main.c: At top level:
> rtmp_main.c:612: warning: ‘struct net_device’ declared inside parameter
> list
> rtmp_main.c:613: error: conflicting types for ‘RT2400_close’
> rtmp.h:858: error: previous declaration of ‘RT2400_close’ was here
> rtmp_main.c: In function ‘RT2400_close’:
> rtmp_main.c:614: error: dereferencing pointer to incomplete type
> rtmp_main.c:615: error: dereferencing pointer to incomplete type
> rtmp_main.c:620: error: ‘RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:627: warning: implicit declaration of function
> ‘del_timer_sync’
> rtmp_main.c:627: error: ‘RTMP_ADAPTER’ has no member named
> ‘PortCfg’
> rtmp_main.c:629: warning: implicit declaration of function
> ‘netif_stop_queue’
> rtmp_main.c:630: warning: implicit declaration of function
> ‘netif_carrier_off’
> rtmp_main.c:633: error: ‘RTMP_ADAPTER’ has no member named
> ‘timer’
> rtmp_main.c:639: error: ‘RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c:642: warning: implicit declaration of function ‘free_irq’
> rtmp_main.c:642: error: dereferencing pointer to incomplete type
> rtmp_main.c:643: error: ‘RTMP_ADAPTER’ has no member named
> ‘Flags’
> rtmp_main.c: At top level:
> rtmp_main.c:656: warning: ‘struct pci_dev’ declared inside parameter list
> rtmp_main.c: In function ‘RT2400_remove_one’:
> rtmp_main.c:658: warning: implicit declaration of function
> ‘pci_get_drvdata’
> rtmp_main.c:658: warning: initialization makes pointer from integer without a cast
> rtmp_main.c:659: error: dereferencing pointer to incomplete type
> rtmp_main.c:662: warning: implicit declaration of function
> ‘unregister_netdev’
> rtmp_main.c:665: error: dereferencing pointer to incomplete type
> rtmp_main.c: At top level:
> rtmp_main.c:677: error: array type has incomplete element type
> rtmp_main.c:679: error: ‘PCI_ANY_ID’ undeclared here (not in a function)
> rtmp_main.c:682: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct pci_device_id’
> rtmp_main.c:687: error: variable ‘rt2400_driver’ has initializer but
> incomplete type
> rtmp_main.c:689: error: unknown field ‘name’ specified in initializer
> rtmp_main.c:689: warning: excess elements in struct initializer
> rtmp_main.c:689: warning: (near initialization for ‘rt2400_driver’)
> rtmp_main.c:690: error: unknown field ‘id_table’ specified in initializer
> rtmp_main.c:690: warning: excess elements in struct initializer
> rtmp_main.c:690: warning: (near initialization for ‘rt2400_driver’)
> rtmp_main.c:691: error: unknown field ‘probe’ specified in initializer
> rtmp_main.c:691: warning: excess elements in struct initializer
> rtmp_main.c:691: warning: (near initialization for ‘rt2400_driver’)
> rtmp_main.c:693: error: unknown field ‘remove’ specified in initializer
> rtmp_main.c:693: warning: implicit declaration of function ‘__devexit_p’
> rtmp_main.c:693: warning: excess elements in struct initializer
> rtmp_main.c:693: warning: (near initialization for ‘rt2400_driver’)
> rtmp_main.c: In function ‘rt2400_init_module’:
> rtmp_main.c:708: warning: implicit declaration of function
> ‘pci_module_init’
> rtmp_main.c: In function ‘rt2400_cleanup_module’:
> rtmp_main.c:716: warning: implicit declaration of function
> ‘pci_unregister_driver’
> rtmp_main.c: In function ‘RT2400_get_ether_stats’:
> rtmp_main.c:582: warning: control reaches end of non-void function
> rtmp_main.c: In function ‘RT2400_get_wireless_stats’:
> rtmp_main.c:521: warning: control reaches end of non-void function
> make: *** [rtmp_main.o] Błąd 1
> [root@localhost Module]#
>
>
>