Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-05-2013, 09:23 PM   #16
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27

Well that can't be why my driver won't compile. The first error is with os_intfs.c and the patches don't touch that file.
Old 12-06-2013, 09:30 AM   #17
Senior Member
Registered: Dec 2008
Posts: 1,185

Rep: Reputation: 237Reputation: 237Reputation: 237
Originally Posted by darksaurian View Post
  CC [M]  /usr/local/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
/usr/local/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':
/usr/local/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:3: 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);
/usr/local/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 [enabled by default]
   rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
/usr/local/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:3: 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);
These (and your other) errors can be eliminated by commenting out CONFIG_PROC_DEBUG in the Makefile. I am using the same driver with Linux 3.12.x and it works fine. Changed the followings --
diff -pru rtl8192cu/Makefile
--- rtl8192cu/Makefile  2013-09-11 05:56:55.000000000 +0200
+++      2013-12-06 16:09:37.000000000 +0100
@@ -1,5 +1,5 @@
 #EXTRA_CFLAGS += -Wextra
diff -pru rtl8192cu/include/autoconf.h
--- rtl8192cu/include/autoconf.h        2013-09-11 05:56:55.000000000 +0200
+++    2013-12-06 16:09:37.000000000 +0100
@@ -296,9 +296,9 @@
 //#define CONFIG_DEBUG_RTL871X
 #define DBG    0
+//#define CONFIG_DEBUG_RTL819X
-#define CONFIG_PROC_DEBUG      1
+//#define CONFIG_PROC_DEBUG    1
 //#define DBG_IO
 //#define DBG_DELAY_OS
@@ -324,7 +324,7 @@
 //#define DBG_MEMORY_LEAK      1
 //TX use 1 urb
Originally Posted by darksaurian View Post
I think it has something to do with kernel 3.10. But then where did my /lib/modules/3.10.17/kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko come from? Did the Slackware team patch it to get it to compile?
Surely not. Slackware is open source and there is no magic. The rtl8192cu.ko is from rtlwifi. Your module, once successfully compiled, will be called 8192cu.ko
3 members found this post helpful.
Old 07-27-2014, 11:52 PM   #18
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 334

Rep: Reputation: 60
Thanks, this sorted me out for compiling the driver on a Cubox-i4pro with Debian Wheezy & a 3.10 kernel.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant Find Drivers For My Dynex Wireless USB Adapter For Wireless Internet.... sent17inel Linux - Hardware 3 12-09-2017 04:04 AM
Wireless USB adapter - client and Access Point (AP) mesmunoz Linux - Newbie 0 05-26-2009 05:39 PM
Installing Wireless Internet USB Adapter Chronothread Linux - Hardware 4 12-26-2007 03:21 PM
Sporadic internet access on unencrypted wifi FogSwimmer Linux - Wireless Networking 0 09-14-2007 09:23 PM
USB wireless adapter detecetd but can not connect to internet! hpvaishnav Linux - Newbie 5 01-15-2007 06:12 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration