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.
I'm having a little problem compiling Hydrogen (a fantastic wee drum machine) for Slackware. This problem seems to afflict only the most recent version, 0.9.1, as I have compiled earlier versions on the same system without problems. I get the following error message after having run make:
AlsaAudioDriver.cpp: In member function `virtual int
AlsaAudioDriver::connect()':
AlsaAudioDriver.cpp:191: invalid conversion from `unsigned int*' to `unsigned
int'
AlsaAudioDriver.cpp:199: invalid conversion from `unsigned int*' to `unsigned
int'
AlsaAudioDriver.cpp:226: invalid conversion from `unsigned int*' to `int*'
/usr/include/alsa/pcm.h:690: too many arguments to function `int
snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t*, int*)'
AlsaAudioDriver.cpp:226: at this point in file
/usr/include/alsa/pcm.h:752: too many arguments to function `snd_pcm_sframes_t
snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t*)'
AlsaAudioDriver.cpp:227: at this point in file
make[3]: *** [AlsaAudioDriver.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I seem to recall a similar problem occurring in another thread but with different error messages. Also the fix in that problem related to specific files in the installation directory which don't appear in quite the same format in the version of Hydrogen I'm trying to compile.
Any assistance will be greatly appreciated. I'm also going to post this on the Hydrogen forum.
I really like hydrogen too - so I was gonna look into it and see what I found for you.
But I'm runnning Hydrogen-0.9.3-cvs. I VERY seldom use cvs, so I got to thinking.
Somewhere in the back of my mind, I remember having a similar problem with installing
hydrogen, and I think thats why I got the cvs.
I'm currently using the snapshot from Dec 04, 2004, but there is a newer one as of Jan 10, 05.
I really don't like the posts much that say 'just use this instead', but like I said, I VERY vaugly recall
a similar error with the 0.9.1, but the cvs worked out great. Hope you get it working.
-tw
In regards to keefaz's post, just for the info, I'm running alsa-1.0.5 / slack provided kernel 2.6.7
AND 1 more thing - I think I had to install libsndfile-1.0.10 (not 100% on what version is requiered, but I needed to install it) to fullfill dependancies. I got that from linuxpackages.net
Having looked at the forums on the Hydrogen homepage, there is indeed a suggestion to use the development versions to work around this problem. As I can continue using FL Studio in WinXP for the time being, I think I'll pass on the CVS version and wait for the 0.9.2 release.
I really like the look of Hydrogen though - playing around on the previous releases gives me hope that I might be able to ditch the XP partition completely in the near future, as it's only really the lack of stable, fully-featured audio software for Linux which makes me keep it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.