Ticket #20087 (closed defect: fixed)
libsdl won't build on Mac OS X 10.4.11
| Reported by: | avioli@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | Cc: | nox@…, ryandesign@… | |
| Port: | libsdl |
Description (last modified by macsforever2000@…) (diff)
aviolis-computer:~ aviolito$ sudo port clean libsdl
---> Cleaning libsdl
aviolis-computer:~ aviolito$ sudo port install ffmpeg
---> Fetching libsdl
---> Verifying checksum(s) for libsdl
---> Extracting libsdl
---> Applying patches to libsdl
---> Configuring libsdl
---> Building libsdl
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.13" && make all " returned error 2
Command output: ranlib: file: build/.libs/libSDL.a(SDL_malloc.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_qsort.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_stdlib.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_nullmouse.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_dgamouse.o) has no symbols
ranlib build/.libs/libSDL.a
ranlib: file: build/.libs/libSDL.a(SDL_audiodev.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_mixer_MMX_VC.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_mixer_m68k.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_getenv.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_malloc.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_qsort.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_stdlib.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_nullmouse.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_dgamouse.o) has no symbols
creating build/libSDL.la
(cd build/.libs && rm -f libSDL.la && ln -s ../libSDL.la libSDL.la)
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/main/macosx/SDLMain.m -o build/SDLMain.o
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:34,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from ./src/main/macosx/SDLMain.h:8,
from ./src/main/macosx/SDLMain.m:9:
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:33:31: error: QuartzCore/CIColor.h: No such file or directory
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:34,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from ./src/main/macosx/SDLMain.h:8,
from ./src/main/macosx/SDLMain.m:9:
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:275: error: parse error before 'CIColor'
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:279: error: cannot find interface declaration for 'CIColor'
make: *** [build/SDLMain.o] Error 1
Error: The following dependencies failed to build: libsdl libtheora libvorbis schroedinger liboil glib2 x264
Error: Status 1 encountered during processing.
aviolis-computer:~ aviolito$
Attachments
Change History
comment:1 Changed 4 years ago by avioli@…
Sorry for the mess. Dunno how to edit the description, here is formatted:
aviolis-computer:~ aviolito$ sudo port clean libsdl
---> Cleaning libsdl
aviolis-computer:~ aviolito$ sudo port install ffmpeg
---> Fetching libsdl
---> Verifying checksum(s) for libsdl
---> Extracting libsdl
---> Applying patches to libsdl
---> Configuring libsdl
---> Building libsdl
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.13" && make all " returned error 2
Command output: ranlib: file: build/.libs/libSDL.a(SDL_malloc.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_qsort.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_stdlib.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_nullmouse.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_dgamouse.o) has no symbols
ranlib build/.libs/libSDL.a
ranlib: file: build/.libs/libSDL.a(SDL_audiodev.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_mixer_MMX_VC.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_mixer_m68k.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_getenv.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_malloc.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_qsort.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_stdlib.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_nullmouse.o) has no symbols
ranlib: file: build/.libs/libSDL.a(SDL_dgamouse.o) has no symbols
creating build/libSDL.la
(cd build/.libs && rm -f libSDL.la && ln -s ../libSDL.la libSDL.la)
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/main/macosx/SDLMain.m -o build/SDLMain.o
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:34,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from ./src/main/macosx/SDLMain.h:8,
from ./src/main/macosx/SDLMain.m:9:
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:33:31: error: QuartzCore/CIColor.h: No such file or directory
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:34,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from ./src/main/macosx/SDLMain.h:8,
from ./src/main/macosx/SDLMain.m:9:
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:275: error: parse error before 'CIColor'
/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:279: error: cannot find interface declaration for 'CIColor'
make: *** [build/SDLMain.o] Error 1
Error: The following dependencies failed to build: libsdl libtheora libvorbis schroedinger liboil glib2 x264
Error: Status 1 encountered during processing.
aviolis-computer:~ aviolito$
comment:2 Changed 4 years ago by avioli@…
Downloaded SDL-1.2.13.tar.gz from http://www.libsdl.org/download-1.2.php make yields:
aviolis-computer:~/Downloads/SDL-1.2.13 aviolito$ make
/bin/sh ./build-scripts/mkinstalldirs build
mkdir -p -- build
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL.c -o build/SDL.lo
mkdir build/.libs
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL.c -fno-common -DPIC -o build/.libs/SDL.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL.c -o build/SDL.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL_error.c -o build/SDL_error.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL_error.c -fno-common -DPIC -o build/.libs/SDL_error.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL_error.c -o build/SDL_error.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL_fatal.c -o build/SDL_fatal.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL_fatal.c -fno-common -DPIC -o build/.libs/SDL_fatal.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/SDL_fatal.c -o build/SDL_fatal.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audio.c -o build/SDL_audio.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audio.c -fno-common -DPIC -o build/.libs/SDL_audio.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audio.c -o build/SDL_audio.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audiocvt.c -o build/SDL_audiocvt.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audiocvt.c -fno-common -DPIC -o build/.libs/SDL_audiocvt.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audiocvt.c -o build/SDL_audiocvt.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audiodev.c -o build/SDL_audiodev.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audiodev.c -fno-common -DPIC -o build/.libs/SDL_audiodev.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_audiodev.c -o build/SDL_audiodev.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer.c -o build/SDL_mixer.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer.c -fno-common -DPIC -o build/.libs/SDL_mixer.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer.c -o build/SDL_mixer.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_MMX.c -o build/SDL_mixer_MMX.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_MMX.c -fno-common -DPIC -o build/.libs/SDL_mixer_MMX.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_MMX.c -o build/SDL_mixer_MMX.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_MMX_VC.c -o build/SDL_mixer_MMX_VC.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_MMX_VC.c -fno-common -DPIC -o build/.libs/SDL_mixer_MMX_VC.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_MMX_VC.c -o build/SDL_mixer_MMX_VC.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_m68k.c -o build/SDL_mixer_m68k.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_m68k.c -fno-common -DPIC -o build/.libs/SDL_mixer_m68k.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_mixer_m68k.c -o build/SDL_mixer_m68k.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_wave.c -o build/SDL_wave.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_wave.c -fno-common -DPIC -o build/.libs/SDL_wave.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/SDL_wave.c -o build/SDL_wave.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/cdrom/SDL_cdrom.c -o build/SDL_cdrom.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/cdrom/SDL_cdrom.c -fno-common -DPIC -o build/.libs/SDL_cdrom.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/cdrom/SDL_cdrom.c -o build/SDL_cdrom.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/cpuinfo/SDL_cpuinfo.c -o build/SDL_cpuinfo.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/cpuinfo/SDL_cpuinfo.c -fno-common -DPIC -o build/.libs/SDL_cpuinfo.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/cpuinfo/SDL_cpuinfo.c -o build/SDL_cpuinfo.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/events/SDL_active.c -o build/SDL_active.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/events/SDL_active.c -fno-common -DPIC -o build/.libs/SDL_active.o
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/events/SDL_active.c -o build/SDL_active.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/events/SDL_events.c -o build/SDL_events.lo
gcc -g -O2 -I./include -D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal-strings -c ./src/events/SDL_events.c -fno-common -DPIC -o build/.libs/SDL_events.o
In file included from ./src/events/SDL_events.c:27:
./include/SDL_syswm.h:55:22: error: X11/Xlib.h: No such file or directory
./include/SDL_syswm.h:56:23: error: X11/Xatom.h: No such file or directory
In file included from ./src/events/SDL_events.c:27:
./include/SDL_syswm.h:73: error: parse error before 'XEvent'
./include/SDL_syswm.h:73: warning: no semicolon at end of struct or union
./include/SDL_syswm.h:73: warning: no semicolon at end of struct or union
./include/SDL_syswm.h:74: warning: data definition has no type or storage class
./include/SDL_syswm.h:75: error: parse error before '}' token
./include/SDL_syswm.h:86: error: parse error before 'Display'
./include/SDL_syswm.h:86: warning: no semicolon at end of struct or union
./include/SDL_syswm.h:86: warning: no semicolon at end of struct or union
./include/SDL_syswm.h:86: warning: no semicolon at end of struct or union
./include/SDL_syswm.h:87: warning: data definition has no type or storage class
./include/SDL_syswm.h:98: error: parse error before 'fswindow'
./include/SDL_syswm.h:98: warning: data definition has no type or storage class
./include/SDL_syswm.h:99: error: parse error before 'wmwindow'
./include/SDL_syswm.h:99: warning: data definition has no type or storage class
./include/SDL_syswm.h:102: error: parse error before '*' token
./include/SDL_syswm.h:102: warning: data definition has no type or storage class
./include/SDL_syswm.h:103: error: parse error before '}' token
./include/SDL_syswm.h:103: warning: data definition has no type or storage class
./include/SDL_syswm.h:104: error: parse error before '}' token
./include/SDL_syswm.h:104: warning: data definition has no type or storage class
./include/SDL_syswm.h:105: error: parse error before '}' token
./include/SDL_syswm.h:105: warning: data definition has no type or storage class
./include/SDL_syswm.h:205: error: parse error before '*' token
In file included from ./src/events/SDL_sysevents.h:24,
from ./src/events/SDL_events.c:28:
./src/events/../video/SDL_sysvideo.h:218: error: parse error before 'SDL_SysWMinfo'
./src/events/SDL_events.c:49: error: array type has incomplete element type
./src/events/SDL_events.c: In function 'SDL_AddEvent':
./src/events/SDL_events.c:276: error: dereferencing pointer to incomplete type
make: *** [build/SDL_events.lo] Error 1
aviolis-computer:~/Downloads/SDL-1.2.13 aviolito$
Changed 4 years ago by avioli@…
- Attachment libsdl_build_debug.txt added
output of sudo port -d build libsdl. identical to the one I've made 16 hrs ago
comment:5 Changed 4 years ago by toby@…
Run the following command:
ls -l /System/Library/Frameworks/QuartzCore.framework/Headers/CIColor.h
If it's missing, you probably need to reinstall Xcode (if not the entire OS). As far as I can tell, that header did exist even on Tiger.
comment:6 Changed 4 years ago by devans@…
Just to confirm Toby's statement, I am having no problems building the port on 10.4.11 ppc with XCode 2.5 and the include file in question does exist on my system:
devans% ls -l /System/Library/Frameworks/QuartzCore.framework/Headers/CIColor.h -rw-r--r-- 1 root wheel 1411 Aug 31 2007 /System/Library/Frameworks/QuartzCore.framework/Headers/CIColor.h
comment:7 Changed 4 years ago by avioli@…
Reinstalled XCode and it was fixed, compiled as expected. Thank you Toby and Devans
comment:8 Changed 4 years ago by avioli@…
It appeared that I had XCode 2.2.1, not 2.5 installed, because libtheora (skipped to it since libsdl didn't build) gave a notice about the version and not proceeding. I feel embarrassed for not checking that first. Just put a notice that libsdl won't compile on XCode prior 2.5 or similar.
comment:9 Changed 4 years ago by ryandesign@…
- Cc ryandesign@… added
- Status changed from new to closed
- Resolution set to fixed
Added in r53151. I made it require Xcode 2.4.1 since I don't think that much changed for Tiger between Xcode 2.4.1 and 2.5. If it's shown that 2.5 is really required we can update the message.

