[freespace2] compiling src - alc.h error

Florian Westphal flo.westphal at gmx.net
Sun Sep 1 07:44:58 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
-- 
BOFH excuse #163:
no "any" key on keyboard
PGP: http://www.www-woerlen.de/flo/flo.asc



More information about the freespace2 mailing list