Realtek 8192CU Treiber für Raspberry kompilieren

ZenTao

Lt. Junior Grade
Registriert
Jan. 2010
Beiträge
286
Hallo Zusammen,

ich hab ein "Raspberry Pi Model B+" welchen ich gerne als Access Point nutzen möchte. Als Betriebssystem dient Arch Linux Arm. Das Ganze soll mit einem "TP-Link TL-WN823N" realisiert werden, welcher den besagten Chipsatz "rtl192cu" enthält.

Auf meinem Desktoprechner lief die Konfiguration wunderbar, nachdem ich den Treiber das Herstellers kompiliert hatte. Auf dem Raspberry gestalltet es sich wiederum nicht so einfach. Ich bin standardmäßig vorgegangen und hab die benötigten Pakete (abs, base-devel, header-files, ...) installiert und die Source geklont und verlinkt. Danach habe ich den Treiber von der Herstellerseite geladen, entpackt und das Makefile nach dieser Anleitung angepasst.

Sobald ich nun make ausführe erhalte ich am Ende zwei Fehler.
[root@alarmpi rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911]# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.1.12-2-ARCH/build M=/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911 modules
make[1]: Entering directory '/usr/lib/modules/4.1.12-2-ARCH/build'
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_cmd.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_security.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_debug.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_io.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_query.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ioctl_set.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ieee80211.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_mlme_ext.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_wlan_util.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_pwrctrl.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_rf.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_recv.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sta_mgt.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_ap.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_xmit.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_p2p.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_tdls.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_br_ext.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_iol.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/rtw_sreset.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/core/efuse/rtw_efuse.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_intf.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/hal_com.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/dm.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_hal_init.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_phycfg.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.o
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c: In function 'PHY_RFShadowRefresh':
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c:1020:37: warning: iteration 63u invokes undefined behavior [-Waggressive-loop-optimizations]
RF_Shadow[eRFPath][Offset].Value = 0;
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rf6052.c:1018:3: note: containing loop
for (Offset = 0; Offset <= RF6052_MAX_REG; Offset++)
^
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_dm.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_rxdesc.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_cmd.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_halinit.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_led.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_xmit.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/rtl8192cu_recv.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/usb_ops_linux.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_sreset.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/rtl8192c_xmit.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/hal/rtl8192c/usb/Hal8192CUHWImg.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/osdep_service.o
CC [M] /home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: In function 'rtw_proc_init_one':
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:12: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration]
rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:313:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:11: error: implicit declaration of function 'create_proc_read_entry' [-Werror=implicit-function-declaration]
entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:320:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:326:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("log_level", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:332:8: error: dereferencing pointer to incomplete type 'struct proc_dir_entry'
entry->write_proc = proc_set_log_level;
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:348:21: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
padapter->dir_dev = create_proc_entry(dev->name,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:379:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:387:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:396:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:404:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("sec_info", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:412:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mlmext_state", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:420:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("qos_option", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:427:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ht_option", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:434:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_info", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:441:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ap_info", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:448:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("adapter_state", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:455:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("trx_info", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:462:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mac_reg_dump1", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:469:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mac_reg_dump2", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:476:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("mac_reg_dump3", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:483:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("bb_reg_dump1", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:490:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("bb_reg_dump2", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:497:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("bb_reg_dump3", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:504:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump1", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:511:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump2", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:520:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump3", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:527:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rf_reg_dump4", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:537:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("all_sta_info", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:555:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("best_channel", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:564:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rx_signal", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:572:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ht_enable", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:580:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("cbw40_enable", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:588:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:596:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rx_stbc", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:605:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("path_rssi", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:608:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("vid", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:615:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("pid", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:622:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:631:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
entry = create_proc_read_entry("sreset", S_IFREG | S_IRUGO,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c: At top level:
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^
/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.c:999:22: note: (near initialization for 'rtw_netdev_ops.ndo_select_queue')
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o' failed
make[2]: *** [/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o] Error 1
Makefile:1384: recipe for target '_module_/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911' failed
make[1]: *** [_module_/home/alarm/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.1.12-2-ARCH/build'
Makefile:593: recipe for target 'modules' failed
make: *** [modules] Error 2

Der Treiber aus der Repo bringt die gleiche Fehlermeldung.

Ich hoffe ihr könnt mir sagen, wo mein Fehler liegt.

Gruß
ZenTao
 
[root@alarmpi rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911]# cat /proc/version
Linux version 4.1.12-2-ARCH (builduser@leming) (gcc version 5.2.0 (GCC) ) #1 PREEMPT Sat Nov 7 09:19:44 MST 2015
 
Könntest du das "einarbeiten" etwas näher ausführen? (Ich bin noch relativ neu auf dem Gebiet). Soll der Patch in den Treiberordner kopiert und dann ausgeführt werden?

"git apply RTL8192CU-gcc-5.patch" gibt nur "fatal: unrecognized input" zurück.
 
Zuletzt bearbeitet:
das sind diff Dateien - das bedeutet sie zeigen an welche Veränderungen in den Dateien vorgenommen werden -> du kannst das mit befehl einfügen oder per Hand (wo das bei den paar Veränderungen wohl die schnellere Variante ist).

Du gehst nach RTL8192CU-v4.0.2_9000.20130911/include/ieee80211.h und suchst dort nach dem roten und änderst es wie es im grünen gezeigt ist.

Das
--- RTL8192CU-v4.0.2_9000.20130911/include/ieee80211.h 2013-09-11 05:56:55.000000000 +0200
enfällt wenn ich mich nicht irre.
 
Danke für deine Antwort.

Ich habe die Änderungen entsprechend des .patch-files durchgeführt, jedoch hat sich an der Fehlermeldung nichts geändert. Das Einarbeiten der anderen Patches brachte auch keine Änderung zu stande. Hast du vielleicht noch eine andere Idee?
 
RTL8192CU-kernel-4.0.patch auch schon ?

Wenn nicht keine Ahnung :/ , evtl mal in einem Arch Board nachfragen, evtl braucht es irgendwas spezielles.
 
Jop, den hab ich direkt als zweites versucht.

Ich werd noch etwas rumprobieren und wenn ich keine Lösung finde mich ans Arch Forum wenden.

Gruß
 
Ein "leicht" verspäteter Nachtrag.

Dieser Treiber lässt sich problemlos mit dem Raspberry Kompilieren und über das dkms einbinden. (Keine Ahnung weshalb der original Treiber von Realtek nicht funktioniert).

Mit Hilfe dieser und dieser Anleitung hatte ich es geschafft einen Accesspoint zu eröffnen, jedoch war dieser nicht gerade stabil und machte mit Smartphones Probleme.

Ich hab mir deshalb einen "TP-Link TL-WN722N" mit Atheros Chip besorgt. Dieser unterstützt Soft-AP direkt und lief daher sofort problemlos. Ich hab das Ganze jetzt seit ein paar Wochen stabil am Laufen und nutze Create_AP zur schnellen Konfiguration.

Vielleicht hilft es jemandem weiter.

Letztlich lässt sich jedoch sagen, dass man auf Wlan Sticks mit Realtek Chipsatz verzichten sollte, wenn man einen Accesspoint einrichten will.

Gruß
ZenTao
 
Zurück
Oben