libsdl-devel did not build
Frank J. R. Hanstick
trog24 at comcast.net
Sat Sep 5 13:28:17 PDT 2009
Hello,
The following occurred when trying to install libsdl-devel into MacOS
10.5.8 on a PPC:
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-devel/work/SDL-1.3.0-4645"
&& /usr/bin/make -j1 all " returned error 2
Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -
arch ppc -I/opt/local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/haptic/SDL_haptic.c -o build/SDL_haptic.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/haptic/
SDL_haptic.c -fno-common -DPIC -o build/.libs/SDL_haptic.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/haptic/
SDL_haptic.c -o build/SDL_haptic.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/power/SDL_power.c -o build/SDL_power.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/power/
SDL_power.c -fno-common -DPIC -o build/.libs/SDL_power.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/power/
SDL_power.c -o build/SDL_power.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/video/dummy/SDL_nullevents.c -o build/SDL_nullevents.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/video/dummy/
SDL_nullevents.c -fno-common -DPIC -o build/.libs/SDL_nullevents.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/video/dummy/
SDL_nullevents.c -o build/SDL_nullevents.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/video/dummy/SDL_nullrender.c -o build/SDL_nullrender.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/video/dummy/
SDL_nullrender.c -fno-common -DPIC -o build/.libs/SDL_nullrender.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/video/dummy/
SDL_nullrender.c -o build/SDL_nullrender.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/video/dummy/SDL_nullvideo.c -o build/SDL_nullvideo.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/video/dummy/
SDL_nullvideo.c -fno-common -DPIC -o build/.libs/SDL_nullvideo.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/video/dummy/
SDL_nullvideo.c -o build/SDL_nullvideo.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/audio/disk/SDL_diskaudio.c -o build/SDL_diskaudio.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/disk/
SDL_diskaudio.c -fno-common -DPIC -o build/.libs/SDL_diskaudio.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/disk/
SDL_diskaudio.c -o build/SDL_diskaudio.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/audio/dummy/SDL_dummyaudio.c -o build/SDL_dummyaudio.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/dummy/
SDL_dummyaudio.c -fno-common -DPIC -o build/.libs/SDL_dummyaudio.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/audio/dummy/
SDL_dummyaudio.c -o build/SDL_dummyaudio.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/loadso/dlopen/SDL_sysloadso.c -o build/SDL_sysloadso.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/loadso/dlopen/
SDL_sysloadso.c -fno-common -DPIC -o build/.libs/SDL_sysloadso.o
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/loadso/dlopen/
SDL_sysloadso.c -o build/SDL_sysloadso.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/
local/include -I./include -D_GNU_SOURCE=1 -maltivec -
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -
D_THREAD_SAFE -falign-loops=16 -force_cpusubtype_ALL -fpascal-strings -
c ./src/video/cocoa/SDL_cocoaevents.m -o build/SDL_cocoaevents.lo
libtool: compile: /usr/bin/gcc-4.0 -O2 -arch ppc -I/opt/local/include
-I./include -D_GNU_SOURCE=1 -maltivec -DTARGET_API_MAC_CARBON -
DTARGET_API_MAC_OSX -fvisibility=hidden -D_THREAD_SAFE -falign-
loops=16 -force_cpusubtype_ALL -fpascal-strings -c ./src/video/cocoa/
SDL_cocoaevents.m -fno-common -DPIC -o build/.libs/SDL_cocoaevents.o
In file included from ./src/video/cocoa/SDL_cocoavideo.h:40,
from ./src/video/cocoa/SDL_cocoaevents.m:25:
./src/video/cocoa/SDL_cocoawindow.h:30: error: cannot find protocol
declaration for 'NSWindowDelegate'
make: *** [build/SDL_cocoaevents.lo] Error 1
Error: Status 1 encountered during processing.
Frank J. R. Hanstick
trog24 at comcast.net
More information about the macports-users
mailing list