Добрый день. не работает звук. при переустановки alsa, не получается собраться alsa-driver-1.0.25
версия ядра
uname -r
3.11.0-13-generic
вывод ./configure
alsa-driver-1.0.25$ sudo ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/eshim/alsa/alsa-driver-1.0.25
checking cross compile...
checking for directory with ALSA kernel sources... /home/eshim/alsa/alsa-driver-1.0.25/alsa-kernel
checking for directory with kernel source... /lib/modules/3.11.0-13-generic/build
checking for directory with kernel build... /lib/modules/3.11.0-13-generic/build
checking for kernel linux/version.h ... linux/version.h
checking for kernel linux/autoconf.h generated/autoconf.h... generated/autoconf.h
checking for kernel linux/utsrelease.h generated/utsrelease.h... generated/utsrelease.h
checking for kernel version... 3.11.0-13-generic
checking for GCC version... Kernel compiler: Used compiler: gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.
*** Please make sure that the same compiler version was used for building kernel.
checking for built-in ALSA... no
checking for existing ALSA module... yes
checking for Red Hat kernel... auto
checking for Red Hat kernel... no
checking for SUSE kernel... auto
checking for SUSE kernel... no
checking for updating alsa-kernel version.h... yes
checking for CONFIG_EXPERIMENTAL... yes
checking for directory to store kernel modules... /lib/modules/3.11.0-13-generic/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... no
checking for processor type... x86_64
checking for ISA DMA API... yes
checking for 32bit compat support... yes
checking for kernel linux/config.h... no
Creating <linux/config.h>...
checking for deprecated linux/config.h... checking to modify of kernel linux/kmod.h... no
checking for kernel linux/utsrelease.h... no
Creating a dummy <linux/utsrelease.h>...
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/spinlock.h... yes
checking for kernel linux/irq.h... yes
checking for kernel linux/threads.h... yes
checking for kernel linux/rwsem.h... yes
checking for kernel linux/gameport.h... yes
checking for kernel linux/export.h... yes
checking for kernel media/v4l2-dev.h... yes
checking for kernel linux/devfs_fs_kernel.h... no
Creating a dummy <linux/devfs_fs_kernel.h>...
checking for kernel linux/highmem.h... yes
checking for kernel linux/ratelimit.h... yes
checking for kernel linux/workqueue.h... yes
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... yes
checking for kernel linux/isa.h... yes
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
checking for kernel linux/log2.h... yes
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/io.h... yes
checking for kernel linux/moduleparam.h... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... yes
checking for kernel linux/pm_qos.h... yes
checking for kernel linux/pm_qos_params.h... no
Creating <linux/pm_qos_params.h>...
checking for kernel linux/kthread.h... yes
checking for kernel asm/irq_regs.h... yes
checking for kernel linux/seq_file.h... yes
checking for kernel linux/debugfs.h... yes
checking for kernel linux/gpio.h... yes
checking for kernel linux/bug.h... yes
checking for kernel linux/math64.h... yes
checking for kernel linux/regulator/consumer.h... yes
checking for kernel linux/dmi.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/hrtimer.h... yes
checking for kernel linux/gcd.h... yes
checking for kernel linux/gfp.h... yes
checking for kernel pcmcia/cs_types.h... no
Creating <pcmcia/cs_types.h>...
checking for kernel pcmcia/cs.h... no
Creating <pcmcia/cs.h>...
checking for kernel linux/lzo.h... yes
checking for kernel linux/async.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/smp_lock.h... no
Creating a dummy <linux/smp_lock.h>...
checking for kernel linux/i8253.h... yes
checking for kernel linux/atomic.h... yes
Copying trace/events headers
checking for kernel linux/tracepoint.h... yes
checking for kernel trace/define_trace.h... yes
Creating a workaround <linux/tracepoint.h>...
checking for kernel module symbol versions... yes
checking for has ioport support... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... yes
checking for I2C_POWERMAC in kernel... unknown
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for pc-speaker platform in kernel... yes
checking for SMP... yes
checking for Video device support in kernel... yes
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... no
checking for Kernel ISA-PnP module support... no
checking for strlcpy... no
checking for snprintf... no
checking for vsnprintf... no
checking for scnprintf... no
checking for sscanf... no
checking for vmalloc_to_page... no
checking for vzalloc... no
checking for old kmod... yes
checking for PDE... no
checking for pci_set_consistent_dma_mask... no
checking for pci_dev_present... no
checking for msleep... no
checking for msecs_to_jiffies... no
checking for tty->count is the atomic type... no
checking for video_drvdata... no
checking for V4L1 layer... no
checking for V4L2 layer... yes
checking for kernel media/v4l2-ctrls.h... yes
checking for io_remap_pfn_range... no
checking for new io_remap_page_range... no
checking for kcalloc... no
checking for kstrdup... no
checking for kstrndup... no
checking for kzalloc... no
checking for create_workqueue with flags... no
checking for pci_ioremap_bar... no
checking for saved_config_space in pci_dev... no
checking for register_sound_special_device... no
checking for driver extra-version...
checking for driver version... 1.0.25
checking for dynamic minor numbers... no
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for OSS PCM plugin system inclusion... yes
checking for RTC support... no
checking for HPET support... yes
checking for Procfs support... yes
checking for USB support... yes
checking for kernel linux/usb/audio-v2.h... yes
checking for kernel linux/usb/audio.h... yes
checking for valid v1 in linux/usb/audio.h... no
Creating <linux/usb/audio.h>...
checking for valid linux/usb/audio-v2.h... no
Creating <linux/usb/audio-v2.h>...
checking for kernel linux/usb/ch9.h... yes
checking usb_alloc_coherent... no
checking for class_simple... no
checking for old driver suspend/resume callbacks... no
checking for removal of page-reservation for nopage/mmap... no
checking for nested class_device... no
checking for new IRQ handler... no
checking for gfp_t... no
checking for GFP_DMA32... no
checking for page_to_pfn... no
checking for PnP suspend/resume... no
checking for device_create_drvdata... no
checking for pm_qos_request... no
checking for static pm_qos_request... no
checking for new unlocked/compat_ioctl... no
checking for builtin _Bool support... yes
checking for x86-compatible PC... no
checking for High-Res timers... yes
checking for kernel PCMCIA
checking for PCMCIA support... yes
checking for PC9800 support in kernel... no
checking for parallel port support... yes
checking for power management... yes
checking for CONFIG_HAS_DMA... yes
checking for FireWire support... yes
checking for cards to compile driver for... all
checking for additonal options to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: WARNING: 'Makefile.conf.in' seems to ignore the --datarootdir setting
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/pci_ids_compat.h
config.status: creating include/i2c-id_compat.h
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
Hacking autoconf.h...
ошибка при компиляции
Hunk #11 succeeded at 803 (offset 1 line).
make[3]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25/usb/usx2y'
make[2]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25/usb'
make[2]: Entering directory `/home/eshim/alsa/alsa-driver-1.0.25/pcmcia'
make[3]: Entering directory `/home/eshim/alsa/alsa-driver-1.0.25/pcmcia/pdaudiocf'
make[3]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25/pcmcia/pdaudiocf'
make[3]: Entering directory `/home/eshim/alsa/alsa-driver-1.0.25/pcmcia/vx'
make[3]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25/pcmcia/vx'
make[2]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25/pcmcia'
make[2]: Entering directory `/home/eshim/alsa/alsa-driver-1.0.25/misc'
make[2]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25/misc'
make[2]: Entering directory `/home/eshim/alsa/alsa-driver-1.0.25/firewire'
copying file alsa-kernel/firewire/cmp.c
Ignoring potentially dangerous file name ../alsa-kernel/firewire/cmp.c
patching file cmp.c
copying file alsa-kernel/firewire/iso-resources.c
Ignoring potentially dangerous file name ../alsa-kernel/firewire/iso-resources.c
patching file iso-resources.c
Hunk #2 succeeded at 17 (offset 1 line).
Hunk #3 succeeded at 31 (offset 1 line).
Hunk #4 succeeded at 52 (offset 1 line).
Hunk #5 succeeded at 141 (offset 1 line).
Hunk #6 succeeded at 200 (offset 1 line).
Hunk #7 succeeded at 242 (offset 1 line).
make[2]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25/firewire'
make[1]: Leaving directory `/home/eshim/alsa/alsa-driver-1.0.25'
make -C /lib/modules/3.11.0-13-generic/build SUBDIRS=/home/eshim/alsa/alsa-driver-1.0.25 CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-13-generic'
CC [M] /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.o
In file included from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:0:
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:293:0: warning: "GFP_DMA32" redefined [enabled by default]
#define GFP_DMA32 0 /* driver must check for 32-bit address */
^
In file included from include/linux/kmod.h:22:0,
from include/linux/module.h:13,
from /home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:63,
from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:
include/linux/gfp.h:154:0: note: this is the location of the previous definition
#define GFP_DMA32 __GFP_DMA32
^
In file included from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:0:
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:752:28: error: static declaration of ‘jiffies_to_msecs’ follows non-static declaration
static inline unsigned int jiffies_to_msecs(const unsigned long j)
^
In file included from include/linux/ktime.h:25:0,
from include/linux/timer.h:5,
from include/linux/workqueue.h:8,
from include/linux/srcu.h:34,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:797,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:63,
from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:
include/linux/jiffies.h:295:21: note: previous declaration of ‘jiffies_to_msecs’ was here
extern unsigned int jiffies_to_msecs(const unsigned long j);
^
In file included from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:0:
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:771:29: error: static declaration of ‘msecs_to_jiffies’ follows non-static declaration
static inline unsigned long msecs_to_jiffies(const unsigned int m)
^
In file included from include/linux/ktime.h:25:0,
from include/linux/timer.h:5,
from include/linux/workqueue.h:8,
from include/linux/srcu.h:34,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:797,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:63,
from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:
include/linux/jiffies.h:297:22: note: previous declaration of ‘msecs_to_jiffies’ was here
extern unsigned long msecs_to_jiffies(const unsigned int m);
^
In file included from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:0:
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:674:31: error: conflicting types for ‘snd_compat_vmalloc_to_page’
#define vmalloc_to_page(addr) snd_compat_vmalloc_to_page(addr)
^
include/linux/mm.h:302:14: note: in expansion of macro ‘vmalloc_to_page’
struct page *vmalloc_to_page(const void *addr);
^
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:673:14: note: previous declaration of ‘snd_compat_vmalloc_to_page’ was here
struct page *snd_compat_vmalloc_to_page(void *addr);
^
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:702:42: error: expected identifier or ‘(’ before numeric constant
#define pci_set_consistent_dma_mask(p,x) 0 /* success */
^
include/asm-generic/pci-dma-compat.h:110:19: note: in expansion of macro ‘pci_set_consistent_dma_mask’
static inline int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask)
^
In file included from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:0:
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h: In function ‘snd_pci_orig_save_state’:
/home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:1136:2: error: too many arguments to function ‘pci_save_state’
return pci_save_state(pci, buffer);
^
In file included from /home/eshim/alsa/alsa-driver-1.0.25/include/adriver.h:877:0,
from /home/eshim/alsa/alsa-driver-1.0.25/acore/hrtimer.c:1:
include/linux/pci.h:941:5: note: declared here
int pci_save_state(struct pci_dev *dev);
вывод lspci
lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
вывод lsmod
lsmod
Module Size Used by
x86_pkg_temp_thermal 14162 0
intel_powerclamp 14705 0
coretemp 13435 0
snd_hda_codec_realtek 56553 1
i915 655752 2
kvm 431315 0
snd_hda_intel 48210 3
snd_hda_codec 188852 2 snd_hda_codec_realtek,snd_hda_intel
joydev 17377 0
crct10dif_pclmul 14289 0
snd_hwdep 13602 1 snd_hda_codec
crc32_pclmul 13113 0
snd_pcm 102033 2 snd_hda_codec,snd_hda_intel
ghash_clmulni_intel 13259 0
drm_kms_helper 52651 1 i915
drm 296739 3 i915,drm_kms_helper
cryptd 20329 1 ghash_clmulni_intel
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
snd_timer 29433 1 snd_pcm
i2c_algo_bit 13413 1 i915
snd 69141 12 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
mei_me 18421 0
soundcore 12680 1 snd
mei 77692 1 mei_me
lpc_ich 21080 0
microcode 23518 0
psmouse 97626 0
serio_raw 13413 0
video 19318 1 i915
mac_hid 13205 0
lp 17759 0
parport 42299 1 lp
hid_generic 12548 0
usbhid 53014 0
hid 105818 2 hid_generic,usbhid
usb_storage 62062 1
r8169 67341 0
mii 13934 1 r8169
подскажите как сделать звук, люди добрые.