I guess we really aren't supposed to discuss the osxwinebuilder script here on this forum, but I thought the whole point of that script is that it downloads everything necessary, including SDL, and builds it in a self contained directory, it does not install anything into /usr for example. So if I start with an empty directory and run the script, it should just work. I see that the script is using version 1.2.14 of SDL library, that library is currently up to version 1.2.15, but it may be by design that wine needs to use 1.2.14, I do not know. Nonetheless, I don't understand why someone else ran the script and it worked fine, while I run the script and get compile error related to SDL somehow. Actually I am not able to build older wine versions such as 1.4 anymore now either. WTF? Here is the error I got: Code: libtool: link: gcc -g -O2 -arch i386 -m32 -mmmx -msse -msse2 -msse3 -mfpmath=sse -I/Users/sjs/wine/wine-1.5.5/include -I/opt/X11/include -dynamiclib -o build/.libs/libSDL-1.2.0.dylib build/.libs/SDL.o build/.libs/SDL_error.o build/.libs/SDL_fatal.o build/.libs/SDL_audio.o build/.libs/SDL_audiocvt.o build/.libs/SDL_audiodev.o build/.libs/SDL_mixer.o build/.libs/SDL_mixer_MMX.o build/.libs/SDL_mixer_MMX_VC.o build/.libs/SDL_mixer_m68k.o build/.libs/SDL_wave.o build/.libs/SDL_cdrom.o build/.libs/SDL_cpuinfo.o build/.libs/SDL_active.o build/.libs/SDL_events.o build/.libs/SDL_expose.o build/.libs/SDL_keyboard.o build/.libs/SDL_mouse.o build/.libs/SDL_quit.o build/.libs/SDL_resize.o build/.libs/SDL_rwops.o build/.libs/SDL_getenv.o build/.libs/SDL_iconv.o build/.libs/SDL_malloc.o build/.libs/SDL_qsort.o build/.libs/SDL_stdlib.o build/.libs/SDL_string.o build/.libs/SDL_thread.o build/.libs/SDL_timer.o build/.libs/SDL_RLEaccel.o build/.libs/SDL_blit.o build/.libs/SDL_blit_0.o build/.libs/SDL_blit_1.o build/.libs/SDL_blit_A.o build/.libs/SDL_blit_N.o build/.libs/SDL_bmp.o build/.libs/SDL_cursor.o build/.libs/SDL_gamma.o build/.libs/SDL_pixels.o build/.libs/SDL_stretch.o build/.libs/SDL_surface.o build/.libs/SDL_video.o build/.libs/SDL_yuv.o build/.libs/SDL_yuv_mmx.o build/.libs/SDL_yuv_sw.o build/.libs/SDL_joystick.o build/.libs/SDL_nullevents.o build/.libs/SDL_nullmouse.o build/.libs/SDL_nullvideo.o build/.libs/SDL_diskaudio.o build/.libs/SDL_dummyaudio.o build/.libs/SDL_sysloadso.o build/.libs/mmx_main.o build/.libs/mmxp2_32.o build/.libs/x86_main.o build/.libs/x86p_16.o build/.libs/x86p_32.o build/.libs/SDL_QuartzEvents.o build/.libs/SDL_QuartzGL.o build/.libs/SDL_QuartzVideo.o build/.libs/SDL_QuartzWM.o build/.libs/SDL_QuartzWindow.o build/.libs/SDL_x11dga.o build/.libs/SDL_x11dyn.o build/.libs/SDL_x11events.o build/.libs/SDL_x11gamma.o build/.libs/SDL_x11gl.o build/.libs/SDL_x11image.o build/.libs/SDL_x11modes.o build/.libs/SDL_x11mouse.o build/.libs/SDL_x11video.o build/.libs/SDL_x11wm.o build/.libs/SDL_x11yuv. o build/.libs/XF86DGA.o build/.libs/XF86DGA2.o build/.libs/SDL_dgaevents.o build/.libs/SDL_dgamouse.o build/.libs/SDL_dgavideo.o build/.libs/XF86VMode.o build/.libs/Xv.o build/.libs/Xinerama.o build/.libs/xme.o build/.libs/SDL_systhread.o build/.libs/SDL_syssem.o build/.libs/SDL_sysmutex.o build/.libs/SDL_syscond.o build/.libs/SDL_coreaudio.o build/.libs/SDL_sysjoystick.o build/.libs/AudioFilePlayer.o build/.libs/AudioFileReaderThread.o build/.libs/CDPlayer.o build/.libs/SDLOSXCAGuard.o build/.libs/SDL_syscdrom.o build/.libs/SDL_systimer.o -L/Users/sjs/wine/wine-1.5.5/lib -L/opt/X11/lib -framework CoreServices -lz -lGL -lGLU -arch i386 -m32 -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-framework -Wl,OpenGL -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,AudioToolbox -Wl,-framework -Wl,AudioUnit -Wl,-framework -Wl,IOKit -framework CoreServices -install_name /Users/sjs/wine/wine-1.5.5/lib/libSDL-1.2.0.dylib -compatibility_version 12 -current_version 12.3 -Wl,-single_module Undefined symbols: "__XGetRequest", referenced from: _SDL_XF86DGAInstallColormap in XF86DGA.o _SDL_XF86DGASetVidPage in XF86DGA.o _SDL_XF86DGASetViewPort in XF86DGA.o _SDL_XF86DGADirectVideoLL in XF86DGA.o _SDL_XF86DGAViewPortChanged in XF86DGA.o _SDL_XF86DGAQueryDirectVideo in XF86DGA.o _SDL_XF86DGAGetVidPage in XF86DGA.o _SDL_XF86DGAGetViewPortSize in XF86DGA.o _SDL_XF86DGAGetVideoLL in XF86DGA.o _SDL_XDGACreateColormap in XF86DGA2.o _SDL_XDGAChangePixmapMode in XF86DGA2.o _SDL_XDGASync in XF86DGA2.o _SDL_XDGAGetViewportStatus in XF86DGA2.o _SDL_XDGACopyTransparentArea in XF86DGA2.o _SDL_XDGACopyArea in XF86DGA2.o _SDL_XDGAFillRectangle in XF86DGA2.o _SDL_XDGASelectInput in XF86DGA2.o _SDL_XDGAInstallColormap in XF86DGA2.o _SDL_XDGASetViewport in XF86DGA2.o _SDL_XDGASetMode in XF86DGA2.o _SDL_XDGAQueryModes in XF86DGA2.o _SDL_XDGACloseFramebuffer in XF86DGA2.o _SDL_XDGAOpenFramebuffer in XF86DGA2.o _SDL_XDGASetClientVersion in XF86DGA2.o _SDL_XDGAQueryVersion in XF86DGA2.o _SDL_XF86VidModeGetGammaRampSize in XF86VMode.o _SDL_XF86VidModeSetViewPort in XF86VMode.o _SDL_XF86VidModeLockModeSwitch in XF86VMode.o _SDL_XF86VidModeSwitchMode in XF86VMode.o _SDL_XF86VidModeGetGamma in XF86VMode.o _SDL_XF86VidModeSetGamma in XF86VMode.o _SDL_XF86VidModeSetClientVersion in XF86VMode.o _SDL_XF86VidModeQueryVersion in XF86VMode.o _SDL_XF86VidModeGetViewPort in XF86VMode.o _SDL_XF86VidModeGetGammaRamp in XF86VMode.o _SDL_XF86VidModeSetGammaRamp in XF86VMode.o _SDL_XF86VidModeGetDotClocks in XF86VMode.o _SDL_XF86VidModeGetAllModeLines in XF86VMode.o _SDL_XF86VidModeGetModeLine in XF86VMode.o _SDL_XF86VidModeGetMonitor in XF86VMode.o _SDL_XF86VidModeAddModeLine in XF86VMode.o _SDL_XF86VidModeSwitchToMode in XF86VMode.o _SDL_XF86VidModeValidateModeLine in XF86VMode.o _SDL_XF86VidModeModModeLine in XF86VMode.o _SDL_XF86VidModeDeleteModeLine in XF86VMode.o _SDL_XineramaQueryScreens in Xinerama.o _SDL_XineramaIsActive in Xinerama.o _SDL_XPanoramiXGetScreenSize in Xinerama.o _SDL_XPanoramiXGetScreenCount in Xinerama.o _SDL_XPanoramiXGetState in Xinerama.o _SDL_XPanoramiXQueryVersion in Xinerama.o _XiGMiscFullScreen in xme.o _XiGMiscChangeResolution in xme.o _XiGMiscQueryResolutions in xme.o _XiGMiscQueryViews in xme.o _XiGMiscQueryVersion in xme.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [build/libSDL.la] Error 1 could not run 'make -j3' in /Users/sjs/wine/build/SDL-1.2.14 - exiting