LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "Make" error while trying to install Realtek ALC892 sound driverin Kubuntu 12.04 (https://www.linuxquestions.org/questions/linux-newbie-8/make-error-while-trying-to-install-realtek-alc892-sound-driverin-kubuntu-12-04-a-4175465888/)

lcharles 06-13-2013 12:24 PM

"Make" error while trying to install Realtek ALC892 sound driverin Kubuntu 12.04
 
I was having sound problems. The sound stuttered. I'm using Kubuntu 12.04. I'm using the sound chip that comes with the motherboard. ECS Z77H2-A2X. I'm using the analog output.

So I tried to re-install the driver using a method (Installing Realtek ALC892 Audio Driver on Linux Mint) posted here:

http://community.linuxmint.com/tutorial/view/1236

When I ran "Make" I got the following error:

cc1: fatal error: /lib/modules/3.2.0-45-generic/build/include/linux/modversions.h: No such file or directory
compilation terminated.
make[1]: *** [memory_wrapper.o] Error 1
make[1]: Leaving directory `/home/larry1204/Downloads/realtek-linux-audiopack-5.16/alsa-driver-1.0.24/acore'
make: *** [compile] Error 1
root@larry1204:/home/larry1204/Downloads/realtek-linux-audiopack-5.16/alsa-driver-1.0.24#

When I looked there is in fact no modversions.h in the path. There is one in /lib/modules/3.2.0-45-generic/build/include/config --but when I look at the file with Dolphin it indicates the file has 0 bytes.

What would be the next step in getting Make to run to completion?

jdkaye 06-13-2013 12:38 PM

Have you installed the linux-headers package for your kernel.
jdk

knudfl 06-13-2013 04:27 PM

Quote:

include/linux/modversions.h: No such file ..
The file "modversions.h" has got a new location in kernel 3.x.x :
include/config/modversions.h
3.2.0 http://packages.ubuntu.com/search?se...ecise&arch=any

lcharles 06-14-2013 05:42 PM

Yes the linux-headers are installed. How do I get Make to look in the right path for the modversions.h file?

jdkaye 06-14-2013 11:14 PM

Before running make did you run configure? Is there a configure file to run that is included in the source code?
jdk

lcharles 06-16-2013 03:24 PM

Yes I ran configure and it seemed to run with no problems

jdkaye 06-16-2013 11:30 PM

Yup. On my system it's here:
Code:

/usr/src/linux-headers-3.9-6.dmz.2-liquorix-amd64/include/config/modversions.h
$ ls -l /usr/src/linux-headers-3.9-6.dmz.2-liquorix-amd64/include/config/modversions.h
-rw-r--r-- 1 root root 0 giu 16 00:41 /usr/src/linux-headers-3.9-6.dmz.2-liquorix-amd64/include/config/modversions.h

It also has 0 bytes so I guess that's what it should have.
jdk

lcharles 06-19-2013 08:57 PM

No matter now. RealTek posted a new driver build. It ran fine except it screwed up my system. Long log in. Grub menu will no longer start listed OS's after a time interval. I suppose I'm going to have to re-install my OS.


All times are GMT -5. The time now is 09:50 AM.