View Single Post
Old 12-01-2008, 07:00 AM   #37 (permalink)
pisdpaul
Developer PISD & OOTP
 
pisdpaul's Avatar
 
Join Date: Apr 2008
Posts: 460
Thanked 5x in 2 posts
Quote:
Originally Posted by csiems View Post
After completing the above step I got this:
/bin/bash: line 1: 10880 Floating point exception'./Linux Installer'

If you have any ideas on how I should further proceed, let me know.
In most cases this is due to Libc version mismatch. The libc version on your system is earlier than the one I used to build the game. One of the libc updates caused this floating point error when the games libc was of a later version than the system. The answer is to upgrade libc, however this may cause you other issues.

You can check this by starting the game in gdb. When it stops look at the call stack. If you are not familiar with gdb here are the basics.

Quote:
$> cd <path game was installed to>
$> gdb <game name>
gdb> run
program will run and stop with floating point error
gdb> bt
loads of trace here
gdb> quit
$>
If the trace you see is simular to this then you most likely do have a libc version mismatch.

Program received signal SIGFPE, Arithmetic exception.
0xb7f2e20b in do_lookup_x () from /lib/ld-linux.so.2
(gdb) bt
#0 0xb7f2e20b in do_lookup_x () from /lib/ld-linux.so.2
#1 0xb7f2e597 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#2 0xb7f2fc00 in _dl_relocate_object () from /lib/ld-linux.so.2
#3 0xb7f29918 in dl_main () from /lib/ld-linux.so.2
#4 0xb7f38305 in _dl_sysdep_start () from /lib/ld-linux.so.2
#5 0xb7f261f4 in _dl_start () from /lib/ld-linux.so.2
#6 0xb7f25847 in _start () from /lib/ld-linux.so.2

If you see the function main() listed in the trace then the chances are its is something else. In which case post back your trace.

Last edited by pisdpaul; 12-01-2008 at 07:03 AM.
pisdpaul is offline   Reply With Quote