LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Error compiling sound driver - CONFIG_X86_L1_CACHE_SHIFT processor.h (https://www.linuxquestions.org/questions/slackware-14/error-compiling-sound-driver-config_x86_l1_cache_shift-processor-h-694171/)

c_add_nine 12-31-2008 09:12 PM

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

Didier Spaier 01-01-2009 02:04 PM

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 :scratch:

c_add_nine 01-01-2009 04:09 PM

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


All times are GMT -5. The time now is 05:43 AM.