Skocz do zawartości

Kompilacja Rt2500


Arial

Rekomendowane odpowiedzi

Witam

Otoz od pewnego czasu mecze sie z instalacja sterownikow do karty Ralink RT2500. Wykonuje wszsytko po kolei t.j:

[root@localhost Module]# ./Configure


-------------------- Ralink RT2500 Station Configuration --------------------

 Linux kernel source directory [/usr/src/linux-2.6.11-1.1369_FC4]: /lib/modules/2.6.11-1.1369_FC4

 Linux kernel source directory : /lib/modules/2.6.11-1.1369_FC4

sed: nie można odczytać /lib/modules/2.6.11-1.1369_FC4/Makefile: Nie ma takiego pliku ani katalogu
sed: nie można odczytać /lib/modules/2.6.11-1.1369_FC4/Makefile: Nie ma takiego pliku ani katalogu
sed: nie można odczytać /lib/modules/2.6.11-1.1369_FC4/Makefile: Nie ma takiego pliku ani katalogu
expr: błąd składni
./Configure: line 111: [: -lt: unary operator expected
 Module install directory : /lib/modules/2.6.11-1.1369_FC4/kernel/drivers/net

 

Alegdy wpisuje komende make wykakuja mi setki bledow:

 

tmp.h:834: warning: data definition has no type or storage class
rtmp.h:840: error: syntax error before ‘FRAME_CONTROL’
rtmp.h:840: warning: no semicolon at end of struct or union
rtmp.h:841: warning: type defaults to ‘int’ in declaration of ‘Duration’
rtmp.h:841: warning: data definition has no type or storage class
rtmp.h:844: error: syntax error before ‘}’ token
rtmp.h:844: warning: type defaults to ‘int’ in declaration of ‘CONTROL_HEADER’
rtmp.h:844: warning: type defaults to ‘int’ in declaration of ‘PCONTROL_HEADER’
rtmp.h:844: warning: data definition has no type or storage class
rtmp.h:850: error: syntax error before ‘CONTROL_HEADER’
rtmp.h:850: warning: no semicolon at end of struct or union
rtmp.h:853: error: syntax error before ‘Sequence’
rtmp.h:859: warning: type defaults to ‘int’ in declaration of ‘HEADER_802_11’
rtmp.h:859: warning: type defaults to ‘int’ in declaration of ‘PHEADER_802_11’
rtmp.h:859: warning: data definition has no type or storage class
rtmp.h:867: error: syntax error before ‘u16’
rtmp.h:867: warning: no semicolon at end of struct or union
rtmp.h:868: warning: type defaults to ‘int’ in declaration of ‘Frag’
rtmp.h:868: warning: data definition has no type or storage class
rtmp.h:869: warning: type defaults to ‘int’ in declaration of ‘TUPLE_CACHE’
rtmp.h:869: warning: type defaults to ‘int’ in declaration of ‘PTUPLE_CACHE’
rtmp.h:869: warning: data definition has no type or storage class
rtmp.h:878: error: syntax error before ‘u32’
rtmp.h:878: warning: no semicolon at end of struct or union
rtmp.h:879: warning: type defaults to ‘int’ in declaration of ‘Sequence’
rtmp.h:879: warning: data definition has no type or storage class
rtmp.h:880: error: syntax error before ‘LastFrag’
rtmp.h:880: warning: type defaults to ‘int’ in declaration of ‘LastFrag’
rtmp.h:880: warning: data definition has no type or storage class
rtmp.h:881: error: syntax error before ‘Flags’
rtmp.h:881: warning: type defaults to ‘int’ in declaration of ‘Flags’
rtmp.h:881: warning: data definition has no type or storage class
rtmp.h:882: warning: type defaults to ‘int’ in declaration of ‘FRAGMENT_FRAME’
rtmp.h:882: warning: type defaults to ‘int’ in declaration of ‘PFRAGMENT_FRAME’
rtmp.h:882: warning: data definition has no type or storage class
rtmp.h:888: error: syntax error before ‘u32’
rtmp.h:888: warning: no semicolon at end of struct or union
rtmp.h:889: warning: type defaults to ‘int’ in declaration of ‘IV16’
rtmp.h:889: warning: data definition has no type or storage class
rtmp.h:890: error: syntax error before ‘IV32’
rtmp.h:890: warning: type defaults to ‘int’ in declaration of ‘IV32’
rtmp.h:890: warning: data definition has no type or storage class
rtmp.h:891: error: syntax error before ‘K0’
rtmp.h:891: warning: type defaults to ‘int’ in declaration of ‘K0’
rtmp.h:891: warning: data definition has no type or storage class
rtmp.h:892: error: syntax error before ‘K1’
rtmp.h:892: warning: type defaults to ‘int’ in declaration of ‘K1’
rtmp.h:892: warning: data definition has no type or storage class
rtmp.h:893: error: syntax error before ‘L’
rtmp.h:893: warning: type defaults to ‘int’ in declaration of ‘L’
rtmp.h:893: warning: data definition has no type or storage class
rtmp.h:894: error: syntax error before ‘R’
rtmp.h:894: warning: type defaults to ‘int’ in declaration of ‘R’
rtmp.h:894: warning: data definition has no type or storage class
rtmp.h:895: error: syntax error before ‘M’
rtmp.h:895: warning: type defaults to ‘int’ in declaration of ‘M’
rtmp.h:895: warning: data definition has no type or storage class
rtmp.h:898: error: syntax error before ‘}’ token
rtmp.h:898: warning: type defaults to ‘int’ in declaration of ‘TKIP_KEY_INFO’
rtmp.h:898: warning: type defaults to ‘int’ in declaration of ‘PTKIP_KEY_INFO’
rtmp.h:898: warning: data definition has no type or storage class
rtmp.h:904: error: syntax error before ‘u32’
rtmp.h:904: warning: no semicolon at end of struct or union
rtmp.h:905: warning: type defaults to ‘int’ in declaration of ‘TxRingFullCnt’
rtmp.h:905: warning: data definition has no type or storage class
rtmp.h:906: error: syntax error before ‘ResetCountDown’
rtmp.h:906: warning: type defaults to ‘int’ in declaration of ‘ResetCountDown’
rtmp.h:906: warning: data definition has no type or storage class
rtmp.h:907: error: syntax error before ‘CCAErrCnt’
rtmp.h:907: warning: type defaults to ‘int’ in declaration of ‘CCAErrCnt’
rtmp.h:907: warning: data definition has no type or storage class
rtmp.h:908: error: syntax error before ‘PhyRxErrCnt’
rtmp.h:908: warning: type defaults to ‘int’ in declaration of ‘PhyRxErrCnt’
rtmp.h:908: warning: data definition has no type or storage class
rtmp.h:909: error: syntax error before ‘PhyTxErrCnt’
rtmp.h:909: warning: type defaults to ‘int’ in declaration of ‘PhyTxErrCnt’
rtmp.h:909: warning: data definition has no type or storage class
rtmp.h:911: error: syntax error before ‘FCSCRC32’
rtmp.h:911: warning: type defaults to ‘int’ in declaration of ‘FCSCRC32’
rtmp.h:911: warning: data definition has no type or storage class
rtmp.h:912: error: syntax error before ‘RxSetCnt’
rtmp.h:912: warning: type defaults to ‘int’ in declaration of ‘RxSetCnt’
rtmp.h:912: warning: data definition has no type or storage class
rtmp.h:913: error: syntax error before ‘DecryptCnt’
rtmp.h:913: warning: type defaults to ‘int’ in declaration of ‘DecryptCnt’
rtmp.h:913: warning: data definition has no type or storage class
rtmp.h:914: error: syntax error before ‘WEPCONTEXT’
rtmp.h:914: warning: type defaults to ‘int’ in declaration of ‘WEPCONTEXT’
rtmp.h:914: warning: data definition has no type or storage class
rtmp.h:916: error: syntax error before ‘Tx’
rtmp.h:916: warning: type defaults to ‘int’ in declaration of ‘Tx’
rtmp.h:916: warning: data definition has no type or storage class
rtmp.h:917: error: syntax error before ‘Rx’
rtmp.h:917: warning: type defaults to ‘int’ in declaration of ‘Rx’
rtmp.h:917: warning: data definition has no type or storage class
rtmp.h:918: warning: type defaults to ‘int’ in declaration of ‘PRIVATE_STRUC’
rtmp.h:918: warning: type defaults to ‘int’ in declaration of ‘PPRIVATE_STRUC’
rtmp.h:918: warning: data definition has no type or storage class
rtmp.h:925: error: syntax error before ‘u32’
rtmp.h:925: warning: no semicolon at end of struct or union
rtmp.h:927: error: syntax error before ‘pa_addr’
rtmp.h:927: warning: type defaults to ‘int’ in declaration of ‘pa_addr’
rtmp.h:927: warning: data definition has no type or storage class
rtmp.h:929: error: syntax error before ‘data_size’
rtmp.h:929: warning: type defaults to ‘int’ in declaration of ‘data_size’
rtmp.h:929: warning: data definition has no type or storage class
rtmp.h:931: error: syntax error before ‘pa_data_addr’
rtmp.h:931: warning: type defaults to ‘int’ in declaration of ‘pa_data_addr’
rtmp.h:931: warning: data definition has no type or storage class
rtmp.h:933: error: syntax error before ‘}’ token
rtmp.h:965: error: syntax error before ‘u16’
rtmp.h:965: warning: no semicolon at end of struct or union
rtmp.h:968: error: array type has incomplete element type
rtmp.h:969: error: array type has incomplete element type
rtmp.h:970: error: array type has incomplete element type
rtmp.h:971: error: array type has incomplete element type
rtmp.h:974: error: syntax error before ‘MgmtRing’
rtmp.h:974: warning: type defaults to ‘int’ in declaration of ‘MgmtRing’
rtmp.h:974: warning: data definition has no type or storage class
rtmp.h:976: error: syntax error before ‘CurRxIndex’
rtmp.h:976: warning: type defaults to ‘int’ in declaration of ‘CurRxIndex’
rtmp.h:976: warning: data definition has no type or storage class
rtmp.h:977: error: syntax error before ‘CurDecryptIndex’
rtmp.h:977: warning: type defaults to ‘int’ in declaration of ‘CurDecryptIndex’
rtmp.h:977: warning: data definition has no type or storage class
rtmp.h:978: error: syntax error before ‘CurTxIndex’
rtmp.h:978: warning: type defaults to ‘int’ in declaration of ‘CurTxIndex’
rtmp.h:978: warning: data definition has no type or storage class
rtmp.h:979: error: syntax error before ‘CurEncryptIndex’
rtmp.h:979: warning: type defaults to ‘int’ in declaration of ‘CurEncryptIndex’
rtmp.h:979: warning: data definition has no type or storage class
rtmp.h:980: error: syntax error before ‘CurAtimIndex’
rtmp.h:980: warning: type defaults to ‘int’ in declaration of ‘CurAtimIndex’
rtmp.h:980: warning: data definition has no type or storage class
rtmp.h:981: error: syntax error before ‘CurPrioIndex’
rtmp.h:981: warning: type defaults to ‘int’ in declaration of ‘CurPrioIndex’
rtmp.h:981: warning: data definition has no type or storage class
rtmp.h:982: error: syntax error before ‘PushMgmtIndex’
rtmp.h:982: warning: type defaults to ‘int’ in declaration of ‘PushMgmtIndex’
rtmp.h:982: warning: data definition has no type or storage class
rtmp.h:983: error: syntax error before ‘PopMgmtIndex’
rtmp.h:983: warning: type defaults to ‘int’ in declaration of ‘PopMgmtIndex’
rtmp.h:983: warning: data definition has no type or storage class
rtmp.h:984: error: syntax error before ‘MgmtQueueSize’
rtmp.h:984: warning: type defaults to ‘int’ in declaration of ‘MgmtQueueSize’
rtmp.h:984: warning: data definition has no type or storage class
rtmp.h:985: error: syntax error before ‘NextEncryptDoneIndex’
rtmp.h:985: warning: type defaults to ‘int’ in declaration of ‘NextEncryptDoneIndex’
rtmp.h:985: warning: data definition has no type or storage class
rtmp.h:986: error: syntax error before ‘NextTxDoneIndex’
rtmp.h:986: warning: type defaults to ‘int’ in declaration of ‘NextTxDoneIndex’
rtmp.h:986: warning: data definition has no type or storage class
rtmp.h:987: error: syntax error before ‘NextAtimDoneIndex’
rtmp.h:987: warning: type defaults to ‘int’ in declaration of ‘NextAtimDoneIndex’
rtmp.h:987: warning: data definition has no type or storage class
rtmp.h:988: error: syntax error before ‘NextPrioDoneIndex’
rtmp.h:988: warning: type defaults to ‘int’ in declaration of ‘NextPrioDoneIndex’
rtmp.h:988: warning: data definition has no type or storage class
rtmp.h:989: error: syntax error before ‘NextDecryptDoneIndex’
rtmp.h:989: warning: type defaults to ‘int’ in declaration of ‘NextDecryptDoneIndex’
rtmp.h:989: warning: data definition has no type or storage class
rtmp.h:992: error: syntax error before ‘NumberOfMcAddresses’
rtmp.h:992: warning: type defaults to ‘int’ in declaration of ‘NumberOfMcAddresses’
rtmp.h:992: warning: data definition has no type or storage class
rtmp.h:995: error: syntax error before ‘Flags’
rtmp.h:995: warning: type defaults to ‘int’ in declaration of ‘Flags’
rtmp.h:995: warning: data definition has no type or storage class
rtmp.h:999: error: syntax error before ‘TxSwQueue0’
rtmp.h:999: warning: type defaults to ‘int’ in declaration of ‘TxSwQueue0’
rtmp.h:999: warning: data definition has no type or storage class
rtmp.h:1000: error: syntax error before ‘TxSwQueue1’
rtmp.h:1000: warning: type defaults to ‘int’ in declaration of ‘TxSwQueue1’
rtmp.h:1000: warning: data definition has no type or storage class
rtmp.h:1001: error: syntax error before ‘TxSwQueue2’
rtmp.h:1001: warning: type defaults to ‘int’ in declaration of ‘TxSwQueue2’
rtmp.h:1001: warning: data definition has no type or storage class
rtmp.h:1002: error: syntax error before ‘TxSwQueue3’
rtmp.h:1002: warning: type defaults to ‘int’ in declaration of ‘TxSwQueue3’
rtmp.h:1002: warning: data definition has no type or storage class
rtmp.h:1004: error: syntax error before ‘Sequence’
rtmp.h:1004: warning: type defaults to ‘int’ in declaration of ‘Sequence’
rtmp.h:1004: warning: data definition has no type or storage class
rtmp.h:1006: error: syntax error before ‘TupleCache’
rtmp.h:1006: warning: type defaults to ‘int’ in declaration of ‘TupleCache’
rtmp.h:1006: warning: data definition has no type or storage class
rtmp.h:1008: error: syntax error before ‘FragFrame’
rtmp.h:1008: warning: type defaults to ‘int’ in declaration of ‘FragFrame’
rtmp.h:1008: warning: data definition has no type or storage class
rtmp.h:1011: error: syntax error before ‘pRxData’
rtmp.h:1011: warning: type defaults to ‘int’ in declaration of ‘pRxData’
rtmp.h:1011: warning: data definition has no type or storage class
rtmp.h:1015: error: syntax error before ‘Counters’
rtmp.h:1015: warning: type defaults to ‘int’ in declaration of ‘Counters’
rtmp.h:1015: warning: data definition has no type or storage class
rtmp.h:1016: error: syntax error before ‘WlanCounters’
rtmp.h:1016: warning: type defaults to ‘int’ in declaration of ‘WlanCounters’
rtmp.h:1016: warning: data definition has no type or storage class
rtmp.h:1017: error: syntax error before ‘RalinkCounters’
rtmp.h:1017: warning: type defaults to ‘int’ in declaration of ‘RalinkCounters’
rtmp.h:1017: warning: data definition has no type or storage class
rtmp.h:1018: error: syntax error before ‘DrsCounters’
rtmp.h:1018: warning: type defaults to ‘int’ in declaration of ‘DrsCounters’
rtmp.h:1018: warning: data definition has no type or storage class
rtmp.h:1022: error: syntax error before ‘PrivateInfo’
rtmp.h:1022: warning: type defaults to ‘int’ in declaration of ‘PrivateInfo’
rtmp.h:1022: warning: data definition has no type or storage class
rtmp.h:1025: error: syntax error before ‘TxRingLock’
rtmp.h:1025: warning: type defaults to ‘int’ in declaration of ‘TxRingLock’
rtmp.h:1025: warning: data definition has no type or storage class
rtmp.h:1026: error: syntax error before ‘PrioRingLock’
rtmp.h:1026: warning: type defaults to ‘int’ in declaration of ‘PrioRingLock’
rtmp.h:1026: warning: data definition has no type or storage class
rtmp.h:1027: error: syntax error before ‘AtimRingLock’
rtmp.h:1027: warning: type defaults to ‘int’ in declaration of ‘AtimRingLock’
rtmp.h:1027: warning: data definition has no type or storage class
rtmp.h:1028: error: syntax error before ‘RxRingLock’
rtmp.h:1028: warning: type defaults to ‘int’ in declaration of ‘RxRingLock’
rtmp.h:1028: warning: data definition has no type or storage class
rtmp.h:1029: error: syntax error before ‘TxSwQueueLock’
rtmp.h:1029: warning: type defaults to ‘int’ in declaration of ‘TxSwQueueLock’
rtmp.h:1029: warning: data definition has no type or storage class
rtmp.h:1030: error: syntax error before ‘MemLock’
rtmp.h:1030: warning: type defaults to ‘int’ in declaration of ‘MemLock’
rtmp.h:1030: warning: data definition has no type or storage class
rtmp.h:1043: error: syntax error before ‘LinkDownTime’
rtmp.h:1043: warning: type defaults to ‘int’ in declaration of ‘LinkDownTime’
rtmp.h:1043: warning: data definition has no type or storage class
rtmp.h:1044: error: syntax error before ‘LastRxRate’
rtmp.h:1044: warning: type defaults to ‘int’ in declaration of ‘LastRxRate’
rtmp.h:1044: warning: data definition has no type or storage class
rtmp.h:1050: error: syntax error before ‘PortCfg’
rtmp.h:1050: warning: type defaults to ‘int’ in declaration of ‘PortCfg’
rtmp.h:1050: warning: data definition has no type or storage class
rtmp.h:1051: error: syntax error before ‘Mlme’
rtmp.h:1051: warning: type defaults to ‘int’ in declaration of ‘Mlme’
rtmp.h:1051: warning: data definition has no type or storage class
rtmp.h:1056: error: syntax error before ‘timer’
rtmp.h:1056: warning: type defaults to ‘int’ in declaration of ‘timer’
rtmp.h:1056: warning: data definition has no type or storage class
rtmp.h:1069: error: syntax error before ‘}’ token
rtmp.h:1069: warning: type defaults to ‘int’ in declaration of ‘RTMP_ADAPTER’

 

podobnie jest przy make install

Odnośnik do komentarza
Udostępnij na innych stronach

Sam miałem ten problem. Na początek musisz ściągnąć drivery z cvs. Nawet wersja beta jest za stara dla fc4. Polecenia do cvs możesz znaleźć na stronce sourceforge (btw używaj zawsze drivetów z sf.net, bo te od producenta są do bani). Następnie odpalasz

make debug

make install

Powinno się zainstalować bez problemu. Później musisz wyedytować plik /etc/sysconfig/hwconf w sekcji NETWORK zamienić eth0 na ra0. Następnie uruchom kudzu (polecenie kudzu) i ustaw ip, maskę etc. Na koniec wejdź do katalogu /etc/sysconfig/network-script zamień plik ifcfg-eth0 na ifcfg-ra0. Wyedytuj go i zamień eth0 na ra0. W końcu odpal narzędzie system-config-network (polecenie system-config-network) i ustaw pozostałe adresy DNS nazwę komputera etc. Może się okazać że będziesz ręcznie musiał włączyć aktywacje sieci przy starcie i ustawić odpowiedni kanał (ja tak miałem, ale mój kumpel już nie). Na koniec aktywuj sieć. U mnie działa. :););););)

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...