On Thu, 2012-05-24 at 08:06 +0200, Maxime Guillaud wrote:
> Hi all,
> 
> I am trying to compile FG under Xubuntu 12.04 using Brisa's script (version 
> 1.31). At
> first sight the compilation went fine, however sound is not working: when I 
> run fgfs I
> get the following error and no sound:
> 
> AL lib: oss.c:169: Could not open /dev/dsp: No such file or directory
> Error: Audio device not available, trying default
> AL lib: oss.c:169: Could not open /dev/dsp: No such file or directory
> Error: Default Audio device not available.

/dev/dsp is Open Sound System specific. Ubuntu 12.04 does not faire well
with Open Sound System (although I've got it working on my laptop, just
for testing).

But this is really OpenAL telling it can't find any output devices. You
could try running openal-info but I expect it will also show no output
devices in which case Linux does not seem to find your hardware somehow.

Erik

> 
> (and indeed there is no /dev/dsp device on my machine).
> 
> A closer look at the compilation log
> (http://www.mguillaud.net/fg/compilation_log_20120523.txt) reveals that PLIB 
> fails
> to compile due to some incompatibility with the OSS interface (the 
> compilation script
> does not stop, though).

FlightGear doesn't use the PLIB sl library anymore so that should not be
a problem.
> 
> Then I tried to build OSG, Simgear and FGFS against the PLIB version from the 
> Ubuntu
> repositories instead - same result. Compilation goes fine, but running fgfs 
> with
> "--show-sound-devices" produces the same errors as above, and then:
> 
> unknown provided by unknown
> No. Device

The line 'unknown provided by unknown' is suspicious, it seems to find a
version of OpenAL but could not detect which one..? That should not
happen.

Erik


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to