LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-12-2012, 02:55 AM   #1
fredmanglis
LQ Newbie
 
Registered: May 2012
Posts: 2

Rep: Reputation: Disabled
Errors Building the Realtek RTL8191SEvA wireless drivers on Debian 6.0.4


Hi there.

I am having problems building the Realtek RTL8191SEvA wireless drivers on Debian 6.0.4.

I was following the instructions given here:
http://www.linuxquestions.org/questi...debian-907650/

and I even checked this out:
http://wiki.debian.org/rtl819x

On typing 'make', I receive the following error:


make[1]: Entering directory `/lib/modules/2.6.32-5-686/build/kernel'
CC [M] /home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_rx.o
/bin/sh: scripts/genksyms/genksyms: not found
make[2]: *** [/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_rx.o] Error 127
make[1]: *** [_module_/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211] Error 2
make[1]: Leaving directory `/lib/modules/2.6.32-5-686/build/kernel'
make: *** [all] Error 2


The result of running 'lspci -v' on my system (A Compaq Presario CQ62) gives me the following result (Cropped for brevity):


02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvA Wireless LAN Controller (rev 10)
Subsystem: Hewlett-Packard Company Device 1467
Flags: bus master, fast devsel, latency 0, IRQ 7
I/O ports at 3000 [size=256]
Memory at 90100000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 88-55-22-fe-ff-4c-e0-00

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Device 1444
Flags: bus master, fast devsel, latency 0, IRQ 26
I/O ports at 2000 [size=256]
Memory at 90010000 (64-bit, prefetchable) [size=4K]
Memory at 90000000 (64-bit, prefetchable) [size=64K]
Expansion ROM at 90020000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [ac] MSI-X: Enable- Count=2 Masked-
Capabilities: [cc] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: r8169

I would appreciate any assistance to enable me build and use the drivers on my system.

Last edited by fredmanglis; 05-14-2012 at 03:05 AM. Reason: To add a line (the last line) requesting for assistance
 
Old 05-15-2012, 12:39 AM   #2
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 343

Rep: Reputation: 27
Quote:
/bin/sh: scripts/genksyms/genksyms: not found
In my source directory, I have these two, but the one shown above doesn't have an extension. I'd say the Realtek source code needs some modification.

/usr/src/linux-source-2.6.32/scripts/genksyms/genksyms.c
/usr/src/linux-source-2.6.32/scripts/genksyms/genksyms.h

You might want to see if a patch has been released.

Or I'm just completely wrong.
 
Old 05-16-2012, 12:46 AM   #3
fredmanglis
LQ Newbie
 
Registered: May 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
I went ahead and compiled the linux source and then tried to re-compile the drivers. The following errors were thrown:

/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_wx.c: In function ‘ieee80211_wx_get_encode_ext_rsl’:
/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_wx.c:846: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_module.c: In function ‘alloc_ieee80211_rsl’:
/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_module.c:121: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
make[2]: *** [/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_module.o] Error 1
make[1]: *** [_module_/home/frederick/bin/wireless/rtl8192u_linux_2.6.0006.1031.2008/ieee80211] Error 2
make: *** [all] Error 2

The compilation seems to have gone past the '/bin/sh: scripts/genksyms/genksyms: not found' point.
 
  


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
[SOLVED] Realtek RTL8192SE Install (Make) Errors - Debian Delta_X Linux - Wireless Networking 6 06-19-2012 11:01 PM
Install RealTek Wireless Drivers on Toshiba laptop with Fedora 14 ptireland Linux - Newbie 0 01-06-2011 06:42 AM
Help on installing wireless drivers on Debian Predatorian Linux - Hardware 1 05-08-2008 05:16 PM
madwifi drivers on debian (compile errors) Erik Thorsson Linux - Wireless Networking 3 01-08-2005 10:50 PM
netgear ma521 wireless card and drivers from realtek randy3629 Linux - Wireless Networking 0 09-24-2003 09:06 PM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration