Jump to content

Gutter

Members
  • Content Count

    1
  • Joined

  • Last visited

    Never
  1. Добрый день всем. Подскажите пожалуйста, в какую сторону решать проблему: Имееться usb wifi карточка idu-2850ug (китай) с которой был диск с дровами и скриптами для запуска интерфейсаRelease Date: 2006-02-09, ver 1.2 RTL8187 Linux driver version 1.2 На Вмвари установлена debian подобная сборка Linux (BackTrack). uname -r2.6.34 Ошибки возникают на уровне компиляции дров: :/home/linux# ./makedrv Цитата: make -C /lib/modules/2.6.34/build M=/home/linux/rtl8187 modules make[1]: Entering directory `/usr/src/linux-source-2.6.34' WARNING: Symbol version dump /usr/src/linux-source-2.6.34/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /home/linux/rtl8187/r8187_core.o In file included from /home/linux/rtl8187/r8187_core.c:64: /home/linux/rtl8187/r8187.h:29:26: error: linux/config.h: No such file or directory /home/linux/rtl8187/r8187.h:48:27: error: asm/semaphore.h: No such file or directory In file included from /home/linux/rtl8187/r8187.h:50, from /home/linux/rtl8187/r8187_core.c:64: /home/linux/rtl8187/ieee80211.h: In function 'ieee80211_priv': /home/linux/rtl8187/ieee80211.h:1212: warning: 'netdev_priv' is static but used in inline function 'ieee80211_priv' which is not static /home/linux/rtl8187/r8187_core.c: In function 'rtl8180_proc_module_init': /home/linux/rtl8187/r8187_core.c:450: error: 'proc_net' undeclared (first use in this function) /home/linux/rtl8187/r8187_core.c:450: error: (Each undeclared identifier is reported only once /home/linux/rtl8187/r8187_core.c:450: error: for each function it appears in.) /home/linux/rtl8187/r8187_core.c: In function 'rtl8180_proc_module_remove': /home/linux/rtl8187/r8187_core.c:456: error: 'proc_net' undeclared (first use in this function) /home/linux/rtl8187/r8187_core.c: In function 'rtl8187_rx_urbsubmit': /home/linux/rtl8187/r8187_core.c:730: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type /home/linux/rtl8187/r8187_core.c: In function 'rtl8180_tx': /home/linux/rtl8187/r8187_core.c:1648: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type /home/linux/rtl8187/r8187_core.c:2053:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/linux/rtl8187/r8187_core.c: In function 'rtl8180_init': /home/linux/rtl8187/r8187_core.c:2053: error: 'INIT_WORK' undeclared (first use in this function) /home/linux/rtl8187/r8187_core.c:2054:77: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/linux/rtl8187/r8187_core.c:2055:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/linux/rtl8187/r8187_core.c:2056:80: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/linux/rtl8187/r8187_core.c:2057:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/linux/rtl8187/r8187_core.c:2217: error: 'struct net_device' has no member named 'get_stats' /home/linux/rtl8187/r8187_core.c: In function 'rtl8187_usb_probe': /home/linux/rtl8187/r8187_core.c:2938: error: implicit declaration of function 'SET_MODULE_OWNER' /home/linux/rtl8187/r8187_core.c:2948: error: 'struct net_device' has no member named 'open' /home/linux/rtl8187/r8187_core.c:2949: error: 'struct net_device' has no member named 'stop' /home/linux/rtl8187/r8187_core.c:2951: error: 'struct net_device' has no member named 'tx_timeout' /home/linux/rtl8187/r8187_core.c:2953: error: 'struct net_device' has no member named 'do_ioctl' /home/linux/rtl8187/r8187_core.c:2954: error: 'struct net_device' has no member named 'set_multicast_list' /home/linux/rtl8187/r8187_core.c:2955: error: 'struct net_device' has no member named 'set_mac_address' /home/linux/rtl8187/r8187_core.c:2956: error: 'struct net_device' has no member named 'get_wireless_stats' make[2]: *** [/home/linux/rtl8187/r8187_core.o] Error 1 make[1]: *** [_module_/home/linux/rtl8187] Error 2 make[1]: Leaving directory `/usr/src/linux-source-2.6.34' make: *** [modules] Error 2 Делал apt-get update и apt-get upgrade Также заголовки ставил через apt-get -y install build-essential gcc linux-headers-`uname -r` /home/linux# dpkg --get-selections | grep headerslibxmu-headers installlinux-headers-2.6.34 install
×
×
  • Create New...