From: SourceForge.net <no...@so...> - 2004-11-18 15:38:24
|
Bugs item #1068670, was opened at 2004-11-18 13:12 Message generated for change (Comment added) made by markround You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=596648&aid=1068670&group_id=91293 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Round (markround) Assigned to: Nobody/Anonymous (nobody) Summary: Solaris build wrongly uses /dev/dsp Initial Comment: Hi, When building on Solaris (gcc or Sun's CC), the resulting binary attempts to open /dev/dsp, which does not exist on Solaris. I can see through a quick look at the source that you do support Sun's /dev/audio device - but for some reason, this is not getting picked up by the build process. This occurs on Solaris 8, both Sparc and Intel. ---------------------------------------------------------------------- >Comment By: Mark Round (markround) Date: 2004-11-18 15:38 Message: Logged In: YES user_id=1161605 Excellent - this looks like it works, thanks. Both the Sparc and x86 builds now try to open /dev/audio (I can't verify this actually works, as I don't have sound on my Sun boxes - but I will get friends to test on theirs). Thanks again for the quick response - and for a quality bit of software in the first place... I'm now off to dust off my Manic Miner skills :) ---------------------------------------------------------------------- Comment By: Philip Kendall (pak21) Date: 2004-11-18 14:28 Message: Logged In: YES user_id=29214 The "problem" is that <sys/soundcard.h> exists; the Solaris box which I formerly had access didn't have <sys/soundcard.h>. Given that none of the OSS-using boxes I have access to have <sys/audio.h>, swapping the order of the tests in sound/lowlevel.h should be OK. Can you apply the attached patch and tell me if it fixes the problem? ---------------------------------------------------------------------- Comment By: Mark Round (markround) Date: 2004-11-18 13:47 Message: Logged In: YES user_id=1161605 Version of fuse : 0.7.0 User interface : GTK2 Config.h - attached bash-2.03$ ls -l /usr/include/sys/soundcard.h -rw-r--r-- 1 root other 61889 Sep 14 2003 /usr/include/sys/soundcard.h bash-2.03$ ls -l /usr/include/sys/audio.h -rw-r--r-- 1 root bin 2504 Jun 2 06:38 /usr/include/sys/audio.h Thanks for looking at this :) -Mark ---------------------------------------------------------------------- Comment By: Philip Kendall (pak21) Date: 2004-11-18 13:24 Message: Logged In: YES user_id=29214 * Which version of Fuse are you using? * Which user interface are you using? * Could you post your config.h (crucially, the lines mentioning HAVE_SYS_SOUNDCARD_H and HAVE_SYS_AUDIO_H)? * Do <sys/soundcard.h> and/or <sys/audio.h> exist on your system? Cheers! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=596648&aid=1068670&group_id=91293 |