Jump to content

Fedora 9 compiles


Fyorl

Recommended Posts

I'm not sure if I should be posting this here but I'm guessing this is the official GemRB forum?

 

The 0.3.0 source fails to compile on my x86_64 laptop running Fedora 9 with the following error:

 

cc1plus: warnings being treated as errors
In file included from IniSpawn.h:34,
			 from Map.h:29,
			 from ScriptedAnimation.h:8,
			 from Video.h:36,
			 from Progressbar.cpp:25:
DataFileMgr.h:64: error: type qualifiers ignored on function return type
DataFileMgr.h:66: error: type qualifiers ignored on function return type
Progressbar.cpp: In member function ‘void Progressbar::RedrawProgressbar(const char*, int)’:
Progressbar.cpp:130: error: ‘strncasecmp’ was not declared in this scope
make[4]: *** [Progressbar.lo] Error 1
make[4]: Leaving directory `/home/kim/gemrb-stable/gemrb-0.3.0/gemrb/plugins/Core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kim/gemrb-stable/gemrb-0.3.0/gemrb/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kim/gemrb-stable/gemrb-0.3.0/gemrb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kim/gemrb-stable/gemrb-0.3.0'
make: *** [all] Error 2

 

However the latest SVN checkout compiles fine after running autogen.sh.

Link to comment
Guest lynx

if you really want to use 0.3.0 and not svn, then just remove -Werror from all the makefiles and retry. Overriding C*FLAGS would remove some other flags too.

Link to comment

Hmm well the best I can do with the SVN release is compile it. After that I can't get it to execute. It fails with something like: 'Error loading shared object libgemrb_core.so.0 no such file or directory'.

 

I thought maybe gemrb.cfg was the problem however it doesn't even get to the config loading stage.

Link to comment

I had a chat with lynx over IRC and we managed to fix the problem. The problem was 'make install' didn't install the libgemrb_core.so.0 anywhere that the gemrb binary was looking for it. Instead I ran the version inside the build folder.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...