SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I downloaded the driver at realtek website but I have trouble during the make command as root:
Code:
make -C /lib/modules/2.6.39/build M=/home/john/Desktop/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011 modules
make[1]: Entering directory `/usr/src/linux-2.6.39'
CC [M] /home/john/Desktop/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/base.o
/home/john/Desktop/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/base.c: In function 'rtl_action_proc':
/home/john/Desktop/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/base.c:840:25: error: 'RX_FLAG_TSFT' undeclared (first use in this function)
/home/john/Desktop/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/base.c:840:25: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/home/john/Desktop/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/base.o] Error 1
make[1]: *** [_module_/home/john/Desktop/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.39'
make: *** [all] Error 2
I'm running on a custom kernel 2.6.39 slackware64 instead of the stock 2.6.37 kernel. I'm currently connected via ethernet cable and it works, but having trouble getting the wireless up. I installed wicd from slackware extras/ and it's currently using the wext driver. I also told it to use wlan0 as my wireless interface. My internet security is setup to use wpa-preshared key.
Any suggestions on how to fix the make error, or an alternative way to installing this driver?
Well, it looks like they renamed RX_FLAG_TSFT to RX_FLAG_MACTIME_MPDU in kernel 2.6.39.
From ChangeLog:
Quote:
commit 6ebacbb79d2d05978ba50a24d8cbe2a76ff2014c
Author: Johannes Berg <johannes.berg@intel.com>
Date: Wed Feb 23 15:06:08 2011 +0100
mac80211: rename RX_FLAG_TSFT
The flag isn't very descriptive -- the intention
is that the driver provides a TSF timestamp at
the beginning of the MPDU -- make that clearer
by renaming the flag to RX_FLAG_MACTIME_MPDU.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
You can run the following command before running make in order to compile the driver against kernel 2.6.39.
Code:
# sed -i 's|RX_FLAG_TSFT|RX_FLAG_MACTIME_MPDU|g' base.c rtl8192{ce,se,de}/trx.c
I used src2pkg to build and install the Realtek RTL8191SEvB driver without any errors on -current a few weeks ago, maybe that would work..
Hmm, this is weird. I must've missed something while building my custom kernel 2.6.39.
Anyway, I got the package to make with src2pkg while on stock kernel 2.6.37.6-smp. I installed it with slackware's package tool. I also got the wireless internet up and running with wicd.
But I can't make the package with src2pkg while on custom kernel 2.6.39. I get an error:
Code:
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or badly written Makefiles or configure scripts.
@larryhaja
Thank you I will try that and report back.
sed -i 's|RX_FLAG_TSFT|RX_FLAG_MACTIME_MPDU|g' base.c rtl8192{ce,se,de}/trx.c
I ran make and got a little further, but ran into this:
Code:
make -C /lib/modules/2.6.39/build M=/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011 modules
make[1]: Entering directory `/usr/src/linux-2.6.39'
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/base.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rc.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/debug.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/regd.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/efuse.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/cam.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/ps.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/core.o
/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/core.c:1331:2: warning: initialization from incompatible pointer type
/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/core.c:1345:2: warning: initialization from incompatible pointer type
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/pci.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtlwifi.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtlwifi.mod.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtlwifi.ko
make[1]: Leaving directory `/usr/src/linux-2.6.39'
make[1]: Entering directory `/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce'
make -C /lib/modules/2.6.39/build M=/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce modules
make[2]: Entering directory `/usr/src/linux-2.6.39'
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/hw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/table.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/sw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/trx.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/led.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/fw.o
/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/fw.c: In function 'rtl92c_download_fw':
/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/fw.c:240:3: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/phy.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/rf.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/dm.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/rtl8192ce.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/rtl8192ce.mod.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce/rtl8192ce.ko
make[2]: Leaving directory `/usr/src/linux-2.6.39'
make[1]: Leaving directory `/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192ce'
make[1]: Entering directory `/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se'
make -C /lib/modules/2.6.39/build M=/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se modules
make[2]: Entering directory `/usr/src/linux-2.6.39'
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/hw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/table.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/sw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/trx.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/led.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/fw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/phy.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/rf.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/dm.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/rtl8192se.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/rtl8192se.mod.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se/rtl8192se.ko
make[2]: Leaving directory `/usr/src/linux-2.6.39'
make[1]: Leaving directory `/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192se'
make[1]: Entering directory `/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de'
make -C /lib/modules/2.6.39/build M=/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de modules
make[2]: Entering directory `/usr/src/linux-2.6.39'
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/hw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/table.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/sw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/trx.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/led.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/fw.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/phy.o
/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/phy.c: In function 'rtl92d_phy_reset_iqk_result':
/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/phy.c:3002:2: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/rf.o
CC [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/dm.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/rtl8192de.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/rtl8192de.mod.o
LD [M] /home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de/rtl8192de.ko
make[2]: Leaving directory `/usr/src/linux-2.6.39'
make[1]: Leaving directory `/home/john/src/rtl_92ce_92se_92de_linux_mac80211_0003.0401.2011/rtl8192de'
--
EDIT:
woops, nvm I guess I was being too careful or something. I forgot to do the make install part. I rebooted now and I am now connected. Thank you larryhaja.
Last edited by rc nai; 05-29-2011 at 08:38 PM.
Reason: more info
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.