On May 21, 2013, at 10:47 PM, Alexander Hansen wrote:

> 2)  Patch Makefile to replace '-lGL -lGLU' with '-Wl,-framework,OpenGL'

        This is the way i went, as i'm not gonna put together an info file 
until i'm sure it compiles by hand.  Now that the dependencies seem to be taken 
care of i get this:

Darlene-Lowes-Mac-mini:sdl-ball (368) $ make
g++ -DDATADIR="\"themes/\""  main.o -Wl,-framework,OpenGL `sdl-config --libs` 
-lSDL_image -lSDL_ttf -lSDL_mixer -o sdl-ball
ld: warning: in main.o, file was built for unsupported file format which is not 
the architecture being linked (i386)
Undefined symbols:
  "_SDL_main", referenced from:
      -[SDLMain applicationDidFinishLaunching:] in libSDLmain.a(SDLMain.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [sdl-ball] Error 1

        This is an i386 machine, so why is it trying to make otherwise?  Here 
are some specs:


Darlene-Lowes-Mac-mini:sdl-ball (370) $ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.6.8
BuildVersion:   10K549
Darlene-Lowes-Mac-mini:sdl-ball (371) $ xcodebuild -version | head -n 1
Xcode 3.2.3
Darlene-Lowes-Mac-mini:sdl-ball (372) $ fink list sdl
Information about 12522 packages read in 5 seconds.
     alien-sdl-pm5100                                           1.4.25-1        
                             Building, finding and using SDL binaries
     alien-sdl-pm588                                            1.4.25-1        
                             Building, finding and using SDL binaries
     angband-sdl                                                3.1.1.1626-3    
                             SDL-based dungeon exploration game
     atari800-sdl                                               2.1.0-2         
                             Atari 800 emulator, SDL variant
     mpg123-sdl                                                 1:1.15.4-1      
                             SDL output module for mpg123
 i   sdl                                                        1.2.15-1        
                             Cross-platform multimedia library
     sdl-gfx13                                                  2.0.23-1        
                             SDL basic drawing routines and rotozoomer
     sdl-gfx13-shlibs                                           2.0.23-1        
                             SDL basic drawing routines and rotozoomer
 i   sdl-image                                                  1.2.12-1        
                             SDL image file loading library
 i   sdl-image-shlibs                                           1.2.12-1        
                             SDL image file loading library
 i   sdl-mixer                                                  1.2.12-1        
                             SDL multi-channel audio mixer library
 i   sdl-mixer-shlibs                                           1.2.12-1        
                             SDL multi-channel audio mixer library
     sdl-net                                                    1.2.7-1         
                             SDL networking library
     sdl-net-shlibs                                             1.2.7-1         
                             SDL networking library
     sdl-pm5100                                                 2.511-1         
                             Simple DirectMedia Layer for Perl
     sdl-pm588                                                  2.511-1         
                             Simple DirectMedia Layer for Perl
 i   sdl-shlibs                                                 1.2.15-1        
                             Cross-platform multimedia library
     sdl-sound                                                  1.0.3-5         
                             SDL sound library
     sdl-sound-bin                                              1.0.3-5         
                             SDL sound library - audio player
     sdl-sound-shlibs                                           1.0.3-5         
                             SDL sound library - shared libs
 i   sdl-ttf                                                    2.0.11-1        
                             SDL TrueType font library
 i   sdl-ttf-shlibs                                             2.0.11-1        
                             SDL TrueType font library

Sent from Darlene-Lowes-Mac-mini

Jayne: "Oh, I think you might wanna reconsider that last part. See, I married 
me a powerful ugly creature."
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to