What's new

Mupen on Linux? How do you make it run?

Pi Man

New member
Greetings. I'm trying to get Mupen to work on my SuSE 8.2 computer and having no luck. I downloaded the already compiled version and it starts up and loads the test rom(s) just fine, but when I hit the "play" button, the actual game play window (or, I assume it's the actual game play window) pops up for about 3 seconds and then both the game play window and the original window close. As well, I checked the running process table after this occurred, and Mupen64 is not listed. It's as if the whole program just closed. It doesn't give me any errors or anything, though, so it doesn't look like it's crashing, just closing.

So, I tried downloading the source-code version. I downloaded all necessary tar balls and extracted them. I ran ./configure as the root user, and got this message:


Code:
./configure: line 1: tempfile: command not found
./configure: line 1: tempfile: command not found
./configure: line 28: : No such file or directory
*** Couldn't compile test program.
rm: cannot remove `': No such file or directory
rm: cannot remove `': No such file or directory
*** Couldn't find a working C compiler!

I have gcc installed, and all necessary environment variables. I don't know what else to do. Hopefully somebody else has some ideas. Thanks for any help you can give me!

Pi Man.
 
OP
P

Pi Man

New member
Wow. You mean forget ./configure and just make it. Alrightey then. Thanks for your help. :)
 
OP
P

Pi Man

New member
Dang. No dice. I got the following:

gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o main/rom.o main/rom.c
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o r4300/r4300.o r4300/r4300.c
r4300/r4300.c: In function `LDL':
r4300/r4300.c:706: warning: integer constant is too large for "long" type
r4300/r4300.c:712: warning: integer constant is too large for "long" type
r4300/r4300.c:718: warning: integer constant is too large for "long" type
r4300/r4300.c: In function `LDR':
r4300/r4300.c:733: warning: integer constant is too large for "long" type
r4300/r4300.c:739: warning: integer constant is too large for "long" type
r4300/r4300.c:745: warning: integer constant is too large for "long" type
r4300/r4300.c:751: warning: integer constant is too large for "long" type
r4300/r4300.c:757: warning: integer constant is too large for "long" type
r4300/r4300.c:763: warning: integer constant is too large for "long" type
r4300/r4300.c:769: warning: integer constant is too large for "long" type
r4300/r4300.c: In function `LWR':
r4300/r4300.c:868: warning: integer constant is too large for "long" type
r4300/r4300.c:874: warning: integer constant is too large for "long" type
r4300/r4300.c:880: warning: integer constant is too large for "long" type
r4300/r4300.c: In function `SDL':
r4300/r4300.c:978: warning: integer constant is too large for "long" type
r4300/r4300.c:986: warning: integer constant is too large for "long" type
r4300/r4300.c:994: warning: integer constant is too large for "long" type
r4300/r4300.c:1002: warning: integer constant is too large for "long" type
r4300/r4300.c:1010: warning: integer constant is too large for "long" type
r4300/r4300.c:1018: warning: integer constant is too large for "long" type
r4300/r4300.c:1026: warning: integer constant is too large for "long" type
r4300/r4300.c: In function `SDR':
r4300/r4300.c:1043: warning: integer constant is too large for "long" type
r4300/r4300.c:1051: warning: integer constant is too large for "long" type
r4300/r4300.c:1059: warning: integer constant is too large for "long" type
r4300/r4300.c: In function `go':
r4300/r4300.c:1438: warning: integer constant is too large for "long" type
r4300/r4300.c:1439: warning: integer constant is too large for "long" type
r4300/r4300.c:1442: warning: integer constant is too large for "long" type
r4300/r4300.c:1443: warning: integer constant is too large for "long" type
r4300/r4300.c:1459: warning: integer constant is too large for "long" type
r4300/r4300.c:1460: warning: integer constant is too large for "long" type
r4300/r4300.c:1463: warning: integer constant is too large for "long" type
r4300/r4300.c:1466: warning: integer constant is too large for "long" type
r4300/r4300.c:1469: warning: integer constant is too large for "long" type
r4300/r4300.c:1472: warning: integer constant is too large for "long" type
r4300/r4300.c:1491: warning: integer constant is too large for "long" type
r4300/r4300.c:1495: warning: integer constant is too large for "long" type
r4300/r4300.c:1500: warning: integer constant is too large for "long" type
r4300/r4300.c:1505: warning: integer constant is too large for "long" type
r4300/r4300.c:1511: warning: integer constant is too large for "long" type
r4300/r4300.c:1520: warning: integer constant is too large for "long" type
r4300/r4300.c:1524: warning: integer constant is too large for "long" type
r4300/r4300.c:1530: warning: integer constant is too large for "long" type
r4300/r4300.c:1533: warning: integer constant is too large for "long" type
r4300/r4300.c:1539: warning: integer constant is too large for "long" type
r4300/r4300.c:1550: warning: integer constant is too large for "long" type
r4300/r4300.c:1554: warning: integer constant is too large for "long" type
r4300/r4300.c:1561: warning: integer constant is too large for "long" type
r4300/r4300.c:1562: warning: integer constant is too large for "long" type
r4300/r4300.c:1565: warning: integer constant is too large for "long" type
r4300/r4300.c:1575: warning: integer constant is too large for "long" type
r4300/r4300.c:1576: warning: integer constant is too large for "long" type
r4300/r4300.c:1578: warning: integer constant is too large for "long" type
r4300/r4300.c:1582: warning: integer constant is too large for "long" type
r4300/r4300.c:1585: warning: integer constant is too large for "long" type
r4300/r4300.c:1586: warning: integer constant is too large for "long" type
r4300/r4300.c:1588: warning: integer constant is too large for "long" type
r4300/r4300.c:1589: warning: integer constant is too large for "long" type
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o r4300/cop0.o r4300/cop0.c
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o r4300/special.o r4300/special.c
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o r4300/regimm.o r4300/regimm.c
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o r4300/exception.o r4300/exception.c
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o memory/tlb.o memory/tlb.c
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall
-pipe -c -o memory/memory.o memory/memory.c
memory/memory.c:79: warning: dereferencing type-punned pointer will break strict
-aliasing rules
memory/memory.c: In function `write_vib':
memory/memory.c:2138: warning: comparison between signed and unsigned
memory/memory.c:2152: warning: comparison between signed and unsigned
memory/memory.c: In function `write_vih':
memory/memory.c:2182: warning: comparison between signed and unsigned
memory/memory.c:2194: warning: comparison between signed and unsigned
memory/memory.c: In function `write_aib':
memory/memory.c:2499: warning: comparison between signed and unsigned
memory/memory.c: In function `write_aih':
memory/memory.c:2603: warning: comparison between signed and unsigned
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall -pipe -c -o memory/dma.o memory/dma.c
memory/dma.c: In function `dma_pi_read':
memory/dma.c:67: warning: comparison between signed and unsigned
memory/dma.c: In function `dma_pi_write':
memory/dma.c:115: warning: comparison between signed and unsigned
memory/dma.c:147: warning: comparison between signed and unsigned
memory/dma.c:148: warning: signed and unsigned type in conditional expression
memory/dma.c:151: warning: comparison between signed and unsigned
memory/dma.c:155: warning: comparison between signed and unsigned
memory/dma.c: In function `dma_sp_write':
memory/dma.c:185: warning: comparison between signed and unsigned
memory/dma.c:191: warning: comparison between signed and unsigned
memory/dma.c: In function `dma_sp_read':
memory/dma.c:202: warning: comparison between signed and unsigned
memory/dma.c:208: warning: comparison between signed and unsigned
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall -pipe -c -o r4300/interupt.o r4300/interupt.c
r4300/interupt.c:35:21: SDL/SDL.h: No such file or directory
r4300/interupt.c: In function `gen_interupt':
r4300/interupt.c:335: warning: implicit declaration of function `SDL_PumpEvents'
make: *** [r4300/interupt.o] Error 1
 

Hacktarux

Emulator Developer
Moderator
These warning appeared with the last version of gcc and you can safely ignore them. But you need to install SDL developpement package.
 
OP
P

Pi Man

New member
No luck. I installed SDL and tried configure again. Same error. I tried skipping configure and making it. Errors. I ignored them and tried make install. Didn't work.

I should be upgrading to SuSE 9.2 within a few days after it comes out, which is in the next few days. Should I just wait and try again once I upgrade?
 

Top