お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2014-05-28 23:16:09

Fenrir0235
新しいメンバ
登録日: 2014-05-28

プラネックス無線Lan子機 GW-450Dのドライバのmakeに失敗してしまいます。

当方、WindowsXPサポート終了に伴い、Lubuntuを使用しております。
表題の無線Lan子機を使用できないかと思い、

http://paritparit.blogspot.jp/2013/08/planex-gw-450dlinux.html

こちらのサイトの手順に従い、所定のファイルに当該製品のIDを追記し、ドライバーのmakeを試みましたが

make[2]: *** [/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.o] エラー 1
make[1]: *** [_module_/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] エラー 2
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-27-generic' から出ます
make: *** [LINUX] エラー 2

と、エラーになってしまい、肝心の「 mt7650u_sta.ko」がディレクトリ「os/linux」に作られずに困っています。

※ちなみに、念の為、同製品のプラネックス公式のlinuxドライバを落として同じ手順でやってみましたが、やはりmake途中でコケてしまい、途方に暮れているところです。

恥ずかしながら私は、makeコマンドを扱うこと自体が初心者でありますので、ご親切に回答いただければ幸いです。
エラーの対処法すらもわからずに困っています。

オフライン

 

#2 2014-05-28 23:25:30

Fenrir0235
新しいメンバ
登録日: 2014-05-28

Re: プラネックス無線Lan子機 GW-450Dのドライバのmakeに失敗してしまいます。

【追記】
以下は端末のmakeログ全文です。(なお、環境はLubuntu 14.04です)

testpc@testpc-virtual-machine:~/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916
$ make all
make -C tools
make[1]: ディレクトリ `/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/tools' に入ります
gcc -g bin2h.c -o bin2h
make[1]: ディレクトリ `/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/tools' から出ます
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/3.13.0-27-generic/build SUBDIRS=/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-27-generic' に入ります
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
                ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/assoc.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sync.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sanity.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/connect.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/wpa.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_vht.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/vht.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_md5.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_aes.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/mlme.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wep.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/action.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_data.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘UCHAR *’ [-Wformat=]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘UCHAR *’ [-Wformat=]
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘UCHAR *’ [-Wformat=]
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘UCHAR *’ [-Wformat=]
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘UCHAR *’ [-Wformat=]
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘UCHAR *’ [-Wformat=]
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘UCHAR *’ [-Wformat=]
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘UCHAR *’ [-Wformat=]
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
  USHORT i;
         ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
In file included from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
                 from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
                 from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:28:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:27: warning: array subscript is above array bounds [-Warray-bounds]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                           ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:27: warning: array subscript is above array bounds [-Warray-bounds]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                           ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:27: warning: array subscript is above array bounds [-Warray-bounds]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                           ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:27: warning: array subscript is above array bounds [-Warray-bounds]
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
                           ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d %d %d, step=%d, tuning=%d\n",
   ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_aes.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sync.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/eeprom.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:1084:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  DBGPRINT_S(RT_DEBUG_TRACE, ("Set RTDebugFunc = 0x%x\n", RTDebugFunc));
  ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_info.c:5960:3: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR *’ [-Wformat=]
   rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
   ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
                         VOID **ppINTF = (VOID **)pData;
                                ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_radar.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/spectrum.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_channel.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_profile.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c:330:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  UCHAR i, PhyMode = 0x4000;
  ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_asic.c:384:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
  PhyMode = 0x2000; /* Bit 15:13, 0:Legacy CCK, 1: Legacy OFDM, 2: HT mix mode, 3: HT green field, 4: VHT mode, 5-7: Reserved */
  ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/scan.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/uapsd.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ps.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.c: In function ‘RtmpChipOpsHook’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../chips/rtmp_chip.c:910:30: warning: assignment from incompatible pointer type [enabled by default]
  pChipOps->ChipSwitchChannel = Default_ChipSwitchChannel;
                              ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.c: In function ‘AsicGetAutoAgcOffsetForExternalTxAlc’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.c:164:23: warning: assignment from incompatible pointer type [enabled by default]
    pTssiMinusBoundary = &pAd->TssiMinusBoundaryA[0];
                       ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/txpower.c:165:22: warning: assignment from incompatible pointer type [enabled by default]
    pTssiPlusBoundary = &pAd->TssiPlusBoundaryA[0];
                      ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mac/rtmp_mac.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_hw.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_entrytb.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rtmp_phy.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_get_temp’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:68:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val;
         ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: In function ‘rtmp_bbp_tx_comp_init’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:83:8: warning: unused variable ‘rf_val’ [-Wunused-variable]
  UCHAR rf_val;
        ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:82:9: warning: unused variable ‘bbp_val’ [-Wunused-variable]
  UINT32 bbp_val;
         ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c: At top level:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_phy.c:153:14: warning: ‘vht_prim_ch_val’ defined but not used [-Wunused-variable]
static UCHAR vht_prim_ch_val[] = {
              ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../phy/rlt_rf.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../rate_ctrl/alg_grp.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/ba_action.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../mgmt/mgmt_ht.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../common/rt_os_util.o
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.o
In file included from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string.h:2:0,
                 from include/linux/string.h:17,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/page_32.h:38,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/page.h:13,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/thread_info.h:11,
                 from include/linux/thread_info.h:54,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:18,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:31,
                 from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44,
                 from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
                 from /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:30:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
/usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string_32.h:182:41: warning: array subscript is below array bounds [-Warray-bounds]
#define memcpy(t, f, n) __builtin_memcpy(t, f, n)
                                         ^
include/net/iw_handler.h:542:3: note: in expansion of macro ‘memcpy’
   memcpy(stream + point_len, extra, iwe->u.data.length);
   ^
  CC [M]  /home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.o
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:176:8: warning: unused variable ‘i’ [-Wunused-variable]
  ULONG i;
        ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:1109:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
   pOSFSInfo->fsuid = current_fsuid();
                    ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:1110:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
   pOSFSInfo->fsgid = current_fsgid();
                    ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2032:4: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [enabled by default]
    file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
    ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2032:4: note: expected ‘const char *’ but argument is of type ‘UINT32 *’
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2017:22: warning: unused variable ‘macValue’ [-Wunused-variable]
  UINT32 macAddr = 0, macValue = 0;
                      ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2017:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
  UINT32 macAddr = 0, macValue = 0;
         ^
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.c:2153:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  struct net_device *net_dev = (struct net_device *)pNetDev;
                     ^
make[2]: *** [/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_linux.o] エラー 1
make[1]: *** [_module_/home/testpc/デスクトップ/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] エラー 2
make[1]: ディレクトリ `/usr/src/linux-headers-3.13.0-27-generic' から出ます
make: *** [LINUX] エラー 2

オフライン

 

#3 2014-07-04 19:30:31

naochan
新しいメンバ
登録日: 2014-07-04

Re: プラネックス無線Lan子機 GW-450Dのドライバのmakeに失敗してしまいます。

こんばんは。今更なんですが
私も同じ現象でしたが、コンパイルできました。

./include/os/rt_linux.h を修正します。

280行目
    int                fsuid;
        int                fsgid;


    kuid_t                fsuid;
    kgid_t                fsgid;

と直してやってみてください。(int を kuid_t, kgid_tに置き換える)

ただ、どういうわけかIPv6のアドレスが取れません。 なぜだろう?

オフライン

 

Board footer

Powered by FluxBB