Problems during "make"

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Gunnar

Problems during "make"

Post by Gunnar »

Hi,
In make I received following error:
In file included from ../Midi.h:28,
from Timidity_binary.h:23,
from Timidity_binary.cc:40:
/usr/include/SDL/SDL_mixer.h:61: syntax error before `('
/usr/include/SDL/SDL_mixer.h:108: syntax error before `('
/usr/include/SDL/SDL_mixer.h:116: syntax error before `('
/usr/include/SDL/SDL_mixer.h:121: syntax error before `('
/usr/include/SDL/SDL_mixer.h:124: syntax error before `('
/usr/include/SDL/SDL_mixer.h:126: syntax error before `('
/usr/include/SDL/SDL_mixer.h:135: syntax error before `('
/usr/include/SDL/SDL_mixer.h:138: syntax error before `('
/usr/include/SDL/SDL_mixer.h:141: syntax error before `('
/usr/include/SDL/SDL_mixer.h:142: syntax error before `('
/usr/include/SDL/SDL_mixer.h:147: syntax error before `('
/usr/include/SDL/SDL_mixer.h:153: syntax error before `('
/usr/include/SDL/SDL_mixer.h:159: syntax error before `('
/usr/include/SDL/SDL_mixer.h:165: syntax error before `('
/usr/include/SDL/SDL_mixer.h:168: syntax error before `('
/usr/include/SDL/SDL_mixer.h:178: syntax error before `('
/usr/include/SDL/SDL_mixer.h:262: syntax error before `('
/usr/include/SDL/SDL_mixer.h:274: syntax error before `('
/usr/include/SDL/SDL_mixer.h:288: syntax error before `('
/usr/include/SDL/SDL_mixer.h:328: syntax error before `('
/usr/include/SDL/SDL_mixer.h:368: syntax error before `('
/usr/include/SDL/SDL_mixer.h:398: syntax error before `('
/usr/include/SDL/SDL_mixer.h:445: syntax error before `('
/usr/include/SDL/SDL_mixer.h:454: syntax error before `('
/usr/include/SDL/SDL_mixer.h:464: syntax error before `('
/usr/include/SDL/SDL_mixer.h:466: syntax error before `('
/usr/include/SDL/SDL_mixer.h:470: syntax error before `('
/usr/include/SDL/SDL_mixer.h:474: syntax error before `('
/usr/include/SDL/SDL_mixer.h:476: syntax error before `('
/usr/include/SDL/SDL_mixer.h:478: syntax error before `('
/usr/include/SDL/SDL_mixer.h:488: syntax error before `('
/usr/include/SDL/SDL_mixer.h:489: syntax error before `('
/usr/include/SDL/SDL_mixer.h:492: syntax error before `('
/usr/include/SDL/SDL_mixer.h:493: syntax error before `('
/usr/include/SDL/SDL_mixer.h:495: syntax error before `('
/usr/include/SDL/SDL_mixer.h:502: syntax error before `('
/usr/include/SDL/SDL_mixer.h:503: syntax error before `('
/usr/include/SDL/SDL_mixer.h:504: syntax error before `('
/usr/include/SDL/SDL_mixer.h:507: syntax error before `('
/usr/include/SDL/SDL_mixer.h:508: syntax error before `('
/usr/include/SDL/SDL_mixer.h:509: syntax error before `('
/usr/include/SDL/SDL_mixer.h:515: syntax error before `('
/usr/include/SDL/SDL_mixer.h:521: syntax error before `('
/usr/include/SDL/SDL_mixer.h:522: syntax error before `('
/usr/include/SDL/SDL_mixer.h:523: syntax error before `('
/usr/include/SDL/SDL_mixer.h:526: syntax error before `('
/usr/include/SDL/SDL_mixer.h:527: syntax error before `('
/usr/include/SDL/SDL_mixer.h:530: syntax error before `('
/usr/include/SDL/SDL_mixer.h:531: syntax error before `('
/usr/include/SDL/SDL_mixer.h:532: syntax error before `('
/usr/include/SDL/SDL_mixer.h:535: syntax error before `('
/usr/include/SDL/SDL_mixer.h:536: syntax error before `('
/usr/include/SDL/SDL_mixer.h:537: syntax error before `('
/usr/include/SDL/SDL_mixer.h:538: syntax error before `('
/usr/include/SDL/SDL_mixer.h:546: syntax error before `('
/usr/include/SDL/SDL_mixer.h:551: syntax error before `('
/usr/include/SDL/SDL_mixer.h:552: syntax error before `('
/usr/include/SDL/SDL_mixer.h:555: syntax error before `('
/usr/include/SDL/SDL_mixer.h:558: syntax error before `('
/usr/include/SDL/SDL_mixer.h:559: syntax error before `('
/usr/include/SDL/SDL_mixer.h:564: syntax error before `('
/usr/include/SDL/SDL_mixer.h:567: syntax error before `('
Timidity_binary.cc: In method `Timidity_binary::Timidity_binary()':
Timidity_binary.cc:51: implicit declaration of function `int Mix_HookMusicFinished(...)'
Timidity_binary.cc: In method `void Timidity_binary::stop_track()':
Timidity_binary.cc:63: implicit declaration of function `int Mix_HaltMusic(...)'
Timidity_binary.cc:66: implicit declaration of function `int Mix_FreeMusic(...)'
Timidity_binary.cc: In method `bool Timidity_binary::is_playing()':
Timidity_binary.cc:82: implicit declaration of function `int Mix_PlayingMusic(...)'
Timidity_binary.cc: In method `void Timidity_binary::start_track(XMIDIEventList *, bool)':
Timidity_binary.cc:95: implicit declaration of function `int Mix_LoadMUS(...)'
Timidity_binary.cc:95: assignment to `Mix_Music *' from `int' lacks a cast
Timidity_binary.cc:96: implicit declaration of function `int Mix_PlayMusic(...)'
Timidity_binary.cc:97: implicit declaration of function `int Mix_VolumeMusic(...)'
make[3]: *** [Timidity_binary.lo] Error 1
make[3]: Leaving directory `/home/ronste/exult/audio/midi_drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ronste/exult/audio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ronste/exult'
make: *** [all] Error 2


I have no idea what is going wrong, can somebody help me

thanks in advance
Gunnar

Re: Problems during "make"

Post by Gunnar »

I use Suse 8.0, with an SB128 soundcard
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Problems during "make"

Post by wjp »

Which versions of SDL and SDL_mixer do you have installed?
Gunnar

Re: Problems during "make"

Post by Gunnar »

SDL 1.2.5
SDL-mixer 1.2.4-1
Gunnar

Re: Problems during "make"

Post by Gunnar »

I re-installed all my SDL components, now the make procedure runs smoothly. Apparently my SDL_devel package didn't have the same version as the SDL package.
Locked