Error with Make on Linux

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
jraclarke
Posts: 5
Joined: Thu May 14, 2020 1:34 pm

Error with Make on Linux

Post by jraclarke »

Hi everyone,

I've just been trying to install from source on Linux (Fedora 21), but I'm getting the following:

_DATADIR=\"/usr/local/share/exult\" -g -O2 -MT gamedat.o -MD -MP -MF .deps/gamedat.Tpo -c -o gamedat.o gamedat.cc
gamedat.cc:108:1: error: no ‘void Game_window::restore_flex_files(DataSource&, const char*)’ member function declared in class ‘Game_window’
) {
^
gamedat.cc: In member function ‘void Game_window::restore_gamedat(const char*)’:
gamedat.cc:240:32: error: ‘restore_flex_files’ was not declared in this scope
restore_flex_files(in, GAMEDAT);
^
Makefile:809: recipe for target 'gamedat.o' failed
make[2]: *** [gamedat.o] Error 1
make[2]: Leaving directory '/home/jclarke/exult_1_5/exult-code-7512/exult/trunk'
Makefile:845: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jclarke/exult_1_5/exult-code-7512/exult/trunk'
Makefile:650: recipe for target 'all' failed
make: *** [all] Error 2


Has anyone seen this before? I have tried re-configuring and making it again, but no luck. Flex has been installed (via yum).

Thanks in advance!

James
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Error with Make on Linux

Post by Dominus »

Did you grab the source off our svn repository or somewhere else? Did you use plain configure or some switches?
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
jraclarke
Posts: 5
Joined: Thu May 14, 2020 1:34 pm

Re: Error with Make on Linux

Post by jraclarke »

Hi Dominus,

Sorry forgot to mention, it was off your repo. Just a plain configure as well.

Thanks,

James
Locked