rtl8180emb compilation

2008-03-11
2013-04-11
  • majster_klepka
    majster_klepka
    2008-03-11

    help! I try to compile rtl8180emb-0.0.5 but i have a lot of errors... what is wrong? other version the same...

     
    • majster_klepka
      majster_klepka
      2008-03-11

      root@stacja:/moje/5/r8180# make ARCH=mips CROSS_COMPILE=mips-linux- KERNELPATH=/moje/5/linux-8181 MADWIFI=/moje/5/madwifi mod24
      make: /scripts/pathdown.sh: Command not found
      make -C /moje/5/linux-8181 SUBDIRS=/moje/5/r8180 modules
      make[1]: Entering directory `/moje/5/linux-8181'
      make -C  /moje/5/r8180 CFLAGS="-D__KERNEL__ -I/moje/5/linux-8181/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /moje/5/linux-8181/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe  -finline-limit=100000 -mabi=32 -march=r3000 -mips1 -Wa,-32 -Wa,-march=r3000 -Wa,-mips1 -DMODULE -mlong-calls" MAKING_MODULES=1 modules
      make[2]: Entering directory `/moje/5/r8180'
      mips-linux-gcc -D__KERNEL__ -I/moje/5/linux-8181/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I /moje/5/linux-8181/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe  -finline-limit=100000 -mabi=32 -march=r3000 -mips1 -Wa,-32 -Wa,-march=r3000 -Wa,-mips1 -DMODULE -mlong-calls -I. -I/moje/5/madwifi -I/moje/5/madwifi/include -I/moje/5/madwifi/net80211 -include /moje/5/madwifi/include/compat.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=r8180_drv  -DEXPORT_SYMTAB -c r8180_drv.c
      In file included from r8180_drv.c:118:
      r8180hw.c: In function `r8180hw_set_rcr':
      r8180hw.c:53: warning: unused variable `rcr'
      r8180hw.c: In function `r8180hw_set_tcr':
      r8180hw.c:61: warning: unused variable `tcr'
      r8180hw.c: In function `r8180hw_reset':
      r8180hw.c:110: warning: unused variable `c'
      In file included from r8180_drv.c:118:
      r8180hw.c: In function `r8180hw_setrings':
      r8180hw.c:129: warning: unused variable `pgreg'
      r8180hw.c:142: warning: control reaches end of non-void function
      r8180hw.c: In function `r8180hw_setdflkey':
      r8180hw.c:148: warning: unused variable `kdw'
      In file included from r8180_drv.c:120:
      r8180rx.c: In function `r8180_rx':
      r8180rx.c:140: warning: implicit declaration of function `r8180mw_rxframe'
      r8180rx.c:74: warning: unused variable `first'
      r8180rx.c:74: warning: unused variable `last'
      r8180rx.c:77: warning: unused variable `rssi'
      r8180rx.c:77: warning: unused variable `sq'
      r8180rx.c:78: warning: unused variable `tstp'
      In file included from r8180_drv.c:121:
      r8180tx.c: In function `tx_mkring_skb':
      r8180tx.c:119: warning: assignment makes integer from pointer without a cast
      r8180tx.c:97: warning: unused variable `buf'
      In file included from r8180_drv.c:121:
      r8180tx.c: In function `r8180sw_txb_fill':
      r8180tx.c:205: warning: unused variable `priv'
      In file included from r8180_drv.c:121:
      r8180tx.c: In function `r8180_tx_timeout':
      r8180tx.c:551: warning: implicit declaration of function `rtl8180_hotreset'
      In file included from r8180_drv.c:122:
      r8180isr.c: In function `rtl8180_bcn_tasklet':
      r8180isr.c:167: warning: unused variable `priv'
      r8180isr.c:168: warning: unused variable `flags'
      In file included from r8180_drv.c:130:
      r8180mw.c: In function `r8180mw_attach':
      r8180mw.c:58: warning: implicit declaration of function `ieee80211_ioctl_iwsetup'
      r8180mw.c:75: error: structure has no member named `ic_devstats'
      r8180mw.c:79: warning: assignment from incompatible pointer type
      r8180mw.c:128: error: structure has no member named `ic_newstate'
      r8180mw.c:129: error: structure has no member named `ic_newstate'
      r8180mw.c:140: warning: implicit declaration of function `ieee80211_media_init'
      r8180mw.c:144: warning: implicit declaration of function `ieee80211_sysctl_register'
      r8180mw.c: In function `r8180mw_detach':
      r8180mw.c:156: warning: unused variable `i'
      r8180mw.c: In function `r8180mw_init':
      r8180mw.c:191: error: structure has no member named `ic_state'
      r8180mw.c:198: error: structure has no member named `ic_bss'
      r8180mw.c:199: error: structure has no member named `ic_ibss_chan'
      r8180mw.c:205: error: structure has no member named `ic_bss'
      r8180mw.c:214: warning: passing arg 1 of `ieee80211_new_state' from incompatible pointer type
      r8180mw.c:216: warning: passing arg 1 of `ieee80211_new_state' from incompatible pointer type
      r8180mw.c:170: warning: unused variable `mode'
      r8180mw.c: In function `r8180mw_reset':
      r8180mw.c:235: error: structure has no member named `ic_ibss_chan'
      r8180mw.c:253: error: structure has no member named `ic_bss'
      r8180mw.c:254: error: structure has no member named `ic_bss'
      r8180mw.c:255: error: structure has no member named `ic_bss'
      r8180mw.c:260: error: structure has no member named `ic_bss'
      r8180mw.c:261: warning: implicit declaration of function `rtl8180_set_chan'
      r8180mw.c:265: error: structure has no member named `ic_state'
      r8180mw.c: In function `r8180mw_vlan_register':
      r8180mw.c:280: warning: implicit declaration of function `ieee80211_vlan_register'
      r8180mw.c: In function `r8180mw_vlan_kill_vid':
      r8180mw.c:289: warning: implicit declaration of function `ieee80211_vlan_kill_vid'
      r8180mw.c: In function `r8180mw_tx_any':
      r8180mw.c:384: warning: passing arg 1 of `ieee80211_crypto_encap' from incompatible pointer type
      r8180mw.c:384: warning: passing arg 2 of `ieee80211_crypto_encap' from incompatible pointer type
      r8180mw.c:384: error: too many arguments to function `ieee80211_crypto_encap'
      r8180mw.c:421: error: structure has no member named `ic_rtsthreshold'
      r8180mw.c:365: warning: unused variable `ismcast'
      r8180mw.c:368: warning: unused variable `keyid'
      r8180mw.c: In function `r8180mw_mgtstart':
      r8180mw.c:469: warning: unused variable `txr'
      r8180mw.c: In function `r8180mw_hardstart':
      r8180mw.c:497: error: structure has no member named `ic_state'
      r8180mw.c:498: error: structure has no member named `ic_state'
      r8180mw.c:514: warning: passing arg 1 of `ieee80211_encap' from incompatible pointer type
      r8180mw.c:514: warning: passing arg 3 of `ieee80211_encap' from incompatible pointer type
      r8180mw.c:532: error: structure has no member named `ic_bss'
      r8180mw.c:533: warning: passing arg 1 of `ieee80211_free_node' from incompatible pointer type
      r8180mw.c:533: error: too many arguments to function `ieee80211_free_node'
      r8180mw.c:526: warning: unused variable `txc'
      r8180mw.c: In function `r8180mw_brx_on':
      r8180mw.c:585: warning: implicit declaration of function `brx_init'
      r8180mw.c: In function `r8180mw_brx_off':
      r8180mw.c:594: warning: implicit declaration of function `brx_exit'
      r8180mw.c: In function `r8180mw_newstate':
      r8180mw.c:755: error: structure has no member named `ic_state'
      r8180mw.c:756: error: structure has no member named `ic_state'
      r8180mw.c:766: error: structure has no member named `ic_bss'
      r8180mw.c:785: error: structure has no member named `ic_state'
      r8180mw.c:813: error: structure has no member named `ic_state'
      r8180mw.c:865: error: structure has no member named `ic_bss'
      r8180mw.c:865: warning: passing arg 1 of `ieee80211_beacon_alloc' from incompatible pointer type
      r8180mw.c:865: error: too many arguments to function `ieee80211_beacon_alloc'
      r8180mw.c: In function `r8180mw_down':
      r8180mw.c:956: warning: passing arg 1 of `ieee80211_new_state' from incompatible pointer type
      r8180mw.c: In function `r8180mw_rxframe':
      r8180mw.c:1019: warning: passing arg 1 of `ieee80211_find_node' from incompatible pointer type
      r8180mw.c:1021: warning: passing arg 1 of `ieee80211_find_node' from incompatible pointer type
      r8180mw.c:1024: error: structure has no member named `ic_bss'
      r8180mw.c:1027: error: structure has no member named `ic_bss'
      r8180mw.c:1046: warning: passing arg 1 of `ieee80211_input' from incompatible pointer type
      r8180mw.c:1046: warning: passing arg 3 of `ieee80211_input' makes integer from pointer without a cast
      r8180mw.c:1046: error: too many arguments to function `ieee80211_input'
      r8180mw.c:1000: warning: unused variable `splcp'
      r8180mw.c:1001: warning: unused variable `rate'
      r8180mw.c:1003: warning: unused variable `sq'
      r8180mw.c: In function `r8180mw_dumpnode':
      r8180mw.c:1070: warning: passing arg 1 of pointer to function from incompatible pointer type
      r8180mw.c:1070: error: too many arguments to function
      r8180mw.c:1129: error: structure has no member named `ni_txseq'
      r8180mw.c:1130: error: structure has no member named `ni_rxseq'
      r8180mw.c:1131: error: structure has no member named `ni_rxseq'
      r8180mw.c:1140: error: structure has no member named `ni_fails'
      r8180mw.c: In function `r8180mw_next_scan':
      r8180mw.c:1154: error: structure has no member named `ic_state'
      r8180mw.c:1155: warning: implicit declaration of function `ieee80211_next_scan'
      In file included from r8180wx.c:11,
                       from r8180_drv.c:131:
      net80211export.h: At top level:
      net80211export.h:92: warning: type mismatch with previous implicit declaration
      r8180mw.c:58: warning: previous implicit declaration of `ieee80211_ioctl_iwsetup'
      net80211export.h:92: warning: `ieee80211_ioctl_iwsetup' was previously implicitly declared to return `int'
      In file included from r8180_drv.c:131:
      r8180wx.c: In function `r8180mw_bnc_ioctl_siwsens':
      r8180wx.c:159: warning: implicit declaration of function `r8180rf_init'
      r8180wx.c: In function `r8180mw_bnc_ioctl_siwretry':
      r8180wx.c:175: error: structure has no member named `ic_txmax'
      r8180wx.c:177: error: structure has no member named `ic_txmin'
      r8180wx.c:180: error: structure has no member named `ic_txmax'
      r8180wx.c:181: error: structure has no member named `ic_txmin'
      r8180wx.c:184: error: structure has no member named `ic_txmin'
      r8180wx.c:184: error: structure has no member named `ic_txmax'
      r8180wx.c: In function `r8180mw_bnc_ioctl_giwretry':
      r8180wx.c:201: error: structure has no member named `ic_txmin'
      r8180wx.c:202: error: structure has no member named `ic_txmax'
      r8180wx.c:208: error: structure has no member named `ic_txmax'
      r8180wx.c:211: error: structure has no member named `ic_txmin'
      r8180_drv.c: At top level:
      r8180_drv.c:139: warning: type mismatch with previous implicit declaration
      r8180mw.c:780: warning: previous implicit declaration of `rtl8180_set_chan'
      r8180_drv.c:139: warning: `rtl8180_set_chan' was previously implicitly declared to return `int'
      r8180_drv.c: In function `rtl8180_set_chan':
      r8180_drv.c:143: warning: implicit declaration of function `r8180rf_setchan'
      r8180_drv.c: In function `rtl8180_hotreset':
      r8180_drv.c:150: warning: unused variable `priv'
      r8180_drv.c: In function `r8180_iwgetstats':
      r8180_drv.c:284: warning: unused variable `stats'
      r8180_drv.c: In function `brx_write_proc':
      r8180_drv.c:441: warning: comparison is always false due to limited range of data type
      r8180_drv.c: In function `r8180_exit':
      r8180_drv.c:530: warning: unused variable `priv'
      r8180_drv.c: At top level:
      r8180_drv.c:72: warning: `printk_buffer' defined but not used
      make[2]: *** [r8180_drv.o] Error 1
      make[2]: Leaving directory `/moje/5/r8180'
      make[1]: *** [_mod_/moje/5/r8180] Error 2
      make[1]: Leaving directory `/moje/5/linux-8181'
      make: *** [mod24] Error 2
      root@stacja:/moje/5/r8180#