LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2013, 12:24 PM   #1
lcharles
LQ Newbie
 
Registered: Dec 2011
Posts: 14

Rep: Reputation: Disabled
"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?
 
Old 06-13-2013, 12:38 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Have you installed the linux-headers package for your kernel.
jdk
 
Old 06-13-2013, 04:27 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
 
Old 06-14-2013, 05:42 PM   #4
lcharles
LQ Newbie
 
Registered: Dec 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
Yes the linux-headers are installed. How do I get Make to look in the right path for the modversions.h file?
 
Old 06-14-2013, 11:14 PM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Before running make did you run configure? Is there a configure file to run that is included in the source code?
jdk
 
Old 06-16-2013, 03:24 PM   #6
lcharles
LQ Newbie
 
Registered: Dec 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
Yes I ran configure and it seemed to run with no problems
 
Old 06-16-2013, 11:30 PM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 06-19-2013, 08:57 PM   #8
lcharles
LQ Newbie
 
Registered: Dec 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel make error: "vmlinux.o no such file ..." and make -d "Reaping losing ..." micscherer Linux - Kernel 3 06-12-2012 07:29 AM
[SOLVED] No Sound with Realtek ALC892 on Debian Squeeze PehJota Linux - Desktop 3 08-25-2010 12:26 AM
Error installing "Mac On Linux" when i run make and make install rohedin Linux - Software 4 06-22-2010 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration