error compiling alsa driver 1.0.9b on slackware 10.2
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.