Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-11-2010, 12:58 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2010
Posts: 6
Rep:
|
Can't compile ALSA with USB-support in Scientific Linux
Okey, my first post, so a friendly "HELLO WORLD!" from my side first
I've got a problem compiling the current ALSA-Drivers (1.0.22.1) for my Scientific Linux
uname -a
Linux comp_854 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 00:57:09 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
./configure --with-cards=emu20k1,usb-audio --with-sequencer=yes works fine but the make output bitches with
Quote:
In file included from /home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbaudio.inc:16,
from /home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbaudio.c:1:
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:20: error: redefinition of ‘usb_endpoint_dir_in’
include/linux/usb.h:474: error: previous definition of ‘usb_endpoint_dir_in’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:26: error: redefinition of ‘usb_endpoint_dir_out’
include/linux/usb.h:485: error: previous definition of ‘usb_endpoint_dir_out’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:32: error: redefinition of ‘usb_endpoint_xfer_bulk’
include/linux/usb.h:496: error: previous definition of ‘usb_endpoint_xfer_bulk’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:39: error: redefinition of ‘usb_endpoint_xfer_int’
include/linux/usb.h:521: error: previous definition of ‘usb_endpoint_xfer_int’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:46: error: redefinition of ‘usb_endpoint_xfer_isoc’
include/linux/usb.h:534: error: previous definition of ‘usb_endpoint_xfer_isoc’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:53: error: redefinition of ‘usb_endpoint_is_bulk_in’
include/linux/usb.h:547: error: previous definition of ‘usb_endpoint_is_bulk_in’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:59: error: redefinition of ‘usb_endpoint_is_bulk_out’
include/linux/usb.h:559: error: previous definition of ‘usb_endpoint_is_bulk_out’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:65: error: redefinition of ‘usb_endpoint_is_int_in’
include/linux/usb.h:571: error: previous definition of ‘usb_endpoint_is_int_in’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:71: error: redefinition of ‘usb_endpoint_is_int_out’
include/linux/usb.h:583: error: previous definition of ‘usb_endpoint_is_int_out’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:77: error: redefinition of ‘usb_endpoint_is_isoc_in’
include/linux/usb.h:595: error: previous definition of ‘usb_endpoint_is_isoc_in’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:83: error: redefinition of ‘usb_endpoint_is_isoc_out’
include/linux/usb.h:607: error: previous definition of ‘usb_endpoint_is_isoc_out’ was here
/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbcompat.h:91: error: redefinition of ‘usb_endpoint_xfer_control’
include/linux/usb.h:508: error: previous definition of ‘usb_endpoint_xfer_control’ was here
make[3]: *** [/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb/usbaudio.o] Error 1
make[2]: *** [/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1/usb] Error 2
make[1]: *** [_module_/home/wizard/Download/alsa/alsa-1.0.22/alsa-driver-1.0.22.1] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.11.1.el5-x86_64'
make: *** [compile] Error 2
|
Disabling the usb-audio device according to
./configure --with-cards=emu20k1,usb-audio=n --with-sequencer=yes
works. Also the make and the make install (as root) seems to compile without complain, but I need the usb-audio device (webcam-mic) ...
|
|
|
|
03-11-2010, 03:51 AM
|
#2
|
|
Member
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961
Rep:
|
Can you not just compile it into the kernel? Which is something you may want to look at anyway, you're using quite an old kernel there, a few years old.
|
|
|
|
03-11-2010, 05:54 AM
|
#4
|
|
Member
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961
Rep:
|
Oh, I assumed RHEL/ RHEL derivatives be on the same Kernel development cycle as others, I thought 2.6.18 was an old one.
Balls, there goes my quick answer 
|
|
|
|
03-11-2010, 07:35 AM
|
#5
|
|
LQ Newbie
Registered: Mar 2010
Posts: 6
Original Poster
Rep:
|
Well, yes, the beta testing period is scheduled to continue through March 16 ... Maybe this solves the problem.
Thanks for the replies!
In fact, I have an idea. Maybe in the late evening I get some time to try something ...
|
|
|
|
03-11-2010, 08:13 AM
|
#6
|
|
Member
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961
Rep:
|
Okay, are you compiling from a vendor specific tarball? Or the one from the alsa website?
|
|
|
|
03-12-2010, 12:29 AM
|
#7
|
|
LQ Newbie
Registered: Mar 2010
Posts: 6
Original Poster
Rep:
|
Quote:
Originally Posted by jamescondron
Okay, are you compiling from a vendor specific tarball? Or the one from the alsa website?
|
Directly from http://www.alsa-project.org.
|
|
|
|
03-13-2010, 02:31 AM
|
#8
|
|
LQ Newbie
Registered: Mar 2010
Posts: 6
Original Poster
Rep:
|
Okey, tried to outcommend the redefination section (I think the problem is due to the different kernel version!) and to compile.
Compilation successfull, but the sound device is still not working ...
Maybe I wait for a kernel update ...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:49 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|