./configure finishes without error, but subsequent 'make' dies with:
src/aldrv/al_sound.cpp:483:52: error: ‘LoadSound’ was not declared in this scope
src/aldrv/al_sound.cpp: In function ‘float AUDGetCurrentPosition(int)’:
src/aldrv/al_sound.cpp:898:5: error: ‘ALfloat’ was not declared in this scope
src/aldrv/al_sound.cpp:898:13: error: expected ‘;’ before ‘rv’
src/aldrv/al_sound.cpp:899:42: error: ‘rv’ was not declared in this scope
src/aldrv/al_sound.cpp:899:45: error: ‘alGetSourcef’ was not declared in this scope
make[1]: *** [src/aldrv/al_sound.o] Error 1
make[1]: Leaving directory `/home/anna/opt/vs/vegastrike'
make: *** [all] Error 2
On fedora, I fixed this with:
yum -y install openal-soft-devel
then re-running ./configure and 'make'. But obviously, the configure script should throw an error when any library 'make' requires in order to complete is missing.
Anonymous
Addendum:
I get into similar trouble at the linker stage with several missing packages, most notably libvorbis-devel and libstdc++-devel (seems really surprising that we can get all the way through the compile without that omission being a problem... maybe I had the 32-bit but not the 64-bit, so the headers were present. Either way, seems like something configure should error about).
It's not surprising, AL and vorbis should be optional, but there seems to be a few places where the ifdefs aren't correctly put in place.
So it would be helpful to get all linker errors to effectively make all that code conditional.
A fix for *those* is committed. If you get more, please post them up.