Linux: Ubuntu 6.06
Ядро: 2.6.15
У меня установлены следующие пакеты:
Цитата:
linux-386 2.6.15.22
linux-image-2.6.15-23-386 2.6.15-23.39
linux-image-386 2.6.15.22
linux-source 2.6.15.22
linux-source-2.6.15 2.6.15-23.39
|
я распаковал архив /usr/src/linux-source-2.6.15.tar.bz2
написал в командной строке:
Цитата:
cd /usr/src/linux-source-2.6.15
sudo make clean
sudo make modules
|
при этом вышло следующее:
Цитата:
.............................................
LD [M] drivers/usb/net/rt2570/rt2570.o
CC [M] drivers/usb/net/zd1211/zd1205.o
In file included from drivers/usb/net/zd1211/zd1205.c:37:
drivers/usb/net/zd1211/zdinlinef.h: In function ‘Cfg_CtrlSetting’:
drivers/usb/net/zd1211/zdinlinef.h:307: warning: ‘LenInUs’ may be used uninitialized in this function
drivers/usb/net/zd1211/zdinlinef.h:308: warning: ‘NextLenInUs’ may be used uninitialized in this function
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_house_keeping’:
drivers/usb/net/zd1211/zd1205.c:790: warning: unused variable ‘tmpvalue’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_transmit_cleanup’:
drivers/usb/net/zd1211/zd1205.c:1109: warning: unused variable ‘i’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_tx_isr’:
drivers/usb/net/zd1211/zd1205.c:1139: warning: unused variable ‘next_sw_tcb’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_start_ru’:
drivers/usb/net/zd1211/zd1205.c:1739: warning: unused variable ‘loopCnt’
drivers/usb/net/zd1211/zd1205.c:1733: warning: unused variable ‘tmp_value’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_recycle_rx’:
drivers/usb/net/zd1211/zd1205.c:1770: warning: unused variable ‘buffer_found’
drivers/usb/net/zd1211/zd1205.c:1766: warning: unused variable ‘tmp_value’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_sleep_reset’:
drivers/usb/net/zd1211/zd1205.c:2883: warning: unused variable ‘flags’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_process_wakeup’:
drivers/usb/net/zd1211/zd1205.c:2996: warning: unused variable ‘tmpvalue’
drivers/usb/net/zd1211/zd1205.c:2995: warning: unused variable ‘TSFTimer’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_watchdog’:
drivers/usb/net/zd1211/zd1205.c:3177: warning: unused variable ‘tmpvalue’
drivers/usb/net/zd1211/zd1205.c:3174: warning: unused variable ‘diffTime’
drivers/usb/net/zd1211/zd1205.c:3173: warning: unused variable ‘i’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205wext_siwscan’:
drivers/usb/net/zd1211/zd1205.c:4021: warning: unused variable ‘macp’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_translate_scan’:
drivers/usb/net/zd1211/zd1205.c:4041: warning: unused variable ‘macp’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_load_card_setting’:
drivers/usb/net/zd1211/zd1205.c:4868: warning: unused variable ‘j’
drivers/usb/net/zd1211/zd1205.c:4861: warning: unused variable ‘stat’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_save_card_setting’:
drivers/usb/net/zd1211/zd1205.c:5015: warning: unused variable ‘i’
drivers/usb/net/zd1211/zd1205.c:5008: warning: unused variable ‘stat’
drivers/usb/net/zd1211/zd1205.c: In function ‘zd1205_clear_structs’:
drivers/usb/net/zd1211/zd1205.c:5127: warning: unused variable ‘macp’
drivers/usb/net/zd1211/zd1205.c: In function ‘zdcb_setup_next_send’:
drivers/usb/net/zd1211/zd1205.c:5161: warning: unused variable ‘loopCnt’
drivers/usb/net/zd1211/zd1205.c:5159: warning: unused variable ‘lock_flag’
drivers/usb/net/zd1211/zd1205.c:5150: warning: unused variable ‘tmp_value3’
drivers/usb/net/zd1211/zd1205.c:5150: warning: unused variable ‘tmp_value’
drivers/usb/net/zd1211/zd1205.c:5145: warning: unused variable ‘next_sw_tcb’
drivers/usb/net/zd1211/zdinlinef.h:307: warning: ‘LenInUs’ may be used uninitialized in this function
drivers/usb/net/zd1211/zdinlinef.h:308: warning: ‘NextLenInUs’ may be used uninitialized in this function
drivers/usb/net/zd1211/zd1205.c: At top level:
drivers/usb/net/zd1211/zd1205.c:3534: warning: ‘zd1205_ioctl_getsens’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3834: warning: ‘zd1205wext_giwname’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3850: warning: ‘zd1205wext_siwfreq’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3891: warning: ‘zd1205wext_siwrate’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3913: warning: ‘zd1205wext_siwrts’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3923: warning: ‘zd1205wext_siwfrag’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3928: warning: ‘zd1205wext_giwtxpow’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3933: warning: ‘zd1205wext_siwtxpow’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3938: warning: ‘zd1205wext_giwap’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3949: warning: ‘zd1205wext_siwencode’ defined but not used
drivers/usb/net/zd1211/zd1205.c:3954: warning: ‘zd1205wext_giwencode’ defined but not used
CC [M] drivers/usb/net/zd1211/zdasocsvc.o
drivers/usb/net/zd1211/zdasocsvc.c: In function ‘Re_Asociate’:
drivers/usb/net/zd1211/zdasocsvc.c:268: warning: label ‘wpa_check_ok’ defined but not used
CC [M] drivers/usb/net/zd1211/zdauthreq.o
CC [M] drivers/usb/net/zd1211/zdauthrsp.o
CC [M] drivers/usb/net/zd1211/zdmmrx.o
CC [M] drivers/usb/net/zd1211/zdshared.o
CC [M] drivers/usb/net/zd1211/zdhci.o
drivers/usb/net/zd1211/zdhci.c: In function ‘zd_ReceivePkt’:
drivers/usb/net/zd1211/zdhci.c:288: warning: unused variable ‘Type’
drivers/usb/net/zd1211/zdhci.c: In function ‘zd_ResetDevice’:
drivers/usb/net/zd1211/zdhci.c:886: warning: unused variable ‘i_state’
drivers/usb/net/zd1211/zdhci.c: In function ‘zd_SwitchNextCH’:
drivers/usb/net/zd1211/zdhci.c:1152: warning: unused variable ‘cap’
drivers/usb/net/zd1211/zdhci.c:1151: warning: unused variable ‘j’
drivers/usb/net/zd1211/zdhci.c:1151: warning: unused variable ‘i’
drivers/usb/net/zd1211/zdhci.c:1147: warning: unused variable ‘tmp’
drivers/usb/net/zd1211/zdhci.c:1146: warning: unused variable ‘i_state’
CC [M] drivers/usb/net/zd1211/zdglobal.o
CC [M] drivers/usb/net/zd1211/zdencrypt.o
CC [M] drivers/usb/net/zd1211/zdpmfilter.o
drivers/usb/net/zd1211/zdpmfilter.c: In function ‘TxSend’:
drivers/usb/net/zd1211/zdpmfilter.c:155: warning: unused variable ‘RC4Key’
drivers/usb/net/zd1211/zdpmfilter.c:149: warning: unused variable ‘icv’
CC [M] drivers/usb/net/zd1211/zdpsmon.o
drivers/usb/net/zd1211/zdpsmon.c: In function ‘RxInfoIndicate’:
drivers/usb/net/zd1211/zdpsmon.c:351: warning: ‘asoc’ may be used uninitialized in this function
drivers/usb/net/zd1211/zdpsmon.c:350: warning: ‘oldPsm’ may be used uninitialized in this function
drivers/usb/net/zd1211/zdpsmon.c: In function ‘zd_SetKeyInfo’:
drivers/usb/net/zd1211/zdpsmon.c:600: warning: unused variable ‘KeyRsc’
CC [M] drivers/usb/net/zd1211/zdsynch.o
drivers/usb/net/zd1211/zdsynch.c: In function ‘ProbeRsp_Beacon’:
drivers/usb/net/zd1211/zdsynch.c:210: warning: unused variable ‘pWPA’
CC [M] drivers/usb/net/zd1211/zdbuf.o
drivers/usb/net/zd1211/zdbuf.c: In function ‘initFdescBuf’:
drivers/usb/net/zd1211/zdbuf.c:129: warning: unused variable ‘pFrmDesc’
CC [M] drivers/usb/net/zd1211/zdhw.o
drivers/usb/net/zd1211/zdhw.c: In function ‘HW_Set_AL2230_RF_Chips’:
drivers/usb/net/zd1211/zdhw.c:630: warning: ‘tmpvalue’ is used uninitialized in this function
drivers/usb/net/zd1211/zdhw.c: In function ‘HW_GetNow’:
drivers/usb/net/zd1211/zdhw.c:1332: warning: unused variable ‘reg’
drivers/usb/net/zd1211/zdhw.c: In function ‘HW_RadioOnOff’:
drivers/usb/net/zd1211/zdhw.c:1372: warning: ‘tmpvalue’ is used uninitialized in this function
drivers/usb/net/zd1211/zdhw.c: In function ‘HW_OverWritePhyRegFromE2P’:
drivers/usb/net/zd1211/zdhw.c:1697: warning: unused variable ‘PhyValue’
drivers/usb/net/zd1211/zdhw.c:1696: warning: unused variable ‘PhyIdx’
drivers/usb/net/zd1211/zdhw.c:1695: warning: unused variable ‘i’
drivers/usb/net/zd1211/zdhw.c:1693: warning: unused variable ‘NumOfReg’
drivers/usb/net/zd1211/zdhw.c: In function ‘HW_UpdateIntegrationValue’:
drivers/usb/net/zd1211/zdhw.c:1748: warning: unused variable ‘reg’
CC [M] drivers/usb/net/zd1211/zddebug.o
drivers/usb/net/zd1211/zddebug.c: In function ‘zd1205_dump_regs’:
drivers/usb/net/zd1211/zddebug.c:57: warning: unused variable ‘flags’
CC [M] drivers/usb/net/zd1211/zdtkipseed.o
CC [M] drivers/usb/net/zd1211/zdmic.o
DEVLIST drivers/usb/net/zd1211/zddevlist.h
make[4]: *** [drivers/usb/net/zd1211/zddevlist.h] Error 1
make[3]: *** [drivers/usb/net/zd1211] Error 2
make[2]: *** [drivers/usb/net] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
|
как это исправить?
Вот дополнительная инфа о системе:
Цитата:
poma@vortex:/usr/src/linux-source-2.6.15$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: VIA Technologies, Inc. S3 Unichrome Pro VGA Adapter (rev 01)
|