Make Command Not Working Error 2

Make Command Not Working Error 2

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.

2

2 Answers

Install the drivers from Ubuntu Main Repository:

sudo apt-get install linux-firmware-nonfree

then reboot.

1

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 
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
14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.