Ubuntu: make command not working ERROR 2



Question:

I was trying to install Realtek_RTS5229_Linux_Driver_v1.07 which I downloaded from [here][1]

When I run the make command I get the following error:-

make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic'  make: *** [LINUX] Error 2  

I have 64 bit Ubuntu 12.04 LTS installed.


Solution:1

Install the drivers from Ubuntu Main Repository:

sudo apt-get install linux-firmware-nonfree  

then reboot.


Solution:2

I believe the file is too old to compile on Ubuntu 14.04. It won't compile on my system either. I notice that there are a number of files in your package named rtsx.something. There are several drivers called rtsx built in:

/lib/modules/3.13.0-32-generic/kernel/drivers/memstick/host/rtsx_pci_ms.ko  /lib/modules/3.13.0-32-generic/kernel/drivers/mfd/rtsx_pci.ko  /lib/modules/3.13.0-32-generic/kernel/drivers/mmc/host/rtsx_pci_sdmmc.ko  

Are you certain that the driver you need isn't already present? What does this tell us about the device?

lspci -nn  

I suggest you try:

sudo apt-get install git  git clone https://github.com/mcfloundinho/rts5229.git  cd rts5229  make clean  make  sudo make install  sudo depmod -a  sudo modprobe rts5229  

It makes with one warning but no errors on my system.

Please edit /etc/modprobe.d/blacklist.conf to change this line:

#Wireless drivers conflicting with rt3562sta  

To this, with a space:

# Wireless drivers conflicting with rt3562sta  

Proofread, save and close the text editor.

You have compiled the driver for your currently running kernel only. When Update Manager installs a newer linux-image, after the requested reboot, re-compile:

cd rts5229  make clean  make  sudo make install  sudo depmod -a  sudo modprobe rts5229  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »