Compilation problems on OS X

I can compile SDL.framework using the Project Builder file, but the
makefile doesn’t work. It compiles all of the files, then fails on the
following. Why it’s trying to prebind against something in /sw leaves
me clueless. Any ideas?

Also, are there any plans to migrate the existing project files to
Xcode targets, or will they remai in Project Builder format for the
time being?

Richard Schreyer

/bin/sh …/libtool --mode=link gcc -g -O2 -Wall -DENABLE_DUMMYVIDEO
-DDISKAUD_SUPPORT -I/System/Library/Frameworks/Carbon.framework/Headers
-I/System/Library/Frameworks/Cocoa.framework/Headers
-fpascal-strings -DENABLE_QUARTZ -DMACOSX
-DTARGET_API_MAC_CARBON=1 -I…/src/video/quartz -DHAVE_OPENGL
-D_THREAD_SAFE -DSDL_USE_PTHREADS -DPTHREAD_NO_RECURSIVE_MUTEX
-DHAVE_SEMUN -I…/include -I…/include/SDL -I…/src -I…/src/macosx
-I…/src/main -I…/src/audio -I…/src/video
-I…/src/video/XFree86/extensions -I…/src/events -I…/src/joystick
-I…/src/cdrom -I…/src/thread -I…/src/timer -I…/src/endian
-I…/src/file -I…/src/thread -o libSDL.la -rpath /usr/local/lib
-no-undefined -release 1.2 -version-info 0:7:0 SDL.lo SDL_error.lo
SDL_fatal.lo SDL_getenv.lo SDL_loadso.lo main/libarch.la
audio/libaudio.la video/libvideo.la events/libevents.la
joystick/libjoystick.la cdrom/libcdrom.la thread/libthread.la
timer/libtimer.la endian/libendian.la file/libfile.la -framework OpenGL
-framework AGL -framework IOKit -framework Cocoa -framework Carbon
-framework QuickTime
gcc -dynamiclib -o .libs/libSDL-1.2.0.0.7.dylib .libs/SDL.o
.libs/SDL_error.o .libs/SDL_fatal.o .libs/SDL_getenv.o
.libs/SDL_loadso.o -all_load main/.libs/libarch.a
audio/.libs/libaudio.a video/.libs/libvideo.a events/.libs/libevents.a
joystick/.libs/libjoystick.a cdrom/.libs/libcdrom.a
thread/.libs/libthread.a timer/.libs/libtimer.a
endian/.libs/libendian.a file/.libs/libfile.a -install_name
/usr/local/lib/libSDL-1.2.0.dylib -compatibility_version 1
-current_version 1.7
ld: warning -dylib_install_name /usr/local/lib/libSDL-1.2.0.dylib not
found in segment address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_BitAndAtomic
_DecrementAtomic
_IncrementAtomic
_NewSndCallBackUPP
_SndDisposeChannel
_SndDoCommand
_SndNewChannel
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSBitmapImageRep
.objc_class_name_NSConstantString
.objc_class_name_NSDate
.objc_class_name_NSEvent
.objc_class_name_NSImage
.objc_class_name_NSNotificationCenter
.objc_class_name_NSObject
.objc_class_name_NSOpenGLContext
.objc_class_name_NSOpenGLPixelFormat
.objc_class_name_NSQuickDrawView
.objc_class_name_NSScreen
.objc_class_name_NSString
.objc_class_name_NSView
.objc_class_name_NSWindow
_AddAbsoluteToAbsolute
_CDSequenceEnd
_CFArrayGetCount
_CFArrayGetValueAtIndex
_CFBundleCreate
… on onwards for awhile longer