Compilation Error with Mac OS X 10.3.9

Hello !

When compiling the latest SDL-1.2 SVN on Mac OS X 10.3.9 with
XCode 1.5 i get the following error message :

gcc -dynamiclib -o build/.libs/libSDL-1.2.0.11.1.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/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_QuartzYUV.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_romaudio.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 -Wl,-framework -Wl,OpenGL -Wl,-framework
-Wl,Cocoa -Wl,-framework -Wl,QuickTime -Wl,-framework
-Wl,ApplicationServices -Wl,-framework -Wl,Carbon -Wl,-framework
-Wl,AudioToolbox -Wl,-framework -Wl,AudioUnit -Wl,-framework -Wl,IOKit
-install_name /usr/local/lib/libSDL-1.2.0.dylib
-Wl,-compatibility_version -Wl,12 -Wl,-current_version -Wl,12.1
ld: Undefined symbols:
_HIPointConvert referenced from QuickTime expected to be defined in Carbon
/usr/bin/libtool: internal link edit command failed
make: *** [build/libSDL.la] Error 1

What can i do about this ?

CU

Hello !

ld: Undefined symbols:
_HIPointConvert referenced from QuickTime expected to be defined in Carbon
/usr/bin/libtool: internal link edit command failed
make: *** [build/libSDL.la] Error 1

_HIPointConvert is only available
in OS X 10.4 and later.

CU

Did you install the last Quicktime SDK for 10.3? If so, I think you
are SOL. If I recall correctly, Apple botched this SDK big-time and
introduced Tiger dependencies into it. I haven’t personally
experienced this, but I think Sam ran into this problem and could not
build SDL after he installed the latest Quicktime SDK. I think the
only solution was to reinstall an older version of 10.3 and remember
to not install that SDK.

-EricOn 8/1/07, Torsten Giebl wrote:

Hello !

ld: Undefined symbols:
_HIPointConvert referenced from QuickTime expected to be defined in Carbon
/usr/bin/libtool: internal link edit command failed
make: *** [build/libSDL.la] Error 1

_HIPointConvert is only available
in OS X 10.4 and later.

CU


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hello !

Did you install the last Quicktime SDK for 10.3? If so, I think you
are SOL. If I recall correctly, Apple botched this SDK big-time and
introduced Tiger dependencies into it. I haven’t personally
experienced this, but I think Sam ran into this problem and could not
build SDL after he installed the latest Quicktime SDK. I think the
only solution was to reinstall an older version of 10.3 and remember
to not install that SDK.

I installed XCode 1.5 on that system, then tried to
compile SDL, after that installed this SDK
and then tryed compiling SDL again.

Both tries the same error message,
but i can test it tomorrow again.

CU

Torsten Giebl <wizard syntheticsw.com> writes:

What can i do about this ?

CU

Have a look there (I had to write the link on 2 lines) :
http://www.mackb.com/Uwe/Forum.aspx/programming/3718/
missing-HIPointConvert-in-CarbonLib

That’s part of the answer, but setting special link flags is not that
much easy. I compiled the SDL library too and to do so I made a
copy of the original QuickTime framework then I moved the one
from the 10.2.8 SDK to the Frameworks folder
(in /System/Library) and it worked. Then you have to replace the
framework (in /System/Library/Frameworks) with the original one.

I’m French and I hope you’ll understand my English :wink:

Spootnik <spootnikdev orange.fr> writes:

Have a look there (I had to write the link on 2 lines) :
http://www.mackb.com/Uwe/Forum.aspx/programming/3718/
missing-HIPointConvert-in-CarbonLib

I made a mistake with the link :
http://www.mackb.com/Uwe/Forum.aspx/programming/3810/
HIPointConvert-missing