LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2011, 06:52 AM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Rep: Reputation: 5
Module Compile errors


hello,

I'm getting this error.

Any ideas?

Code:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/2.6.37-gentoo-r4/build M=/bigdrive/working/Source/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1502.20110402/driver/rtl8192CU_linux_v2.0.1502.20110402  modules           
make[1]: Entering directory `/usr/src/linux-2.6.37-gentoo-r4'                   
  CC [M]  /bigdrive/working/Source/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1502.20110402/driver/rtl8192CU_linux_v2.0.1502.20110402/os_dep/linux/os_intfs.o                                                           
/bigdrive/working/Source/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1502.20110402/driver/rtl8192CU_linux_v2.0.1502.20110402/os_dep/linux/os_intfs.c: In function 'rtw_init_netdev':                                     
/bigdrive/working/Source/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1502.20110402/driver/rtl8192CU_linux_v2.0.1502.20110402/os_dep/linux/os_intfs.c:634: error: 'struct net_device' has no member named 'wireless_handlers'
make[2]: *** [/bigdrive/working/Source/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1502.20110402/driver/rtl8192CU_linux_v2.0.1502.20110402/os_dep/linux/os_intfs.o] Error 1                                              
make[1]: *** [_module_/bigdrive/working/Source/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1502.20110402/driver/rtl8192CU_linux_v2.0.1502.20110402] Error 2                                                              
make[1]: Leaving directory `/usr/src/linux-2.6.37-gentoo-r4'                    
make: *** [modules] Error 2
Trying to install the realtek driver.
 
Old 05-18-2011, 07:54 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
It may be your kernel config

post the output of

Code:
cat /path/to/kernel-config | grep CONFIG_WIRELESS_EXT
replacing /path/to/kernel-config with the actual full path to your .config file

I think that you should have at least this
Code:
CONFIG_EMBEDDED=n 
CONFIG_CFG80211=y 
CONFIG_MAC80211=y
CONFIG_WIRELESS_EXT=y

Last edited by andrewthomas; 05-18-2011 at 07:57 AM. Reason: added more config info
 
Old 05-18-2011, 08:31 AM   #3
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 2,541

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I tried to compile it. It doesn't work. But I'm using 2.6.38, and the driver only works up to 2.6.37. But it's an experimental driver for their demo boards. You might need to wait for a real driver to be written. Otherwise, you can reconfigure the kernel, and select the adapter chip from the staging drivers, although I did not see rtl8192cu. There are several different rtl8192ab in the 2.6.38 kernel. I would redirect the install.sh output to a file

[linux@sam] # ./install.sh > file_name

And send it to Realtek. You might have to email them to find the correct email to send the file. But also make sure you're using one of the kernel versions that work with the driver.
 
Old 05-20-2011, 03:19 AM   #4
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by AwesomeMachine View Post
I tried to compile it. It doesn't work. But I'm using 2.6.38, and the driver only works up to 2.6.37. But it's an experimental driver for their demo boards. You might need to wait for a real driver to be written. Otherwise, you can reconfigure the kernel, and select the adapter chip from the staging drivers, although I did not see rtl8192cu. There are several different rtl8192ab in the 2.6.38 kernel. I would redirect the install.sh output to a file

[linux@sam] # ./install.sh > file_name

And send it to Realtek. You might have to email them to find the correct email to send the file. But also make sure you're using one of the kernel versions that work with the driver.
I see many people have trouble with this driver.

I'll keep trying and contact Reltek.

Thank you
 
  


Reply


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
Fedora 10 Module compile errors lokideathknight Linux - Desktop 0 06-10-2009 08:39 AM
SL10 kernel module compile errors jcart SUSE / openSUSE 1 11-08-2005 09:22 AM
why there is so many errors to compile a module ,help me! qqrilxk Programming 3 03-30-2005 08:57 PM
2.6.11 kernel compile - sound module insertion errors dibblethewrecke Linux - Hardware 3 03-17-2005 11:50 PM
errors attempting to compile nvaudio module lasalsademuerte Slackware 2 12-02-2003 05:43 PM


All times are GMT -5. The time now is 09:57 PM.

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