PDA

View Full Version : building r8192se module


calanor
23rd March 2011, 06:10 AM
Hi, I am trying to build r8192 wifi module from source. I have kernel-headers installed but still doing make produces this error :
make: *** /lib/modules/2.6.38-1.fc15.x86_64/build: No such file or directory. Stop.
make: *** [all] Error 2

When I try to open that location in nautilus it shows:
This link cannot be used, because its target "../../../usr/src/kernels/2.6.38-1.fc15.x86_64" doesn't exist.

What's wrong, isn't kernel headers package enough (full kernel source needed ?) or is it some configuration error ?

kurtdriver
23rd March 2011, 07:06 AM
You don't need the source, are your running kernel and the kernel headers of the same version? Please post the results from these commands.

This will tell us what kernel you are now running.
uname -r

This will tell us the version of your kernel-headers.
rpm -q kernel-headers

These two should match.

Here's an outline (http://forums.fedoraforum.org/showpost.php?p=1404875&postcount=3) of the basic steps in installing this driver.

calanor
23rd March 2011, 07:52 AM

output:
2.6.38-1.fc15.x86_64
kernel-headers-2.6.38-1.fc15.x86_64

I know the steps, they just aren't executing :D

kristizz
23rd March 2011, 09:28 AM
output:
2.6.38-1.fc15.x86_64
kernel-headers-2.6.38-1.fc15.x86_64

I know the steps, they just aren't executing :D

I built this first time on 2.6.38-1 without any problems. I might be wrong, but I thought that this driver builds against the kernel source.

stevea
23rd March 2011, 10:40 AM
You NEED the kernel-devel package.

kernel-hearers is just the /usr/include stuff, kernel-devel is the /usr/src/kernels stuff, that your error is a link to.

calanor
23rd March 2011, 01:16 PM
Thanks I got it working, now i just hope it doesn't show that weird problem of disconnecting every 15 minutes. :)

leigh123linux
23rd March 2011, 01:23 PM
This post may help.

http://forums.fedoraforum.org/showthread.php?t=253126

calanor
23rd March 2011, 03:25 PM
@leigh is this firmware different/better than the original realtek's http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8192SE

I have realtek driver installed and working, should I change it to your suggested driver ? As I don't know yet if the current (realtek) driver is showing the disconnection problem found earlier in all distros.

leigh123linux
23rd March 2011, 03:28 PM
@leigh is this firmware different/better than the original realtek's http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8192SE

I have realtek driver installed and working, should I change it to your suggested driver ? As I don't know yet if the current (realtek) driver is showing the disconnection problem found earlier in all distros.

If the firmware is already included and working I would leave it.alone

calanor
23rd March 2011, 04:35 PM
Alright, thanks.