[freespace2] compiling src - alc.h error

Janis Pusmucans Church at is.lv
Sun Sep 1 01:38:12 EDT 2002


> >>  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
2.96 IIRC is very heavily patched up cvs pre3 gcc, not an official
release. imho usage/upgrade to 3.[0,1,2].* can fix some of compile
problems. i'm using 2.95.3 which does work for me.




More information about the freespace2 mailing list