I can't compile SimGear-0.3.8 on my Mandrake 10.1 Linux system. Any
suggestions would be greatly appreciated.
I ran the ./configure okay.
But when I run 'make check' it ends with an error. The last few lines
of the screen display are below (I added some blank lines for clarity):
---------------
...
Making check in screen
make[2]: Entering directory `/usr/local/source/SimGear-0.3.8/simgear/screen'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/local/source/SimGear-0.3.8/simgear/screen'
Making check in serial
make[2]: Entering directory `/usr/local/source/SimGear-0.3.8/simgear/serial'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/local/source/SimGear-0.3.8/simgear/serial'
Making check in sound
make[2]: Entering directory `/usr/local/source/SimGear-0.3.8/simgear/sound'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..
-I/usr/X11R6/include -g -O2 -D_REENTRANT -MT soundmgr_openal.o -MD -MP
-MF ".deps
/soundmgr_openal.Tpo" -c -o soundmgr_openal.o soundmgr_openal.cxx; \
then mv -f ".deps/soundmgr_openal.Tpo" ".deps/soundmgr_openal.Po"; else
rm -f ".deps/soundmgr_openal.Tpo"; exit 1; fi
/usr/local/include/AL/alut.h: In constructor `SGSoundMgr::SGSoundMgr()':
/usr/local/include/AL/alut.h:52: error: too few arguments to function
`ALboolean alutInit(ALCchar*, ALCdevice**, ALCcontext**)'
soundmgr_openal.cxx:74: error: at this point in file
make[2]: *** [soundmgr_openal.o] Error 1
make[2]: Leaving directory `/usr/local/source/SimGear-0.3.8/simgear/sound'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/source/SimGear-0.3.8/simgear'
make: *** [check-recursive] Error 1
---------------
Since the messages (apparently) reference line 52 of the file
/usr/local/include/AL/alut.h
I've listed lines 40-55 of that file below:
---------------
...
40 #ifndef AL_CALLBACK
41 #define AL_CALLBACK
42 #endif
43
44 #endif /* _WIN32 */
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 #ifndef ALUT_NO_PROTOTYPES
51
52 ALUTAPI ALboolean ALUTAPIENTRY alutInit(ALCchar *szDeviceName,
ALCdevice **ppDevice, ALCcontext **ppContext);
53 ALUTAPI void ALUTAPIENTRY alutExit(ALvoid);
54
55 #ifndef MACINTOSH_AL
...
---------------
Thanks for any help!
- JM
_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d