Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#13170 closed defect (wontfix)

libsdl 1.2.12 +darwin_7 Quicktime 7.3/Panther 10.3.9 missing _HIPointConvert

Reported by: william.allen.simpson@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: nox@…, william.allen.simpson@…
Port:

Description

See also #13169

--->  Building libsdl with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12" && make all " returned error 2
Command output: Warning, configure.in is out of date
#(cd . && sh autogen.sh && sh configure)
/bin/sh ./libtool --mode=link gcc -o build/libSDL.la build/SDL.lo build/SDL_error.lo build/SDL_fatal.lo build/SDL_audio.lo build/SDL_audiocvt.lo build/SDL_audiodev.lo build/SDL_mixer.lo build/SDL_mixer_MMX.lo build/SDL_mixer_MMX_VC.lo build/SDL_mixer_m68k.lo build/SDL_wave.lo build/SDL_cdrom.lo build/SDL_cpuinfo.lo build/SDL_active.lo build/SDL_events.lo build/SDL_expose.lo build/SDL_keyboard.lo build/SDL_mouse.lo build/SDL_quit.lo build/SDL_resize.lo build/SDL_rwops.lo build/SDL_getenv.lo build/SDL_iconv.lo build/SDL_malloc.lo build/SDL_qsort.lo build/SDL_stdlib.lo build/SDL_string.lo build/SDL_thread.lo build/SDL_timer.lo build/SDL_RLEaccel.lo build/SDL_blit.lo build/SDL_blit_0.lo build/SDL_blit_1.lo build/SDL_blit_A.lo build/SDL_blit_N.lo build/SDL_bmp.lo build/SDL_cursor.lo build/SDL_gamma.lo build/SDL_pixels.lo build/SDL_stretch.lo build/SDL_surface.lo build/SDL_video.lo build/SDL_yuv.lo build/SDL_yuv_mmx.lo build/SDL_yuv_sw.lo build/SDL_joystick.lo build/SDL_nullevents.lo build/SDL_nullmouse.lo build/SDL_nullvideo.lo build/SDL_diskaudio.lo build/SDL_dummyaudio.lo build/SDL_sysloadso.lo build/SDL_QuartzEvents.lo build/SDL_QuartzGL.lo build/SDL_QuartzVideo.lo build/SDL_QuartzWM.lo build/SDL_QuartzWindow.lo build/SDL_QuartzYUV.lo build/SDL_x11dga.lo build/SDL_x11dyn.lo build/SDL_x11events.lo build/SDL_x11gamma.lo build/SDL_x11gl.lo build/SDL_x11image.lo build/SDL_x11modes.lo build/SDL_x11mouse.lo build/SDL_x11video.lo build/SDL_x11wm.lo build/SDL_x11yuv.lo build/XF86DGA.lo build/XF86DGA2.lo build/SDL_dgaevents.lo build/SDL_dgamouse.lo build/SDL_dgavideo.lo build/XF86VMode.lo build/Xv.lo build/Xinerama.lo build/xme.lo build/SDL_systhread.lo build/SDL_syssem.lo build/SDL_sysmutex.lo build/SDL_syscond.lo build/SDL_coreaudio.lo build/SDL_romaudio.lo build/SDL_sysjoystick.lo build/AudioFilePlayer.lo build/AudioFileReaderThread.lo build/CDPlayer.lo build/SDLOSXCAGuard.lo build/SDL_syscdrom.lo build/SDL_systimer.lo -L/opt/local/lib -Wl,-framework,OpenGL  -Wl,-framework,Cocoa -Wl,-framework,QuickTime -Wl,-framework,ApplicationServices -Wl,-framework,Carbon -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit -Wl,-framework,IOKit -no-undefined -rpath /opt/local/lib -release 1.2 -version-info 11:1:11
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  -L/opt/local/lib  -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  /opt/local/lib/libSDL-1.2.0.dylib -Wl,-compatibility_version -Wl,12 -Wl,-current_version -Wl,12.1
/usr/bin/libtool: internal link edit command failed
ld: Undefined symbols:
_HIPointConvert referenced from QuickTime expected to be defined in Carbon
make: *** [build/libSDL.la] Error 1

Error: Status 1 encountered during processing.

Change History (16)

comment:1 Changed 17 years ago by nox@…

Cc: nox@… added

libsdl port can't build on Panther with QuickTime >7.0.3 (see #6533). In fact, it should die on pre-fetch stage. Seems like the procedure to get QuickTime version doesn't work anymore.

I'll look into it tonight, if my iBook is not totally broken, got three kernel panics today~~

comment:2 Changed 17 years ago by william.allen.simpson@…

It should not die. It should be fixed. There is no "downgrade" to 7.0.3, and it's a bad idea to downgrade security!

There are ~160 of these reports on Google....

comment:3 Changed 17 years ago by nox@…

I do know this should be fixed, but even SDL guys didn't figure out how to do so. If you have a fix, I'm all ears.

I've received a mail about how this should be fixed, and you may help me becoming my guinea pig, try:

sudo port -d build configure.ldflags='-L${prefix}/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk'

Apparently the build process will not fail if we link against SDK instead of system libs.

comment:4 Changed 17 years ago by william.allen.simpson@…

No joy. Even after figuring out the error in the command.

sudo port -d build libsdl  configure.ldflags='-L${prefix}/lib  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk'
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl
DEBUG: Requested variant powerpc is not provided by port libsdl.
DEBUG: Requested variant darwin is not provided by port libsdl.
DEBUG: Requested variant macosx is not provided by port libsdl.
DEBUG: Executing variant darwin_7 provides darwin_7
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Requested variant powerpc is not provided by port XFree86.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant macosx provides macosx
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: ^libX11\.6\.dylib$
DEBUG: Skipping completed org.macports.main (libsdl)
DEBUG: Skipping completed org.macports.fetch (libsdl)
DEBUG: Skipping completed org.macports.checksum (libsdl)
DEBUG: Skipping completed org.macports.extract (libsdl)
DEBUG: Skipping completed org.macports.patch (libsdl)
DEBUG: Skipping completed org.macports.configure (libsdl)
--->  Building libsdl with target all
DEBUG: Executing org.macports.build (libsdl)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12" && make all'
Warning, configure.in is out of date
#(cd . && sh autogen.sh && sh configure)
/bin/sh ./libtool --mode=link gcc -o build/libSDL.la build/SDL.lo build/SDL_error.lo build/SDL_fatal.lo build/SDL_audio.lo build/SDL_audiocvt.lo build/SDL_audiodev.lo build/SDL_mixer.lo build/SDL_mixer_MMX.lo build/SDL_mixer_MMX_VC.lo build/SDL_mixer_m68k.lo build/SDL_wave.lo build/SDL_cdrom.lo build/SDL_cpuinfo.lo build/SDL_active.lo build/SDL_events.lo build/SDL_expose.lo build/SDL_keyboard.lo build/SDL_mouse.lo build/SDL_quit.lo build/SDL_resize.lo build/SDL_rwops.lo build/SDL_getenv.lo build/SDL_iconv.lo build/SDL_malloc.lo build/SDL_qsort.lo build/SDL_stdlib.lo build/SDL_string.lo build/SDL_thread.lo build/SDL_timer.lo build/SDL_RLEaccel.lo build/SDL_blit.lo build/SDL_blit_0.lo build/SDL_blit_1.lo build/SDL_blit_A.lo build/SDL_blit_N.lo build/SDL_bmp.lo build/SDL_cursor.lo build/SDL_gamma.lo build/SDL_pixels.lo build/SDL_stretch.lo build/SDL_surface.lo build/SDL_video.lo build/SDL_yuv.lo build/SDL_yuv_mmx.lo build/SDL_yuv_sw.lo build/SDL_joystick.lo build/SDL_nullevents.lo build/SDL_nullmouse.lo build/SDL_nullvideo.lo build/SDL_diskaudio.lo build/SDL_dummyaudio.lo build/SDL_sysloadso.lo build/SDL_QuartzEvents.lo build/SDL_QuartzGL.lo build/SDL_QuartzVideo.lo build/SDL_QuartzWM.lo build/SDL_QuartzWindow.lo build/SDL_QuartzYUV.lo build/SDL_x11dga.lo build/SDL_x11dyn.lo build/SDL_x11events.lo build/SDL_x11gamma.lo build/SDL_x11gl.lo build/SDL_x11image.lo build/SDL_x11modes.lo build/SDL_x11mouse.lo build/SDL_x11video.lo build/SDL_x11wm.lo build/SDL_x11yuv.lo build/XF86DGA.lo build/XF86DGA2.lo build/SDL_dgaevents.lo build/SDL_dgamouse.lo build/SDL_dgavideo.lo build/XF86VMode.lo build/Xv.lo build/Xinerama.lo build/xme.lo build/SDL_systhread.lo build/SDL_syssem.lo build/SDL_sysmutex.lo build/SDL_syscond.lo build/SDL_coreaudio.lo build/SDL_romaudio.lo build/SDL_sysjoystick.lo build/AudioFilePlayer.lo build/AudioFileReaderThread.lo build/CDPlayer.lo build/SDLOSXCAGuard.lo build/SDL_syscdrom.lo build/SDL_systimer.lo -L/opt/local/lib -Wl,-framework,OpenGL  -Wl,-framework,Cocoa -Wl,-framework,QuickTime -Wl,-framework,ApplicationServices -Wl,-framework,Carbon -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit -Wl,-framework,IOKit -no-undefined -rpath /opt/local/lib -release 1.2 -version-info 11:1:11
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  -L/opt/local/lib  -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  /opt/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
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12" && make all " returned error 2
Command output: Warning, configure.in is out of date
#(cd . && sh autogen.sh && sh configure)
/bin/sh ./libtool --mode=link gcc -o build/libSDL.la build/SDL.lo build/SDL_error.lo build/SDL_fatal.lo build/SDL_audio.lo build/SDL_audiocvt.lo build/SDL_audiodev.lo build/SDL_mixer.lo build/SDL_mixer_MMX.lo build/SDL_mixer_MMX_VC.lo build/SDL_mixer_m68k.lo build/SDL_wave.lo build/SDL_cdrom.lo build/SDL_cpuinfo.lo build/SDL_active.lo build/SDL_events.lo build/SDL_expose.lo build/SDL_keyboard.lo build/SDL_mouse.lo build/SDL_quit.lo build/SDL_resize.lo build/SDL_rwops.lo build/SDL_getenv.lo build/SDL_iconv.lo build/SDL_malloc.lo build/SDL_qsort.lo build/SDL_stdlib.lo build/SDL_string.lo build/SDL_thread.lo build/SDL_timer.lo build/SDL_RLEaccel.lo build/SDL_blit.lo build/SDL_blit_0.lo build/SDL_blit_1.lo build/SDL_blit_A.lo build/SDL_blit_N.lo build/SDL_bmp.lo build/SDL_cursor.lo build/SDL_gamma.lo build/SDL_pixels.lo build/SDL_stretch.lo build/SDL_surface.lo build/SDL_video.lo build/SDL_yuv.lo build/SDL_yuv_mmx.lo build/SDL_yuv_sw.lo build/SDL_joystick.lo build/SDL_nullevents.lo build/SDL_nullmouse.lo build/SDL_nullvideo.lo build/SDL_diskaudio.lo build/SDL_dummyaudio.lo build/SDL_sysloadso.lo build/SDL_QuartzEvents.lo build/SDL_QuartzGL.lo build/SDL_QuartzVideo.lo build/SDL_QuartzWM.lo build/SDL_QuartzWindow.lo build/SDL_QuartzYUV.lo build/SDL_x11dga.lo build/SDL_x11dyn.lo build/SDL_x11events.lo build/SDL_x11gamma.lo build/SDL_x11gl.lo build/SDL_x11image.lo build/SDL_x11modes.lo build/SDL_x11mouse.lo build/SDL_x11video.lo build/SDL_x11wm.lo build/SDL_x11yuv.lo build/XF86DGA.lo build/XF86DGA2.lo build/SDL_dgaevents.lo build/SDL_dgamouse.lo build/SDL_dgavideo.lo build/XF86VMode.lo build/Xv.lo build/Xinerama.lo build/xme.lo build/SDL_systhread.lo build/SDL_syssem.lo build/SDL_sysmutex.lo build/SDL_syscond.lo build/SDL_coreaudio.lo build/SDL_romaudio.lo build/SDL_sysjoystick.lo build/AudioFilePlayer.lo build/AudioFileReaderThread.lo build/CDPlayer.lo build/SDLOSXCAGuard.lo build/SDL_syscdrom.lo build/SDL_systimer.lo -L/opt/local/lib -Wl,-framework,OpenGL  -Wl,-framework,Cocoa -Wl,-framework,QuickTime -Wl,-framework,ApplicationServices -Wl,-framework,Carbon -Wl,-framework,AudioToolbox -Wl,-framework,AudioUnit -Wl,-framework,IOKit -no-undefined -rpath /opt/local/lib -release 1.2 -version-info 11:1:11
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  -L/opt/local/lib  -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  /opt/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

Warning: the following items did not execute (for libsdl): org.macports.build
Error: Status 1 encountered during processing.

comment:5 Changed 17 years ago by william.allen.simpson@…

Tried cleaning first, even worse!

sudo port clean libsdl
--->  Cleaning libsdl
sudo port -d build libsdl  configure.ldflags='-L${prefix}/lib  -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk'
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl
DEBUG: Requested variant powerpc is not provided by port libsdl.
DEBUG: Requested variant darwin is not provided by port libsdl.
DEBUG: Requested variant macosx is not provided by port libsdl.
DEBUG: Executing variant darwin_7 provides darwin_7
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Requested variant powerpc is not provided by port XFree86.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant macosx provides macosx
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib regex: ^libX11\.6\.dylib$
DEBUG: Executing org.macports.main (libsdl)
--->  Fetching libsdl
DEBUG: Executing proc-pre-org.macports.fetch-fetch-0
DEBUG: Executing org.macports.fetch (libsdl)
--->  Verifying checksum(s) for libsdl
DEBUG: Executing org.macports.checksum (libsdl)
--->  Checksumming SDL-1.2.12.tar.gz
DEBUG: Correct (md5) checksum for SDL-1.2.12.tar.gz
DEBUG: Correct (sha1) checksum for SDL-1.2.12.tar.gz
DEBUG: Correct (rmd160) checksum for SDL-1.2.12.tar.gz
--->  Extracting libsdl
DEBUG: Executing org.macports.extract (libsdl)
--->  Extracting SDL-1.2.12.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/libsdl/SDL-1.2.12.tar.gz
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work" && gzip -dc /opt/local/var/macports/distfiles/libsdl/SDL-1.2.12.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (libsdl)
--->  Configuring libsdl
DEBUG: Executing org.macports.configure (libsdl)
DEBUG: No compiler collection selected explicitly
DEBUG: Environment: CXXFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CFLAGS='-O2' LDFLAGS='-L/opt/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12" && ./configure --prefix=/opt/local --enable-shared --mandir=/opt/local/share/man'
checking build system type... powerpc-apple-darwin7.9.0
checking host system type... powerpc-apple-darwin7.9.0
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12" && ./configure --prefix=/opt/local --enable-shared --mandir=/opt/local/share/man " returned error 77
Command output: checking build system type... powerpc-apple-darwin7.9.0
checking host system type... powerpc-apple-darwin7.9.0
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Warning: the following items did not execute (for libsdl): org.macports.build org.macports.configure
Error: Status 1 encountered during processing.

comment:6 Changed 17 years ago by nox@…

It seems that's not that my configure.ldfags don't solve the problem: it seems they didn't even get into the libtool command.

comment:7 Changed 17 years ago by nox@…

Mmmh. Ignore my last comment, I've read yours in the wrong order.

comment:8 Changed 17 years ago by nox@…

Could you paste attach your config.log file?

comment:9 Changed 17 years ago by william.allen.simpson@…

ld doesn't like -syslibroot

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/opt/local --enable-shared --mandir=/opt/local/share/man

## --------- ##
## Platform. ##
## --------- ##

hostname = FlatLand
uname -m = Power Macintosh
uname -r = 7.9.0
uname -s = Darwin
uname -v = Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC 

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
	 Darwin Kernel Version 7.9.0:
Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC


Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc970 (PowerPC 970)
Processor active: 0
Primary memory available: 256.00 megabytes.
Default processor set: 59 tasks, 145 threads, 1 processors
Load average: 0.98, Mach factor: 0.44
unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1666: checking build system type
configure:1684: result: powerpc-apple-darwin7.9.0
configure:1692: checking host system type
configure:1706: result: powerpc-apple-darwin7.9.0
configure:1760: checking for gcc
configure:1776: found /usr/bin/gcc
configure:1786: result: gcc
configure:2030: checking for C compiler version
configure:2033: gcc --version </dev/null >&5
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2036: $? = 0
configure:2038: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
configure:2041: $? = 0
configure:2043: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2046: $? = 1
configure:2069: checking for C compiler default output file name
configure:2072: gcc -O2 -I/opt/local/include -L/opt/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk conftest.c  >&5
ld: unknown flag: -syslibroot
configure:2075: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define _GNU_SOURCE 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2114: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-apple-darwin7.9.0
ac_cv_build_alias=powerpc-apple-darwin7.9.0
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-O2
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/opt/local/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=-O2
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=powerpc-apple-darwin7.9.0
ac_cv_host_alias=powerpc-apple-darwin7.9.0
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALLOCA=''
ALSA_CFLAGS=''
ALSA_LIBS=''
AR=''
ARTSCONFIG=''
AS=''
BUILD_CFLAGS=''
BUILD_LDFLAGS=''
CC='gcc'
CFLAGS='-O2'
CPP=''
CPPFLAGS='-I/opt/local/include'
CXX=''
CXXCPP=''
CXXFLAGS='-O2'
DEFS=''
DIRECTFBCONFIG=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_SHARED_FALSE=''
ENABLE_SHARED_TRUE=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
ESD_CFLAGS=''
ESD_CONFIG=''
ESD_LIBS=''
EXEEXT=''
EXTRA_CFLAGS=''
EXTRA_LDFLAGS=''
F77=''
FFLAGS=''
INCLUDE=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-L/opt/local/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='11'
LT_CURRENT='11'
LT_RELEASE='1.2'
LT_REVISION='1'
NASM=''
NASMFLAGS=''
OBJDUMP=''
OBJECTS=''
OBJEXT=''
OSMESA_CONFIG=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
POW_LIB=''
PTH_CONFIG=''
RANLIB=''
SDLMAIN_OBJECTS=''
SDLMAIN_SOURCES=''
SDL_BINARY_AGE='12'
SDL_CFLAGS=''
SDL_INTERFACE_AGE='1'
SDL_LIBS=''
SDL_MAJOR_VERSION='1'
SDL_MICRO_VERSION='12'
SDL_MINOR_VERSION='2'
SDL_RLD_FLAGS=''
SDL_STATIC_LIBS=''
SDL_VERSION='1.2.12'
SET_MAKE=''
SHELL='/bin/sh'
SOURCES=''
STRIP=''
WINDRES=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_aux_dir='./build-scripts'
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='powerpc-apple-darwin7.9.0'
build_alias=''
build_cpu='powerpc'
build_os='darwin7.9.0'
build_vendor='apple'
datadir='${prefix}/share'
exec_prefix='NONE'
host='powerpc-apple-darwin7.9.0'
host_alias=''
host_cpu='powerpc'
host_os='darwin7.9.0'
host_vendor='apple'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='/opt/local/share/man'
oldincludedir='/usr/include'
prefix='/opt/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define _GNU_SOURCE 1

configure: exit 77

comment:10 Changed 17 years ago by william.allen.simpson@…

Still no joy. Did find this undated comment on-line:

SDL-1.2.12

For Mac OS X Panther (10.3) users :
You may have noticed that QuickTime causes some problems as there is an undefined symbol which results in the following link error :
ld: Undefined symbols:
_HIPointConvert referenced from QuickTime expected to be defined in Carbon

To solve this, the sdl-config file has been modified to link against the QuickTime framework from the 10.2.8 SDK. This means you have to install the 10.2.8 SDK from your Developer install package (usually Developer.mpkg).

For your C compiler flags, you will have to use `sdl-config --cflags` and for your linker flags, `sdl-config --libs`.

If you do not have this problem, you can remove the file
/usr/local/bin/sdl-config and put the one given in the SDL-1.2.12-ppc disk image file. It is the original one.

Soltic Lucas
For any question, please e-mail me at spootnikdev@orange.fr

So, what does it take to have a MacPorts port of 10.2.8 SDK, or the relevant parts thereof?

comment:11 Changed 17 years ago by william.allen.simpson@…

libsdl is up to 1.2.13, but the release notes don't say anything about improvements for linking to Panther, just compiling on Leopard.

http://www.libsdl.org/release/changes-1.2.html

comment:12 Changed 17 years ago by william.allen.simpson@…

I've been studying this a bit, and confirmed that 10.3.9 ld has no -syslibroot. It's not in the man page, nor in any standard reference. There's plenty of Apple documentation, but it doesn't mention when the new feature was added.

http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_development/Using/chapter_3_section_2.html

Moreover, this wouldn't have worked for a 10.3.9 system, as the SDKs directory only has _older_ SDKs, depending on the usual system libraries for the regular compile. That's why the Soltic solution for 10.3 specifies older 10.2.8 libraries that haven't been corrupted by the bad Quicktime updates.

Obviously, Quicktime doesn't need _HIPointConvert, and SDL doesn't need _HIPointConvert, so I'm wondering how/why the bad library update even accesses this symbol?

Perhaps we can make a stub library that defines the symbol and does nothing?

Or port the missing Carbon code to a stub library? Is the code published?

comment:13 Changed 17 years ago by dbonde@…

I have this problem on one PPC-Mac I have but not on my Intel. Both run the latest version of 10.4. and QT 7.3.1.

Sorry for this not so interesting post; I wanted to be included on the send list and was unable to find a way without adding a comment (which I hope will add me to CC).

comment:14 Changed 17 years ago by thebri@…

QuickTime 7.2.0 introduces this symbol. 7.1.6 does not have it.

I built mplayer by grabbing the QuickTime shared lib from the 7.1.6 installer package, and temporarily installing it into /System/Library/Frameworks/QuickTime.framework/Versions/A.

This is definitely a scary solution.

Get QuickTime 7.1.6 from http://www.apple.com/support/downloads/quicktime716formac.html

Use pacifist to extract System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime. It's a 7.8MB file. Place it somewhere convenient.

In /System/Library/Frameworks/QuickTime.framework/Versions/A, SAVE A COPY of the original QuickTime. Copy in the 7.1.6 QuickTime lib (or symlink).

Build. DO NOT use -bind_at_load.

Restore the original QuickTime lib.

comment:15 Changed 16 years ago by nox@…

Resolution: wontfix
Status: newclosed

We can't fix this problem from MacPorts, the user have to downgrade QuickTime by hand.

comment:16 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.