[freespace2] compiling src - alc.h error

dave dave at dchamp.net
Sun Sep 1 12:58:58 EDT 2002


On Sun, 1 Sep 2002, Florian Westphal wrote:

> dave <dave at dchamp.net> wrote:
> > g++ -c -o src/sound/ds.o src/sound/ds.cpp -Wall -g -DPLAT_UNIX
> > -I/usr/include/SDL -D_REENTRANT -Iinclude/  -Wno-missing-braces
> > -Wno-multichar -fsigned-char
> > src/sound/ds.cpp: In function `int ds_init (int, int)':
> > /usr/include/AL/alc.h:54: too many arguments to function `ALCenum
> > alcGetError ()'
> > src/sound/ds.cpp:1396: at this point in file
> > make: *** [src/sound/ds.o] Error 1
> >
> > ...maybe I have an incompatible version of some of the libraries?
> >
> > Here's the versions of the libraries I have installed:
>
> What Version of gcc do you use?
> I compiled freespace2 succesfully on gcc 3.0.4, 3.1 and 3.1.1.
> Don't know about other versions.
>
> Florian

Hmm... seems to me that the error is complaining about too many arguments
being passed to OpenAL (alc.h)... but here's what I have for gcc:

[dave at inspy dave]$ rpm -qa | grep -i gcc
gcc-cpp-2.96-0.76mdk
libgcc3.0-3.0.4-2mdk
gcc-2.96-0.76mdk
gcc-c++-2.96-0.76mdk

-dc





More information about the freespace2 mailing list