project-navigation
Personal tools

Author Topic: compilation error: snd_ref.c 'AL_FORMAT_STEREO16' undeclared  (Read 2371 times)

asdmin

  • Guest
compilation error: snd_ref.c 'AL_FORMAT_STEREO16' undeclared
« on: December 01, 2006, 09:40:08 am »
Hello,

I'd like to compile the game but got this error:
Quote
make debbinary
[...lot of messages without errors...]
/usr/bin/make BUILDDIR=/media/extend/downloading/ufoai/build
make[1]: Entering directory `/media/extend/downloading/ufoai'
 * [UFO] src/client/snd_ref.c
src/client/snd_ref.c: In function 'OGG_Open':
src/client/snd_ref.c:1377: error: 'AL_FORMAT_STEREO16' undeclared (first use in this function)

src/client/snd_ref.c:1377: error: (Each undeclared identifier is reported only once
src/client/snd_ref.c:1377: error: for each function it appears in.)
make[1]: *** [/media/extend/downloading/ufoai/build/client/client/snd_ref.o] Error 1
make[1]: Leaving directory `/media/extend/downloading/ufoai'
make: *** [stamps/build-arch] Error 2
debuild: fatal error at line 1206:
couldn't exec fakeroot debian/rules: Bad file descriptor
make: *** [debbinary] Error 9


details:
Quote
asd@locutus:~/extend/downloading/ufoai$ svn info
Path: .
URL: https://svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 4994
Node Kind: directory
Schedule: normal
Last Changed Author: hoehrer
Last Changed Rev: 4994
Last Changed Date: 2006-11-30 23:34:57 +0100 (Thu, 30 Nov 2006)
Properties Last Updated: 2006-11-30 15:54:03 +0100 (Thu, 30 Nov 2006)


Quote
asd@locutus:~/extend/downloading/ufoai$ uname -a
Linux locutus 2.6.18-asd #1 Mon Nov 13 18:57:23 CET 2006 i686 GNU/Linux


I have followed the installation guide located at http://ufo.myexp.de/wiki/index.php/Debian

Package versions:
Quote
gcc 4.1.1-3
libjpeg62-dev 6b-13
libsdl-ttf2.0-dev 2.0.8-3+b1
libsdl1.2-dev 1.2.11-7
libvorbis-dev 1.1.2.dfsg-1.2
libxxf86vm-dev 1.0.1-2
make 3.81-2
subversion 1.4.0-5
x11proto-xf86vidmode-dev 2.2.2-4


Thanks for helping!

Offline lfloden

  • Rookie
  • ***
  • Posts: 68
    • View Profile
Just comment it out....
« Reply #1 on: December 02, 2006, 04:44:08 am »
of course they fixed it in todays release of files. If that doesn't fix it, the other thing I did was downloaded the Openal SDK and installed it.

asdmin

  • Guest
compilation error: snd_ref.c 'AL_FORMAT_STEREO16' undeclared
« Reply #2 on: December 05, 2006, 10:05:47 am »
thanks, it really works ;)