Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: powerpc linux

  1. #1
    EmuTalk Member
    Join Date
    Dec 2007
    Posts
    15

    powerpc linux

    I've searched far and wide and found no information on compiling mupen64 for powerpc linux. I've tried to compile, and I get this from sudo ./configure (ubuntu feisty fawn):

    Found a working C compiler (gcc).
    Checking SDL...
    ./config.temp: 3: Syntax error: "(" unexpected
    *** Couldn't find a working SDL library!

    Prior to this, I got errors telling me to install libsdl, so I installed every libsdl related package I could find.

    Does anyone reading this have any experience compiling/using mupen64 on a powerpc linux machine?

    edit: for clarity, this refers to 32bit ppc, and this is the error I got trying to compile mupen64 0.5

    Last edited by rhetoric; December 16th, 2007 at 16:26.


    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member
    Join Date
    Apr 2004
    Posts
    50
    I got this same error when trying to compile a recent (as in a week or two ago) SVN build on Ubuntu Gusty (32-bit x86). Same as you, I tried adding various sdl-dev packages, but to no avail.
    Specs:
    Mupen64plus v1.99.3
    Geforce 7600GT
    Nvidia 195.36.08
    AMD 64 3000+, 2GB, Arch Linux x86

  3. #3
    EmuTalk Member GarulfoLinux's Avatar
    Join Date
    Aug 2006
    Location
    in linux kernel
    Posts
    87

  4. #4
    Moderator
    Join Date
    Oct 2007
    Posts
    473
    Quote Originally Posted by sultanoswing View Post
    I got this same error when trying to compile a recent (as in a week or two ago) SVN build on Ubuntu Gusty (32-bit x86). Same as you, I tried adding various sdl-dev packages, but to no avail.
    You may be talking about 2 different things here. Rhetoric, are you trying to compile from the 0.5 source or my SVN build? Because I removed the 'configure' script from my SVN build - it's not there anymore. If you try to compile the mupen 0.5 source I'm pretty sure that you'll have major problems. That's the reason why I started my own branch -- to port it to 64-bit architectures. You can download the source for mupen64-amd64 v1.1 in another thread on this forum and give it a shot with 'make'. Let me know how it turns out.

  5. #5
    EmuTalk Member
    Join Date
    Dec 2007
    Posts
    15
    Quote Originally Posted by Richard42 View Post
    You may be talking about 2 different things here. Rhetoric, are you trying to compile from the 0.5 source or my SVN build? Because I removed the 'configure' script from my SVN build - it's not there anymore. If you try to compile the mupen 0.5 source I'm pretty sure that you'll have major problems. That's the reason why I started my own branch -- to port it to 64-bit architectures. You can download the source for mupen64-amd64 v1.1 in another thread on this forum and give it a shot with 'make'. Let me know how it turns out.
    I was trying to compile the 0.5 source. Why would I use source designed for amd64 for a powerpc box?

  6. #6
    Moderator
    Join Date
    Oct 2007
    Posts
    473
    Quote Originally Posted by rhetoric View Post
    I was trying to compile the 0.5 source. Why would I use source designed for amd64 for a powerpc box?
    This branch should be able to build and run on your powerpc box, or at least get closer than the vanilla 0.5 source. The reason it's called -amd64 is that I needed to have something which designated that this is for 64-bit machines (as opposed to Win32 or Linux 32), and it would be kind of ridiculous to call it Mupen64-64 so I settled on -amd64. The C code in Mupen 0.5 will not compile properly on your powerpc 64 with GCC, but the C code in my branch should. There may be some problems with the inline assembly code; I don't know because it hasn't been tested on a powerpc yet.

  7. #7
    EmuTalk Member
    Join Date
    Dec 2007
    Posts
    15
    Quote Originally Posted by Richard42 View Post
    This branch should be able to build and run on your powerpc box, or at least get closer than the vanilla 0.5 source. The reason it's called -amd64 is that I needed to have something which designated that this is for 64-bit machines (as opposed to Win32 or Linux 32), and it would be kind of ridiculous to call it Mupen64-64 so I settled on -amd64. The C code in Mupen 0.5 will not compile properly on your powerpc 64 with GCC, but the C code in my branch should. There may be some problems with the inline assembly code; I don't know because it hasn't been tested on a powerpc yet.
    I should have been more specific. As far as I know, I'm using 32bit ppc. . .

  8. #8
    Mupen64Plus Dev.
    Join Date
    Oct 2007
    Location
    Michigan (United States of America)
    Posts
    448
    Honestly we really shouldn't be naming Mupen64-AMD64 special to 64-bit. Really it doesn't do anything specific to AMD64. Well, OK, some of the code may be specifically there for AMD64 and will only work on AMD64 architectures but that code is not needed for compiling the emulator on other architectures. For example, Mupen64-AMD64 compiles to i386 Linux without any modifications whatsoever. The only real thing you should be worried about with the AMD64 branch (besides if it doesn't compile properly) is that it is not specifically set up to handle the endianness of the PowerPC (Which is backwords of Intel >_<)

  9. #9
    EmuTalk Member
    Join Date
    Dec 2007
    Posts
    15
    I don't know how to compile this source.. (64 1.1) I'm a bit of a noob, but I know the default CFLAGS are very wrong (i686 for one). I have no idea what to set though. the file pre.mk seems to be some sort of configure script but it doesn't have ppc included so...

    edit: I want to thank you all for your help and attention. I've also been talking with the current developer of pcsx-df about my problems compiling and running that psx emulator. I have fceu working for NES, and snes9x working for SNES on my powerpc linux box so far, and I intend to create a thread on the Ubuntu Forums ppc section dedicated to emulation in ppc linux. The thread will document my experiences with each system and collect input from others. So.. don't think I'm just out to have someone hold my hand I'm trying to make things possible for all ppc linux users, especially idiot noobs like myself
    Last edited by rhetoric; December 17th, 2007 at 01:48.

  10. #10
    Mupen64Plus Dev.
    Join Date
    Oct 2007
    Location
    Michigan (United States of America)
    Posts
    448
    No problem In the meantime, i have a PPC Mac OSX 10.4 working now. I'll install Linux on a seperate partition, and see if i can add a true port of Mupen64. I may or may not be able to test 3D graphics.

    Oh, About the compilation - its pretty straight forward if you have GNU Make, GTK 2.0, and anything else that i forgot. Just enter a terminal, go to the Mupen64-AMD64 source directory, and run "make". Then all you need to do is read the output so you can enter the correct parameters for make the next time.
    Last edited by nmn; December 17th, 2007 at 13:47.

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •