Subject: building devel/SDL under mac os x
To: None <tech-pkg@netbsd.org>
From: Antoine Reilles <reilles@loria.fr>
List: tech-pkg
Date: 06/24/2004 17:37:12
Hi all,
i'm trying to build devel/SDL under mac os x 10.3.4, with a full
uptodate pkgsrc, and i get :
gcc -dynamiclib -o .libs/libSDL.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
cpuinfo/.libs/libcpuinfo.a
-L/Volumes/NetBSD/pkgsrc/devel/SDL/work/.buildlink/lib
-L/Volumes/NetBSD/pkgsrc/devel/SDL/work/.x11-buildlink/lib -lstdc++
-install_name /Volumes/NetBSD/pkg/lib/libSDL.0.dylib
-compatibility_version 1 -current_version 1.7
ld: Undefined symbols:
_BitAndAtomic
_DecrementAtomic
_IncrementAtomic
_NewSndCallBackUPP
_SndDisposeChannel
_SndDoCommand
_SndNewChannel
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSConstantString
.objc_class_name_NSDate
.objc_class_name_NSEvent
_CFRelease
_CFRunLoopAddSource
_CFRunLoopGetCurrent
_CGAssociateMouseAndMouseCursorPosition
_CGGetLastMouseDelta
_GetScriptManagerVariable
_IOAllowPowerChange
_IONotificationPortGetRunLoopSource
_IORegisterForSystemPower
_KeyTranslate
_NSApp
_NSDefaultRunLoopMode
_NSLog
_UpdateSystemActivity
__NSConstantStringClassReference
_kCFRunLoopDefaultMode
_objc_msgSend
_objc_msgSend_stret
.objc_class_name_NSOpenGLContext
.objc_class_name_NSOpenGLPixelFormat
_CFBundleCreate
_CFBundleGetFunctionPointerForName
_CFStringCreateWithCString
_CFURLCreateWithFileSystemPath
_CGDisplayIDToOpenGLDisplayMask
_CGLSetParameter
___CFStringMakeConstantString
_glGetIntegerv
_kCFAllocatorDefault
.objc_class_name_NSQuickDrawView
.objc_class_name_NSScreen
.objc_class_name_NSView
_AddAbsoluteToAbsolute
_CFArrayGetCount
_CFArrayGetValueAtIndex
_CFDictionaryGetValue
_CFNumberGetValue
_CGCaptureAllDisplays
_CGDisplayAvailableModes
_CGDisplayBaseAddress
_CGDisplayBeamPosition
_CGDisplayBestModeForParameters
_CGDisplayBytesPerRow
_CGDisplayCanSetPalette
_CGDisplayCapture
_CGDisplayCurrentMode
_CGDisplayRestoreColorSyncSettings
_CGDisplaySetPalette
_CGDisplayShowCursor
_CGDisplaySwitchToMode
_CGGetDisplayTransferByFormula
_CGGetDisplayTransferByTable
_CGLErrorString
_CGLSetFullScreen
_CGMainDisplayID
_CGPaletteCreateDefaultColorPalette
_CGPaletteRelease
_CGPaletteSetColorAtIndex
_CGReleaseAllDisplays
_CGSetDisplayTransferByFormula
_CGSetDisplayTransferByTable
_CopyBits
_CreateNewPortForCGDisplayID
_DisposeRgn
_GetPixBaseAddr
_GetPixRowBytes
_GetPort
_GetPortBitMapForCopyBits
_GetPortPixMap
_HideMenuBar
_LocalToGlobal
_LockPortBits
_MPDelayUntil
_NanosecondsToAbsolute
_NewRgn
_QDFlushPortBuffer
_RectInRgn
_SetEmptyRgn
_SetPort
_SetRect
_SetRectRgn
_ShowMenuBar
_UnionRgn
_UnlockPortBits
_UpTime
_glClear
.objc_class_name_NSNotificationCenter
.objc_class_name_NSObject
.objc_class_name_NSWindow
_NSApplicationDidHideNotification
_NSApplicationDidUnhideNotification
_NSApplicationWillUnhideNotification
_objc_msgSendSuper
.objc_class_name_NSBitmapImageRep
.objc_class_name_NSCursor
.objc_class_name_NSImage
.objc_class_name_NSString
_CGDisplayIsCaptured
_CGDisplayPixelsHigh
_CGSetLocalEventsSuppressionInterval
_CGWarpMouseCursorPosition
_NSDeviceRGBColorSpace
_NSPointInRect
_SetCursor
_CDSequenceEnd
_CGShieldingWindowLevel
_DecompressSequenceBeginS
_DecompressSequenceFrameS
_DisposeHandle
_EnterMovies
_ExitMovies
_FindCodec
_FixDiv
_HLock
_HUnlock
_Long2Fix
_NewHandleClear
_ScaleMatrix
_SetDSequenceMatrix
_SetIdentityMatrix
_CFArrayApplyFunction
_CFArrayGetTypeID
_CFDictionaryGetTypeID
_CFGetTypeID
_CFStringGetCString
_CFStringGetSystemEncoding
_CFUUIDGetConstantUUIDWithBytes
_CFUUIDGetUUIDBytes
_DisposePtr
_IOCreatePlugInInterfaceForService
_IOIteratorNext
_IOMasterPort
_IOObjectRelease
_IORegistryEntryCreateCFProperties
_IORegistryEntryGetParentEntry
_IOServiceGetMatchingServices
_IOServiceMatching
_NewPtrClear
_PBHGetVolParmsSync
_PBUnmountVol
_AudioConverterDispose
_AudioConverterFillBuffer
_AudioConverterNew
_AudioUnitGetProperty
_AudioUnitSetProperty
_FSClose
_FSGetDataForkName
_FSOpenFork
_FSReadFork
_FSSetForkPosition
_GetComponentInfo
_FSGetForkPosition
_AudioOutputUnitStart
_AudioOutputUnitStop
_AudioUnitInitialize
_CFDataCreate
_CFPropertyListCreateFromXMLData
_CFStringCreateWithCharacters
_CFStringHasSuffix
_FSCloseFork
_FSCloseIterator
_FSGetCatalogInfoBulk
_FSGetForkSize
_FSGetVolumeInfo
_FSOpenIterator
_FindNextComponent
_NewPtr
_OpenAComponent
_PBMakeFSRefSync
_kCFBooleanTrue
/usr/bin/libtool: internal link edit command failed
gnumake[2]: *** [libSDL.la] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all-recursive] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/devel/SDL
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/SDL
has someone an idea of what the problem is ?
Many thanks in advance
Antoine