LinuxQuestions.org
Help answer threads with 0 replies.
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 04-10-2006, 09:54 PM   #1
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
Error compiling alsa-driver with slack 10.2 and 2.6.16.2


I've just done a fresh install of Slack 10.2, upgrading from my aging 10.1 installation.

Sounds worked fine with the stock 2.4.31 kernel and alsa packages, alsaconf successfully detects my sound card (integrated SiS 7012, using intel8x0 driver). I recompiled my kernel (2.6.16.2), with just soundcore enabled but no alsa or oss. I had planned on compiling the alsa stuff as modules from the sources at alsa-project.org because that is what I had to do when I installed 2.6 on my previous Slack 10 installation.

So I download, untar and try to compile alsa-driver-1.0.10.
I configure it using:

./configure --with-cards=intel8x0 --with-sequencer=yes

but when I run make, I get this error (this is just the end part of the output):

make[1]: Entering directory `/usr/src/linux-2.6.16.2'
CC [M] /home/kovacs/alsa/alsa-driver-1.0.10/acore/memalloc.o
CC [M] /home/kovacs/alsa/alsa-driver-1.0.10/acore/sgbuf.o
In file included from /home/kovacs/alsa/alsa-driver-1.0.10/include/adriver.h:770,
from /home/kovacs/alsa/alsa-driver-1.0.10/acore/sgbuf.c:13:
include/linux/pci.h:460: error: syntax error before numeric constant
make[4]: *** [/home/kovacs/alsa/alsa-driver-1.0.10/acore/sgbuf.o] Error 1
make[3]: *** [/home/kovacs/alsa/alsa-driver-1.0.10/acore] Error 2
make[2]: *** [_module_/home/kovacs/alsa/alsa-driver-1.0.10] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.2'
make: *** [compile] Error 2

The 2.6.16.2 kernel source is in /usr/src/linux, I also have the 2.4.31 kernel headers installed but have removed the 2.4.31 source and modules packages.

Any ideas?
 
Old 04-10-2006, 09:59 PM   #2
ingvildr
Member
 
Registered: Mar 2005
Location: England, South East
Distribution: Fedora
Posts: 358

Rep: Reputation: 30
i had trouble with the 1.0.10 alsa driver and the .16 kernel too, you could either use a .15 kernel or go grab version 1.0.11 of the alsa drivers.
 
Old 04-10-2006, 10:03 PM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
You are using the 1.0.10.
take a look at the slackware-current changelog:
Quote:
l/alsa-driver-1.0.11rc3_2.4.32-i486-1.tgz: Upgraded to lsa-driver-1.0.11rc3 compiled for Linux 2.4.32. The 2.6.15.6 kernel does not work properly using the modules in alsa-driver-1.0.10, but works fine with these. Although I'm normally against using release candidates, I thought in this case that the version of alsa-driver used by the 2.4 and 2.6 kernels should be the same since the package does install some header files that would overlap. It's worked fine on both 2.4.32 and 2.6.15.6 here, and the other alsa-* packages compile against it without errors (so I don't see a need to update those). I think this will work, but let me know if this upgrade causes any problems.
 
Old 04-10-2006, 10:40 PM   #4
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Original Poster
Rep: Reputation: 32
Thanks guys, I downloaded and compiled 1.0.11rc4 and it works fine.
 
  


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
alsa compiling error cselph Linux - Hardware 3 12-17-2005 08:38 AM
error compiling alsa driver 1.0.9b on slackware 10.2 salviadud Slackware 9 11-14-2005 05:36 AM
'make' error compiling alsa driver rickh Debian 3 05-14-2005 01:28 AM
Newbie needs help compiling an alsa sound driver Steve9999 Linux - Newbie 3 02-26-2004 12:12 AM
alsa driver not working with neomagic sound card on slack 9.1 the puppet Linux - Software 6 12-16-2003 09:11 PM

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

All times are GMT -5. The time now is 08:52 AM.

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