Exult Logo
 
Home | Download | Documentation | FAQ | Studio | Screen Shots
Development | Discussion | About Us | Letters | History | Links
 
Exult Discussion
Before posting, make sure you've read the FAQ and searched the message board for previous discussions. When reporting problems/bugs, please include details about your setup (Exult version, OS, sound and video cards).

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Exult and Fedora
Author: MeddlingMonk 
Date:   07-02-09 17:59

It's time for everyone's favorite biennial game: Why won't Exult compile on the new Fedora this time? This is what I'm getting and it isn't clear to me what the problem is:
Quote:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I./../../headers -I./../../conf -I./../.. -I./.. -I./../../files -I./../../imagewin -I./../../shapes -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DXWIN -O2 -Wno-long-long -I../../conf -I../../files -I../../objs -g -O2 -MT ALSAMidiDriver.lo -MD -MP -MF .deps/ALSAMidiDriver.Tpo -c ALSAMidiDriver.cpp -o ALSAMidiDriver.o
ALSAMidiDriver.cpp: In member function ‘int ALSAMidiDriver::parse_addr(std::string, int*, int*)’:
ALSAMidiDriver.cpp:192: error: invalid conversion from ‘const char*’ to ‘char*’
make[4]: *** [ALSAMidiDriver.lo] Error 1
make[4]: Leaving directory `/home/meddlingmonk/Desktop/exult/audio/midi_drivers'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/meddlingmonk/Desktop/exult/audio/midi_drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/meddlingmonk/Desktop/exult/audio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/meddlingmonk/Desktop/exult'
make: *** [all] Error 2

Installed is gcc 4.4.0, libtool 2.2.6, alsa 1.0.20, sdl 1.2.8, and that's all I can think of that might be relevant. Maybe it's just a problem with Fedora since the latest version came with some audio problems, although other things (ScummVM, Residual) compile without this error while Pentagram has the same one.

Reply To This Message
 
 Re: Exult and Fedora
Author: Marzo Sette Torres Junior 
Date:   07-02-09 18:30

In ALSAMidiDriver.cpp:189, replace
char *p;

by
const char *p;

and try compiling again.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Exult and Fedora
Author: MeddlingMonk 
Date:   07-02-09 20:51

Exult compiles now although I get a new error when attempting 'make install':
Quote:

Leaving directory `/home/meddlingmonk/Desktop/exult/tools'
test -z "/usr/local/share/exult" || /bin/mkdir -p "/usr/local/share/exult"
/usr/bin/install -c -m 644 ./make_expack exult.flx exult_bg.flx exult_si.flx midisfx.flx exultmsg.txt bg/bg_paperdol.vga bg/bg_mr_faces.vga '/usr/local/share/exult'
/usr/bin/install: cannot stat `./make_expack': No such file or directory

I've never had any error ever at this stage.

Reply To This Message
 
 Re: Exult and Fedora
Author: Marzo Sette Torres Junior 
Date:   07-02-09 22:17

Now that you mention it, I get that same make_expack error in Ubuntu, but installation proceeds; is it stopping in Fedora?

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Exult and Fedora
Author: Marzo Sette Torres Junior 
Date:   07-02-09 22:35

I uploaded a fix to SVN for both issues.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Exult and Fedora
Author: MeddlingMonk 
Date:   07-02-09 23:28

It was partly stopping in Fedora. Some files got installed, but only a handfull. I'll try the new svn a try and report if I get the same error on install (but I expect I won't).

Reply To This Message
 
 Re: Exult and Fedora
Author: MeddlingMonk 
Date:   07-03-09 00:06

Yeah, all good. Thanks.

Reply To This Message
 Go to Top  |  Go to Topic  |  Threaded View   Newer Topic  |  Older Topic 


 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
 Subject:
   
 
SourceForge   phorum.org
 
Problems with Exult or this webpage? Contact us.
Last modified: 24 Oct 2001(GMT)