[Media_api] problem compiling portmidi test programs on Mac OS 10.4
William Tsun-Yuk Hsu
hsu at tlaloc.sfsu.edu
Sat Oct 28 20:43:17 PDT 2006
Hello,
I downloaded and compiled the 23 August 06 version Portmidi on an iBook
running Mac OS 10.4.8. All the library files seemed to compile fine (after
moving the Mac OSX Makefile to the appropriate directory.) But
when I tried to compile the test programs in pm_test, I get errors. For
example:
billhsu% make -f Makefile.osx pm_test/test
gcc -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime pm_test/test.c -o
pm_test/test pm_mac/libportmidi.a porttime/libporttime.a -framework
CoreMIDI -framework CoreFoundation -framework CoreAudio
ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in
indirectly referenced dynamic library /usr/lib/libobjc.A.dylib
make: *** [pm_test/test] Error 1
Any help would be appreciated. Thanks!
Bill Hsu
p.s.: I think I was able to compile both the library files and the test
programs on an eMac running 10.2.8 yesterday, but I don't have access to
that machine at the moment...
More information about the media_api
mailing list