LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 12-16-2008, 09:48 PM   #1
Junko77
Member
 
Registered: Dec 2008
Distribution: Xubuntu 8.10
Posts: 30

Rep: Reputation: 15
Alsa Driver 1.0.9 Install Failure in Ubuntu 8.10


Hey, can anyone tell help with installing the alsa driver 1.0.9 for an hda intel sound card? Every time I try to compile (or install) the driver in terminal it fails. The alsa-utils and the alsa-lib compile and install fine. I followed the instructions on this page: https://help.ubuntu.com/community/HdaIntelSoundHowto

My output for the sudo make command for the driver:

if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9rc4a/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-1.0.9rc4a/include -I/lib/modules/2.6.27-9-generic/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /lib/modules/2.6.27-9-generic/build/include/linux/modversions.h -DKBUILD_BASENAME=hpetimer -c -o hpetimer.o hpetimer.c
cc1: error: /lib/modules/2.6.27-9-generic/build/include/linux/modversions.h: No such file or directory
In file included from hpetimer.c:22:
/usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:29:26: error: linux/config.h: No such file or directory
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/kernel.h:18,
from /lib/modules/2.6.27-9-generic/build/include/linux/cache.h:4,
from /lib/modules/2.6.27-9-generic/build/include/asm/pda.h:7,
from /lib/modules/2.6.27-9-generic/build/include/asm/current.h:19,
from /lib/modules/2.6.27-9-generic/build/include/asm/processor.h:15,
from /lib/modules/2.6.27-9-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.27-9-generic/build/include/linux/list.h:6,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:9,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/linux/ratelimit.h: In function ‘ratelimit’:
/lib/modules/2.6.27-9-generic/build/include/linux/ratelimit.h:23: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/lib/modules/2.6.27-9-generic/build/include/linux/ratelimit.h:23: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.27-9-generic/build/include/linux/ratelimit.h:23: error: for each function it appears in.)
In file included from /lib/modules/2.6.27-9-generic/build/include/asm/current.h:19,
from /lib/modules/2.6.27-9-generic/build/include/asm/processor.h:15,
from /lib/modules/2.6.27-9-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.27-9-generic/build/include/linux/list.h:6,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:9,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/asm/pda.h: At top level:
/lib/modules/2.6.27-9-generic/build/include/asm/pda.h:40: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
/lib/modules/2.6.27-9-generic/build/include/asm/pda.h:40: error: requested alignment is not a constant
In file included from /lib/modules/2.6.27-9-generic/build/include/asm/percpu.h:105,
from /lib/modules/2.6.27-9-generic/build/include/asm/processor.h:19,
from /lib/modules/2.6.27-9-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.27-9-generic/build/include/linux/list.h:6,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:9,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/asm-generic/percpu.h:22: error: ‘CONFIG_NR_CPUS’ undeclared here (not in a function)
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.27-9-generic/build/include/linux/list.h:6,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:9,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h:112: error: requested alignment is not a constant
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.27-9-generic/build/include/linux/list.h:6,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:9,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h:152:1: warning: "cache_line_size" redefined
In file included from /lib/modules/2.6.27-9-generic/build/include/asm/pda.h:7,
from /lib/modules/2.6.27-9-generic/build/include/asm/current.h:19,
from /lib/modules/2.6.27-9-generic/build/include/asm/processor.h:15,
from /lib/modules/2.6.27-9-generic/build/include/linux/prefetch.h:14,
from /lib/modules/2.6.27-9-generic/build/include/linux/list.h:6,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:9,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/linux/cache.h:64:1: warning: this is the location of the previous definition
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h: In function ‘load_cr3’:
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h:184: error: ‘CONFIG_PAGE_OFFSETUL’ undeclared (first use in this function)
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h: At top level:
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h:233: error: requested alignment is not a constant
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h:270: error: requested alignment is not a constant
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h: In function ‘wbinvd_halt’:
/lib/modules/2.6.27-9-generic/build/include/asm/processor.h:751: warning: implicit declaration of function ‘halt’
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/mmzone.h:16,
from /lib/modules/2.6.27-9-generic/build/include/linux/gfp.h:4,
from /lib/modules/2.6.27-9-generic/build/include/linux/kmod.h:22,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:13,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/linux/nodemask.h: In function ‘__first_node’:
/lib/modules/2.6.27-9-generic/build/include/linux/nodemask.h:233: warning: implicit declaration of function ‘find_first_bit’
/lib/modules/2.6.27-9-generic/build/include/linux/nodemask.h: In function ‘__next_node’:
/lib/modules/2.6.27-9-generic/build/include/linux/nodemask.h:239: warning: implicit declaration of function ‘find_next_bit’
/lib/modules/2.6.27-9-generic/build/include/linux/nodemask.h: In function ‘__first_unset_node’:
/lib/modules/2.6.27-9-generic/build/include/linux/nodemask.h:257: warning: implicit declaration of function ‘find_first_zero_bit’
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/gfp.h:4,
from /lib/modules/2.6.27-9-generic/build/include/linux/kmod.h:22,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:13,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/linux/mmzone.h: At top level:
/lib/modules/2.6.27-9-generic/build/include/linux/mmzone.h:75: error: requested alignment is not a constant
/lib/modules/2.6.27-9-generic/build/include/linux/mmzone.h:126: error: requested alignment is not a constant
/lib/modules/2.6.27-9-generic/build/include/linux/mmzone.h:335: error: requested alignment is not a constant
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/smp.h:28,
from /lib/modules/2.6.27-9-generic/build/include/linux/topology.h:33,
from /lib/modules/2.6.27-9-generic/build/include/linux/mmzone.h:683,
from /lib/modules/2.6.27-9-generic/build/include/linux/gfp.h:4,
from /lib/modules/2.6.27-9-generic/build/include/linux/kmod.h:22,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:13,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/asm/smp.h:161:1: warning: "cpu_physical_id" redefined
/lib/modules/2.6.27-9-generic/build/include/asm/smp.h:120:1: warning: this is the location of the previous definition
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/elf.h:7,
from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:14,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h: In function ‘start_ia32_thread’:
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:153: warning: implicit declaration of function ‘load_gs_index’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h: In function ‘elf_common_init’:
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:166: error: ‘struct pt_regs’ has no member named ‘r8’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:166: error: ‘struct pt_regs’ has no member named ‘r9’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:166: error: ‘struct pt_regs’ has no member named ‘r10’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:166: error: ‘struct pt_regs’ has no member named ‘r11’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:167: error: ‘struct pt_regs’ has no member named ‘r12’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:167: error: ‘struct pt_regs’ has no member named ‘r13’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:167: error: ‘struct pt_regs’ has no member named ‘r14’
/lib/modules/2.6.27-9-generic/build/include/asm/elf.h:167: error: ‘struct pt_regs’ has no member named ‘r15’
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/module.h:21,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/adriver.h:45,
from /usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:42,
from hpetimer.c:22:
/lib/modules/2.6.27-9-generic/build/include/asm/module.h:70:2: error: #error unknown processor family
In file included from /lib/modules/2.6.27-9-generic/build/include/asm/hardirq_64.h:5,
from /lib/modules/2.6.27-9-generic/build/include/asm/hardirq.h:4,
from /lib/modules/2.6.27-9-generic/build/include/linux/hardirq.h:7,
from /lib/modules/2.6.27-9-generic/build/include/linux/interrupt.h:11,
from hpetimer.c:26:
/lib/modules/2.6.27-9-generic/build/include/linux/irq.h: At top level:
/lib/modules/2.6.27-9-generic/build/include/linux/irq.h:179: error: requested alignment is not a constant
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/sched.h:55,
from /lib/modules/2.6.27-9-generic/build/include/linux/interrupt.h:12,
from hpetimer.c:26:
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:39:3: error: #error Invalid value of HZ.
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
/lib/modules/2.6.27-9-generic/build/include/linux/jiffies.h:247:31: error: division by zero in #if
In file included from /lib/modules/2.6.27-9-generic/build/include/linux/sched.h:77,
from /lib/modules/2.6.27-9-generic/build/include/linux/interrupt.h:12,
from hpetimer.c:26:
/lib/modules/2.6.27-9-generic/build/include/linux/proportions.h: In function ‘prop_inc_percpu’:
/lib/modules/2.6.27-9-generic/build/include/linux/proportions.h:75: warning: implicit declaration of function ‘local_irq_save’
/lib/modules/2.6.27-9-generic/build/include/linux/proportions.h:77: warning: implicit declaration of function ‘local_irq_restore’
In file included from hpetimer.c:28:
/usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/core.h:26:51: error: asm/semaphore.h: No such file or directory
hpetimer.c: In function ‘snd_hpet_open’:
hpetimer.c:41: warning: implicit declaration of function ‘hpet_register’
hpetimer.c:44: warning: implicit declaration of function ‘hpet_control’
hpetimer.c: In function ‘snd_hpet_close’:
hpetimer.c:51: warning: implicit declaration of function ‘hpet_unregister’
make[1]: *** [hpetimer.o] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9rc4a/acore'
make: *** [compile] Error 1
 
Old 12-17-2008, 03:41 AM   #2
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 227

Rep: Reputation: 54
Quote:
cc1: error: /lib/modules/2.6.27-9-generic/build/include/linux/modversions.h: No such file or directory
In file included from hpetimer.c:22:
/usr/src/alsa/alsa-driver-1.0.9rc4a/include/sound/driver.h:29:26: error: linux/config.h: No such file or directory
You won't be able to compile the alsa-driver package without the kernel source.
(In some distributions, the package you need is called kernel-headers.)

Furthermore, ALSA 1.0.9rc4a is so old that it doesn't know about your kernel version; better use 1.0.18a.
 
Old 12-18-2008, 01:50 PM   #3
Junko77
Member
 
Registered: Dec 2008
Distribution: Xubuntu 8.10
Posts: 30

Original Poster
Rep: Reputation: 15
thanks for replying cladisch. I got the new driver and installed the headers, but how do I install the driver now? I tried the same method as 1.0.9 but it doesn't work. Could you please give me instructions on how to install the driver, lib, utils, tools, and plugins in a shell?
 
Old 12-18-2008, 03:57 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,380
Blog Entries: 3

Rep: Reputation: 169Reputation: 169
make
sudo make install
make sure you have the devlopment packages in instaled but I am not sure why you want this alsa is installed already from the disk. if you have no sound then ask that question.

Last edited by Drakeo; 12-18-2008 at 04:00 PM.
 
Old 12-31-2008, 10:05 PM   #5
Junko77
Member
 
Registered: Dec 2008
Distribution: Xubuntu 8.10
Posts: 30

Original Poster
Rep: Reputation: 15
thanks Drakeo. If the problem isn't alsa than what is it?
 
  


Reply

Tags
alsa, driver, hda, incompatible, intel, sound, ubuntu


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alsa Driver Install Errors in Ubuntu 8.10 Junko77 Linux - Newbie 2 12-18-2008 01:57 PM
Epox ep--8kda3+ ubuntu 7.10 install failure lordrayden75 Linux - Hardware 2 04-04-2008 02:14 AM
i tried to install alsa driver but always had error :( adam_blackice Linux - Desktop 7 11-09-2006 03:59 AM
Cant install alsa-driver icebyte Linux - Software 5 05-20-2006 02:53 PM
ATi driver install failure stabile007 Slackware 13 08-06-2004 10:50 AM


All times are GMT -5. The time now is 07:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration