make command not working ERROR 2
Sebastian Wright
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 2I have 64 bit Ubuntu 12.04 LTS installed.
22 Answers
Install the drivers from Ubuntu Main Repository:
sudo apt-get install linux-firmware-nonfreethen reboot.
1I 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.koAre you certain that the driver you need isn't already present? What does this tell us about the device?
lspci -nnI suggest you try:
sudo apt-get install git
git clone
cd rts5229
make clean
make
sudo make install
sudo depmod -a
sudo modprobe rts5229It 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 rt3562staTo this, with a space:
# Wireless drivers conflicting with rt3562staProofread, 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 14