Portál AbcLinuxu, 10. května 2025 08:48
Raspberry Pi je na ceste a ja riesim ako sfunkcnit USB wifi kluc aby som potom mal menej starosti. takze zatial to skusam na x86.
kluc je TP WN 723N a podla specifikacii co som hladal na nete ma asi wifi Realtek chipset
ako prve som sa pozrel na stranky s firmwarom http://wireless.kernel.org/download/
je tam aj priecinok s realtekom ale nedari sa mi ho pod Lubuntu 13.10 skompilovat (linux headers mam)
luko@luko-pc:~$ uname -a
Linux luko-pc 3.11.0-8-generic #15-Ubuntu SMP Fri Sep 20 04:11:16 UTC 2013 i686 i686 i686 GNU/Linux
luko@luko-pc:~$
tu je vysledok chyby
from /home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211.h:26,
from /home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:17:
include/linux/workqueue.h:481:13: note: expected ‘struct delayed_work *’ but argument is of type ‘struct work_struct *’
extern bool cancel_delayed_work(struct delayed_work *dwork);
^
In file included from /home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c:17:0:
/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.c: At top level:
/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211.h:1358:37: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static [enabled by default]
return ((struct ieee80211_device *)netdev_priv(dev))->priv;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-8-generic'
make: *** [modules] Error 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/3.11.0-8-generic/build M=/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-8-generic'
CC [M] /home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.o
In file included from /home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:64:0:
/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187.h:29:26: fatal error: linux/config.h: No such file or directory
#include <linux/config.h>
^
compilation terminated.
make[2]: *** [/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-8-generic'
make: *** [modules] Error 2
root@luko-pc:~/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187# make
make -C /lib/modules/3.11.0-8-generic/build M=/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-8-generic'
CC [M] /home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.o
In file included from /home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.c:64:0:
/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187.h:29:26: fatal error: linux/config.h: No such file or directory
#include <linux/config.h>
^
compilation terminated.
make[2]: *** [/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-8-generic'
make: *** [modules] Error 2
root@luko-pc:~/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187#
prosim poradte, chcel by som to sfunkcnit.
http://www.tp-link.com/ca/products/details/?model=TL-WN723N#down
dakujem.
/home/luko/Downloads/rtl8187B_linux_24.6.1021.0212.2007/rtl8187/r8187.h:29:26: fatal error: linux/config.h: No such file or directoryBtw. jakou mas verzi sticku V1,V2 nebo V3?
verzia je V3, nainstaloval som len linux headers bez kompletnych zdrojakov, vraj by to malo stacit
dakujem NN a gogol tiez dakujem konecne nieco od coho sa mozem odrazit, aspon nemam klamnu nadej ze sa mi to podari rozbehat :(
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.