Public bug reported:

Natty's kernel is linux 2.6.38 and it includes ALSA 1.0.23 stuff. But
the latest version of ALSA is 1.0.24. We can get the latest ALSA kernel
module source by installing alsa-source package but get compile error
below,

In file included from /usr/src/modules/alsa-driver/include/linux/config.h:4:0,
                 from /usr/src/modules/alsa-driver/include/alsa-autoconf.h:9,
                 from /usr/src/modules/alsa-driver/acore/memory_wrapper.c:1:
/usr/src/modules/alsa-driver/include/generated/autoconf.h:4600:0: warning: 
"CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2385:0: note: this is the location of the 
previous definition
In file included from /usr/src/modules/alsa-driver/include/linux/config.h:4:0,
                 from /usr/src/modules/alsa-driver/include/alsa-autoconf.h:9,
                 from /usr/src/modules/alsa-driver/acore/memalloc.inc:1,
                 from /usr/src/modules/alsa-driver/acore/memalloc.c:1:
/usr/src/modules/alsa-driver/include/generated/autoconf.h:4600:0: warning: 
"CONFIG_SND_HDA_INPUT_BEEP_MODE" redefined
./include/generated/autoconf.h:2385:0: note: this is the location of the 
previous definition
In file included from include/linux/pci.h:58:0,
                 from /usr/src/modules/alsa-driver/acore/memalloc.inc:13,
                 from /usr/src/modules/alsa-driver/acore/memalloc.c:1:
/usr/src/modules/alsa-driver/include/linux/pci_ids.h:2:58: fatal error: 
@CONFIG_SND_KERNELSRC@/include/linux/pci_ids.h: No such file or directory
compilation terminated.
make[3]: *** [/usr/src/modules/alsa-driver/acore/memalloc.o] Error 1
make[2]: *** [/usr/src/modules/alsa-driver/acore] Error 2
make[1]: *** [_module_/usr/src/modules/alsa-driver] Error 2
make: *** [compile] Error 2

This bus is related to "module-assistant" package.

I hope to fix this bug and to be able to generate the latest ALSA kernel
module package by utilizing module-assistant.

Regards

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: alsa-source 1.0.24+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  mocchi     1719 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe020000 irq 44'
   Mixer name   : 'Analog Devices AD1984'
   Components   : 'HDA:11d41984,17aa20d6,00100400'
   Controls      : 31
   Simple ctrls  : 19
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 
7MHT25WW-1.03'
   Mixer name   : 'ThinkPad EC 7MHT25WW-1.03'
   Components   : ''
   Controls      : 1
   Simple ctrls  : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Sat May  7 15:31:05 2011
InstallationMedia: Ubuntu-Studio 11.04 "Natty Narwhal" - Alpha i386 (20110112)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=ja_JP:ja:en_GB:en
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/09/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC1WW (2.21 )
dmi.board.name: 7675A63
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvr7NETC1WW(2.21):bd10/09/2009:svnLENOVO:pn7675A63:pvrThinkPadX61:rvnLENOVO:rn7675A63:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7675A63
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: alsa-source apport-bug i386 modulle-assistant natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/778887

Title:
  Compile error with "@CONFIG_SND_KERNELSRC@/include/linux/pci_ids.h: No
  such file or directory".

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to