ドライバのコンパイル(3)

SheevaPlug

カーネルソースも準備したし、
カーネルのコンフィギュレーションもしたし、
今度こそ。
root@debian:~/kernel/source/linux-2.6.33.2# cd ../../../DPO_RT3070_LinuxSTA_V2.3.0.2_20100412
root@debian:~/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412# make
make -C tools
make[1]: Entering directory `/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools'
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/tools/bin2h
cp -f os/linux/Makefile.6 /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/Makefile
make -C /root/kernel/source/linux-2.6.33.2 SUBDIRS=/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux modules
make[1]: Entering directory `/root/kernel/source/linux-2.6.33.2'

  WARNING: Symbol version dump /root/kernel/source/linux-2.6.33.2/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_md5.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_sha2.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_hmac.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_aes.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/crypt_arc4.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/mlme.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_wep.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/action.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_data.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.o
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.c: In function 'NICInitAsicFromEEPROM':
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init.c:2488: warning: unused variable 'RFValue'
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_tkip.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_aes.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_sync.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/eeprom.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_sanity.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_info.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_cfg.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_wpa.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/dfs.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/spectrum.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_timer.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rt_channel.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_profile.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_asic.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/cmm_cmd.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.o
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c: In function 'MlmeAssocReqAction':
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c:377: warning: unused variable 'pInfo'
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/assoc.c:374: warning: unused variable 'infoPos'
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/auth.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/auth_rsp.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sync.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sanity.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/rtmp_data.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/connect.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/wpa.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../sta/sta_cfg.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/rt_profile.o
  CC [M]  /root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.o
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2988: error: unknown field 'private' specified in initializer
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2988: warning: initialization from incompatible pointer type
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2989: error: unknown field 'num_private' specified in initializer
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2989: warning: excess elements in struct initializer
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2989: warning: (near initialization for 'rt28xx_iw_handler_def')
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2990: error: unknown field 'private_args' specified in initializer
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2990: warning: excess elements in struct initializer
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2990: warning: (near initialization for 'rt28xx_iw_handler_def')
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2991: error: unknown field 'num_private_args' specified in initializer
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2991: warning: excess elements in struct initializer
/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.c:2991: warning: (near initialization for 'rt28xx_iw_handler_def')
make[2]: *** [/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux/../../os/linux/sta_ioctl.o] Error 1
make[1]: *** [_module_/root/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412/os/linux] Error 2
make[1]: Leaving directory `/root/kernel/source/linux-2.6.33.2'
make: *** [LINUX] Error 2
root@debian:~/DPO_RT3070_LinuxSTA_V2.3.0.2_20100412#
だいぶん進んだけど。。。

海外のサイトには、
we have to wait for a new driver version from Ralink.
(直訳:Ralink から新しいバージョンのドライバが出るのを待たなければならない)
なんて書いてあるところもあるし、、、




←(前のページ)
カーネルのコンフィギュレーション
当月のハックの記録
SheevaPlug/玄柴(KURO-SHEEVA)をハックしよう トップ
(次のページ)→
玄柴第三ロット 抽選販売

Copyright (C) 2003-2010 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市