Compiling SDL Mac OS X

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Nekuz0r
Posts: 3
Joined: Mon Apr 02, 2007 11:13 am

Compiling SDL Mac OS X

Post by Nekuz0r »

I am trying to compiling SDL under Mac Os X 10.4.9

su root
svn co svn://svn.pspdev.org/trunk/SDL
port install automake17
port deactivate automake
cd SDL
./autogen.sh
./configure
./make

Problem :
ld: Undefined symbols:
__Unwind_Resume
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libSDL.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
thx for your responses
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

Uhhm

Have you read readme.psp

su root
svn co svn://svn.pspdev.org/trunk/SDL
port install automake17
port deactivate automake
cd SDL
./autogen.sh
./configure
./make
Should be

svn co svn://svn.pspdev.org/psp/trunk/SDL
cd SDL

./autogen.sh

then
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
then
make
then
sudo make install

Do not bother with your fancy method..
Post Reply