Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to compile and install the proprietary driver for my RTL8188ee Wireless card. Using make in the download directory (/home/sebastian/Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013) results in following error:

make -C /lib/modules/3.8.0-31-generic/build M=/home/sebastian/Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-3.8.0-31-generic'
CC [M]  /home/sebastian/Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o
In file included from /home/sebastian/Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:39:0:
/home/sebastian/Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/pci.h:247:15: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »rtl_pci_probe«
make[2]: *** [/home/sebastian/Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o] Fehler 1
make[1]: *** [_module_/home/sebastian/Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-3.8.0-31-generic'
make: *** [all] Fehler 2

What exactly is the problem and how can I fix it?

Using RaringX64

share|improve this question
up vote 1 down vote accepted

First, let's clean up the file from your first attempt:

cd Downloads/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013
make clean

Now, let's modify one file:

gedit pci.h

At the top of the file, after the comment section all outlined in **, add this sequence:

#ifndef __devinit
#define __devinit
#define __devinitdata

Proofread carefully, save and close gedit. Now do:

sudo make install
sudo modprobe rtl8188ee

Your wireless should now be working.

share|improve this answer
Really sudo make install? Not sudo checkinstall? – the_Seppi Oct 18 '13 at 19:43
Thanks, now it's working about 10 times faster than before. – the_Seppi Oct 18 '13 at 19:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.