Error with Make on Linux
Posted: Tue Mar 10, 2015 11:17 pm
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
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