Mac OSX 3.2 Won't load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jenks
    Rookie
    • Mar 2008
    • 19

    Mac OSX 3.2 Won't load

    Hi, wondered if anyone can help? I've downloaded 3.2 but every time I open it, it crashes. I'm on a Mac G5 PPC running OS X 10.5.8. Any ideas gratefully received.
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    #2
    First thought that comes to mind is maybe it's not a fat binary and therefore won't run on both PPC and Intel architectures.

    Comment

    • Jenks
      Rookie
      • Mar 2008
      • 19

      #3
      Usually intel native programs have a 'no entry' sign on them when viewed in PPC. This one looks normal

      Comment

      • myshkin
        Angband Devteam member
        • Apr 2007
        • 334

        #4
        Could you post or attach the crash report? You don't need to send it to Apple; just show the details and cut and paste from the crash window.

        Comment

        • Derakon
          Prophet
          • Dec 2009
          • 9022

          #5
          Alternately, run the Console application (/Applications/Utilities/Console.app), clear its output, try running the program, and then paste what shows up in the console.

          Comment

          • Hariolor
            Swordsman
            • Sep 2008
            • 289

            #6


            I have a similar problem. Can't get 3.2 running on my mac. Thankfully I have other options, but still frustrating.

            Comment

            • Jenks
              Rookie
              • Mar 2008
              • 19

              #7
              Originally posted by myshkin
              Could you post or attach the crash report? You don't need to send it to Apple; just show the details and cut and paste from the crash window.
              Crash report:

              The application Angband (OS X) quit unexpectedly

              Mas OS X and other applications are not affected

              Click Relaunch to launch the application again. Click Report to see more details or send a report to Apple.

              it also says…
              Dyld Error Message:
              Symbol not found: _fopen$UNIX2003
              Referenced from: Users/Angband.app/Contents/MacOS/angband
              Expected in: /usr/libSystem.B.dylib

              Hope this helps?

              Comment

              • scud
                Swordsman
                • Jan 2011
                • 323

                #8
                It is very easy, when developing on a new operating system, to create projects that won't run on any previous OS version. To ensure backwards compatibility, there are Xcode and gcc options that allow you to build while maintaining support for earlier OS versions. In this post, I'll look at the ways in which this compatibility is controlled and some of the new ways it can go wrong on Snow Leopard.


                This will make everything clear.

                Allegedly.

                Comment

                • Jenks
                  Rookie
                  • Mar 2008
                  • 19

                  #9
                  Originally posted by scud
                  http://cocoawithlove.com/2009/09/bui...rsions-in.html

                  This will make everything clear.

                  Allegedly.
                  Ok. Now I get why it's not working but how do I fix this?

                  To quote from the website above "…the solution is to rebuild the static library from the source"

                  How? I only really wanted to play a game, not learn how to become a programmer!!

                  Comment

                  • Jenks
                    Rookie
                    • Mar 2008
                    • 19

                    #10
                    Can't anyone help with this????

                    Comment

                    • fxm
                      Rookie
                      • Dec 2011
                      • 7

                      #11
                      I'm rather late to the thread, but I'm having the exact same problem. If a solution has been found since this thread was started, I've not been able to find it. To recap:

                      Angband 3.32 quits on launch with the following error in the console:

                      12/29/11 1:12:23 PM [0x0-0x26026].net.thangorodrim.Angband[334] dyld: Symbol not found: _fopen$UNIX2003
                      12/29/11 1:12:23 PM [0x0-0x26026].net.thangorodrim.Angband[334] Referenced from: /Applications/Games/Angband/Angband3.32.app/Contents/MacOS/angband
                      12/29/11 1:12:23 PM [0x0-0x26026].net.thangorodrim.Angband[334] Expected in: /usr/lib/libSystem.B.dylib

                      This is on a PPC Mac OS 10.5.8

                      If I do find a solution, I will post it here.

                      Thanks!

                      Comment

                      • myshkin
                        Angband Devteam member
                        • Apr 2007
                        • 334

                        #12
                        Originally posted by fxm
                        I'm rather late to the thread, but I'm having the exact same problem. If a solution has been found since this thread was started, I've not been able to find it. To recap:

                        Angband 3.32 quits on launch with the following error in the console:

                        12/29/11 1:12:23 PM [0x0-0x26026].net.thangorodrim.Angband[334] dyld: Symbol not found: _fopen$UNIX2003
                        12/29/11 1:12:23 PM [0x0-0x26026].net.thangorodrim.Angband[334] Referenced from: /Applications/Games/Angband/Angband3.32.app/Contents/MacOS/angband
                        12/29/11 1:12:23 PM [0x0-0x26026].net.thangorodrim.Angband[334] Expected in: /usr/lib/libSystem.B.dylib

                        This is on a PPC Mac OS 10.5.8

                        If I do find a solution, I will post it here.

                        Thanks!
                        If you have Xcode installed, you can rebuild the application from source, and it will work correctly. If not, I will try to make some changes to the build process to fix this error.

                        On a side note, how many people are still playing Angband on OS X 10.4 and older? The new Cocoa port uses some functions introduced in 10.5.

                        Comment

                        • fxm
                          Rookie
                          • Dec 2011
                          • 7

                          #13
                          Originally posted by myshkin
                          If you have Xcode installed, you can rebuild the application from source, and it will work correctly. If not, I will try to make some changes to the build process to fix this error.

                          On a side note, how many people are still playing Angband on OS X 10.4 and older? The new Cocoa port uses some functions introduced in 10.5.
                          Wow, that was fast! Thanks.

                          I've just registered as a developer with Apple and am downloading Xcode 3.1.3 for PPC now. I'll try my hand at compiling tonight and let you know. If it works properly, is there somewhere I should upload the result so others won't have to go through this in the future?

                          If I can't make it work, I will take you up on that offer to tweak the build.

                          Thanks again for your quick response.

                          Comment

                          • myshkin
                            Angband Devteam member
                            • Apr 2007
                            • 334

                            #14
                            Originally posted by fxm
                            Wow, that was fast! Thanks.

                            I've just registered as a developer with Apple and am downloading Xcode 3.1.3 for PPC now. I'll try my hand at compiling tonight and let you know. If it works properly, is there somewhere I should upload the result so others won't have to go through this in the future?
                            Once you've installed Xcode, to build the game
                            • Download and expand the source archive somewhere convenient.
                            • Open Terminal.app or your other favorite terminal emulator, and change directory to the src/ directory of your build tree.
                            • Run make -f Makefile.osx.


                            You should then have an Angband.app one directory above where you are, i.e. at the root of your build tree. No need to upload anything; I will try to make those changes anyway. However, I may need your help to test them, as I no longer have access to any PPC machines or <10.6 machines.

                            Comment

                            • fxm
                              Rookie
                              • Dec 2011
                              • 7

                              #15
                              Originally posted by myshkin
                              Once you've installed Xcode, to build the game
                              • Download and expand the source archive somewhere convenient.
                              • Open Terminal.app or your other favorite terminal emulator, and change directory to the src/ directory of your build tree.
                              • Run make -f Makefile.osx.


                              You should then have an Angband.app one directory above where you are, i.e. at the root of your build tree. No need to upload anything; I will try to make those changes anyway. However, I may need your help to test them, as I no longer have access to any PPC machines or <10.6 machines.
                              No luck, unfortunately. In all likelihood, it's just that I don't have a clue about compiling source code, but I did as you suggested: after installing Xcode 3.1.3, I used the terminal to navigated to the src directory of the unpacked angband-3.2.0.tar.gz. I ran "make -f Makefile.osx".

                              I got several pages of

                              ld warning: in attack.o, file is not of required architecture
                              ld warning: in birth.o, file is not of required architecture
                              ld warning: in button.o, file is not of required architecture
                              ...

                              and several more of

                              Undefined symbols for architecture ppc:
                              "_Rand_div", referenced from:
                              _play_sound in main-crb.o
                              "_pause_line", referenced from:
                              _CommandCommand in main-crb.o
                              ...

                              And I also noticed a

                              ld: symbol(s) not found for architecture i386

                              This is the source file I used:



                              I'd be happy to email you the whole output if you like, or try other options for compiling. I appreciate your help, and would be glad to contribute to a game I've loved for decades. I'm no coder, but I'm reasonably comfortable with command line interfaces and the most basic elements of unix.

                              Thanks!

                              Comment

                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎