LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-13-2005, 08:18 PM   #1
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Slackware 14.1 [3.x]
Posts: 182

Rep: Reputation: 30
Question error compiling alsa driver 1.0.9b on slackware 10.2


i get this error message after I do make, proceeding ./configure
Code:
/home/dude/alsa-driver-1.0.9b/usb/usbaudio.c: In function 
`deactivate_urbs':
/home/dude/alsa-driver-1.0.9b/usb/usbaudio.c:713: error: 
`URB_ASYNC_UNLINK' undeclared (first use in this function)
/home/dude/alsa-driver-1.0.9b/usb/usbaudio.c:713: error: (Each undeclared 
identifier is reported only once
/home/dude/alsa-driver-1.0.9b/usb/usbaudio.c:713: error: for each function 
it appears in.)
make[4]: *** [/home/dude/alsa-driver-1.0.9b/usb/usbaudio.o] Error 1
make[3]: *** [/home/dude/alsa-driver-1.0.9b/usb] Error 2
make[2]: *** [_module_/home/dude/alsa-driver-1.0.9b] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14.2'
make: *** [compile] Error 2
i suspect i need to deactive something in the kernel?

something about usb audio... makes no sense, i just got a pci card or something. hehe

please help dudes.
 
Old 11-13-2005, 08:42 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,808

Rep: Reputation: 234Reputation: 234Reputation: 234
Why not use the alsa drivers in the kernel? They're the same thing.
 
Old 11-13-2005, 08:44 PM   #3
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Slackware 14.1 [3.x]
Posts: 182

Original Poster
Rep: Reputation: 30
The reason i don't use alsa from the kernel, is because im not sure what the hell is my soundcard...

if i would like to deactive usb sound on the makefile... what makefile should I edit?
 
Old 11-13-2005, 10:32 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,808

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by salviadud
The reason i don't use alsa from the kernel, is because im not sure what the hell is my soundcard...
So build all of the modules.
 
Old 11-13-2005, 11:35 PM   #5
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Slackware 14.1 [3.x]
Posts: 182

Original Poster
Rep: Reputation: 30
should i build them as modules <M> or built into the kernel <*>?

still, i don't like it that way. perhaps i should go back to 2.6.13?
 
Old 11-14-2005, 12:02 AM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,808

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by salviadud
should i build them as modules <M> or built into the kernel <*>?

still, i don't like it that way. perhaps i should go back to 2.6.13?
Modules <M> are the best option.

What is the difference between doing it this way and building the driver package? IMO, including them as part of the kernel build is the cleanest option.
 
Old 11-14-2005, 12:23 AM   #7
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Yea, this happened to me as well as soon as I switched to 2.6.14.... The latest tarballs from alsa have fixed this but I'm still getting some other problems afterwards when trying to run alsamixer.
 
Old 11-14-2005, 02:44 AM   #8
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Slackware 14.1 [3.x]
Posts: 182

Original Poster
Rep: Reputation: 30
guys, im sorry i even started this thread, i already reverted to 2.6.13.1 and well, it works... im happy with that. the linux kernel gets tweaked so much, i wonder why.......

well. anyways, when they get to fix 2.6.14, ill give it a shot, maybe.

thanx a lot anyways.
 
Old 11-14-2005, 03:16 AM   #9
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,808

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by salviadud
guys, im sorry i even started this thread, i already reverted to 2.6.13.1 and well, it works... im happy with that. the linux kernel gets tweaked so much, i wonder why.......
2.6.14 with alsa on Slackware 10.2 works fine for me here. Maybe there was an incorrect option selected in your kernel config.

The kernel is always being tweaked for several reasons. Not least of these are security fixes and drivers for new hardware.

Now that you have it working under 2.6.13.1, run an 'lsmod' to see which modules are being loaded. Modify your 2.6.14 kernel config to suit. Hint: the alsa module names all start with 'snd'
 
Old 11-14-2005, 05:36 AM   #10
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Slackware 14.1 [3.x]
Posts: 182

Original Poster
Rep: Reputation: 30
I'm sorry again, when I said kernel 2.6.14, I meant, 2.6.14.2

so... maybe that one in specific has some trouble there...

security fixes, I agree, gotta be tight. still I don't run a website or have very useful info. just the usual honeypot pr0n and music.

maybe I'll try 2.6.14... but, in the meantime... ill get some sleep. hehe
 
  


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
trouble compiling alsa drivers on slackware 10.1, kernels 2.6.11.8 and 2.6.12.5 salviadud Linux - Software 3 08-17-2005 06:25 PM
'make' error compiling alsa driver rickh Debian 3 05-14-2005 01:28 AM
alsa driver compilation error darkleaf Linux - Software 4 07-08-2004 01:45 PM
Newbie needs help compiling an alsa sound driver Steve9999 Linux - Newbie 3 02-26-2004 12:12 AM
alsa driver error wincrk Linux - Hardware 5 03-22-2003 01:45 AM


All times are GMT -5. The time now is 10:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration