Author Topic: Dgen  (Read 6400 times)

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
Dgen
« on: April 20, 2005, 09:23:27 pm »
I want to play some Sonic on my Z.  Trouble is that DGEN, the only emulator I know of for the Z, isn't working.  It gives me a library error:
Code: [Select]
dgen: error while loading shared libraries: libstdc++-libc6.1-2.so.3: cannot open shared object file: No such file or directory
I've searched the forums and checked every thread listing this error (mostly talking about cacko rom or kismet on the 6000), and tried as best I can to implement the fixes reccommended in those.  Still no emulator.  Does this work for anyone else, or does anyone know how to get it working?
« Last Edit: April 21, 2005, 04:30:30 pm by GenericAnimeBoy »
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Dgen
« Reply #1 on: April 21, 2005, 05:20:10 am »
I think the error says it all.

You need to find and install the lib it's asking for.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
Dgen
« Reply #2 on: April 21, 2005, 04:35:17 pm »
Trouble with that is that I can't find that library anywhere in the OZ feeds, and all my searching of ZUG and Google did me no good, as the only thread I could find about it was talking about Cacko.

I'd just like to know if anyone knows whether DGEN (or another Genesis emulator) works on OZ, or knows how to get it working on OZ.
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Dgen
« Reply #3 on: April 21, 2005, 05:23:22 pm »
Did you look in the dev and devel feeds? Do you have them set as src?

Quote
I'd just like to know if anyone knows whether DGEN (or another Genesis emulator) works on OZ, or knows how to get it working on OZ.

Basically you need the lib. It ought to be there. I'll have a look tomorrow.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
Dgen
« Reply #4 on: April 21, 2005, 05:33:11 pm »
Unexpectedly, I found the link to the lib I needed from the DGEN entry on killefiz.  However, now I get a symbol lookup error (not the usual one, though).  I used makecompat on dgen--no luck.

The error, for reference, is
Code: [Select]
dgen:symbol lookup error: dgen: undefined symbol: __14QPEApplicationRiPPcQ212QApplication4Type
Maybe I need to makecompat that lib as well?

Nope.  No Luck.
« Last Edit: April 21, 2005, 05:35:45 pm by GenericAnimeBoy »
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Dgen
« Reply #5 on: April 21, 2005, 06:31:14 pm »
I'd just use the OZ version (to eliminate unresolved symbols errors) - it should be in there somewhere.

http://www.openzaurus.org/official/unstabl...4.3-r10_arm.ipk for example

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
Dgen
« Reply #6 on: April 22, 2005, 10:43:55 am »
I don't think that's the same library, though.  Or is it?  My linux knowledge isn't very well-rounded, I'm afraid.
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(

Cwiiis

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Dgen
« Reply #7 on: April 24, 2005, 09:09:37 pm »
libstdc++6 is indeed what you want, installing packages intended for other distributions/roms/versions will *not* work - Uninstall the file you got from killefiz and install the file lardman indicated... Unfortunately, dgen doesn't seem to work though  (I was the one that added it to OE) If you find differently, do please say.

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
Dgen
« Reply #8 on: April 25, 2005, 01:53:43 pm »
Yeah, I already have libstdc++6 installed (the OZ version), linking it as the missing library didn't resolve the error either.  dgen doesn't seem to work with or without compat-libs.  It's a pity.
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Dgen
« Reply #9 on: April 25, 2005, 06:08:49 pm »
See if you can find the source, it may not be too difficult to add it to OE, then you'll cut out the compat libs.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

GenericAnimeBoy

  • Newbie
  • *
  • Posts: 36
    • View Profile
    • http://
Dgen
« Reply #10 on: April 25, 2005, 09:42:43 pm »
I found a source tarball of the latest SDL version of dgen (1.23).  What do I do with it?
Sharp Zaurus SL-5500
OZ 3.5.4 / Opie Image - Flashed March 2006
256mb SimpleTech SD Card
Internet over USB Dock / WinXP
Can't afford a WiFi card yet  =(

Cwiiis

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Dgen
« Reply #11 on: April 27, 2005, 07:05:18 am »
dgen 1.18 and 1.23 are already in OE, I included them myself. Your setup must be incorrect in some way, because I have tested both and they both load and run (but 1.23 segfaults loading roms (on both PC and Zaurus), and 1.18 seems to sit there doing nothing on loading a rom (on Zaurus, works fine on PC)).

I recommend you do something along the lines of:
ipkg-link umount <path>
ipkg remove libstdc++6 --force-depends
ipkg update
ipkg install -d <dest> libstdc++6 --force-overwrite
ipkg-link mount <path>

Replacing dest and path with the correct destination/path, assuming you didn't install to root.

Also, a tip to people wanting to add things to OE: Check that they aren't already there!

Cwiiis

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Dgen
« Reply #12 on: April 27, 2005, 07:06:59 am »
Argh, I've just realised you must be using a dgen from a non-OZ feed... If it isn't in the OZ feed already, please request it be built in the upgrades thread.

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Dgen
« Reply #13 on: April 27, 2005, 11:25:04 am »
I wouldn't work too hard on getting dgen working as it is much too slow to be playable on the Zaurus in my experience.  Perhaps if it were complied with softfloat.  I would recommend using another Genesis emulator like SMS plus:  http://ehe.s57.xrea.com/index.php?cmd=read...%20for%20Zaurus
« Last Edit: April 27, 2005, 03:33:13 pm by stupkid »

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Dgen
« Reply #14 on: April 27, 2005, 11:32:23 am »
Quote
dgen 1.18 and 1.23 are already in OE, I included them myself.

If it's not in the feed at the moment, give hrw a shout in the 3.5.3 upgrades thread and ask him to add it - it will be compiled with soft-float.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva