LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-31-2008, 09:12 PM   #1
c_add_nine
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Error compiling sound driver - CONFIG_X86_L1_CACHE_SHIFT processor.h


Hi

I've decided to install sound. I've found the NVIDIA nforce driver set and tried compiling it. It died with extreme prejudice. So I tried just the sound drivers. Same situation, but different error.

/usr/include/asm/processor.h:82: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:82: error: requested alignment is not a constant

This is the first of many errors I am trying to resolve. Googling away, I found some references 2.4 kernel compatibility. I am using kernel 2.6.21.5. I haven't been as good boy when it comes to patching, so there could be something in that. If anyone has any ideas for getting around this, please let me know.

Thanks

Phil
 
Old 01-01-2009, 02:04 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Would you please first tell us :
- what are your distribution and version (e.g. Slackware 12.2)
- what is the output of following command, types as root:
Code:
lspci|grep -i nvidia
- where did you get the driver and what is the full name of the file you dowloaded

Then hopefully we'll be able to help you.

PS I thought Nvidia made graphic cards not audio cards
 
Old 01-01-2009, 04:09 PM   #3
c_add_nine
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Hello

This is Slackware 12.0. I tried googling the mother board (ASUS a7n8x deluxe) to get the sound hardware spec. I stumbled across this driver, which to no surprise was loaded with RPMs and a tar ball, NVIDIA_nforce-1.0-0261.tar.gz, from http://www.nvidia.com/object/linux_nforce_1.0-0261.html.

root@darkstar:/usr/src# lspci|grep -i nvidia
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
03:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
root@darkstar:/usr/src#


Thanks

Phil
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sound server error: error initializing the sound driver SirPetrovich Slackware 18 12-16-2008 10:55 AM
Linker Error while compiling gspca module for ARM processor. ravi_chobey Linux - Software 0 07-08-2008 12:19 AM
Error in compiling my modem driver medorpg Linux - Networking 2 04-27-2005 06:38 PM
Newbie needs help compiling an alsa sound driver Steve9999 Linux - Newbie 3 02-25-2004 11:12 PM
Compiling A Sound Card Driver From .h And .c Files davescafe Linux - Newbie 1 01-28-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:58 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