LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Errors Building the Realtek RTL8191SEvA wireless drivers on Debian 6.0.4 (https://www.linuxquestions.org/questions/linux-hardware-18/errors-building-the-realtek-rtl8191seva-wireless-drivers-on-debian-6-0-4-a-944533/)

fredmanglis 05-12-2012 02:55 AM

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.

Andy Alt 05-15-2012 12:39 AM

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.

fredmanglis 05-16-2012 12:46 AM

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.


All times are GMT -5. The time now is 04:44 AM.