[PD-dev] 64-bit builds on Mac OS X

Hans-Christoph Steiner hans at eds.org
Fri Oct 26 20:43:36 CEST 2007


I just tried a 64-bit build on Mac OS X, Pd compiled fine, but Pd's  
portaudio barfs:

cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/ 
include      -I../portaudio/include -I../portaudio/src/common        - 
I../portaudio/src/os/mac_osx/  -I../portmidi/pm_common -I../portmidi/ 
pm_mac        -I../portmidi/porttime  -DUSEAPI_PORTAUDIO -DPA19 - 
DPA_USE_COREAUDIO -DNEWBUFFER -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk             -arch i386 -arch ppc -arch x86_64 -arch  
ppc64 -Wno-error -O2 -DUSEAPI_JACK -DINSTALL_PREFIX=\"/usr/local\"  - 
c -o ../obj/../portaudio/src/os/unix/pa_unix_util.o ../portaudio/src/ 
os/unix/pa_unix_util.c
In file included from ../portaudio/src/os/unix/pa_unix_util.c:55:
../portaudio/src/os/unix/pa_unix_util.h:160: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c:207: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c: In function 'BoostPriority':
../portaudio/src/os/unix/pa_unix_util.c:215: warning: missing  
initializer
../portaudio/src/os/unix/pa_unix_util.c:215: warning: (near  
initialization for 'spm.opaque')
In file included from ../portaudio/src/os/unix/pa_unix_util.c:55:
../portaudio/src/os/unix/pa_unix_util.h:160: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c:207: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c: In function 'BoostPriority':
../portaudio/src/os/unix/pa_unix_util.c:215: warning: missing  
initializer
../portaudio/src/os/unix/pa_unix_util.c:215: warning: (near  
initialization for 'spm.opaque')
In file included from ../portaudio/src/os/unix/pa_unix_util.c:55:
../portaudio/src/os/unix/pa_unix_util.h:160: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c:207: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c: In function 'BoostPriority':
../portaudio/src/os/unix/pa_unix_util.c:215: warning: missing  
initializer
../portaudio/src/os/unix/pa_unix_util.c:215: warning: (near  
initialization for 'spm.opaque')
In file included from ../portaudio/src/os/unix/pa_unix_util.c:55:
../portaudio/src/os/unix/pa_unix_util.h:160: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c:207: warning: function  
declaration isn't a prototype
../portaudio/src/os/unix/pa_unix_util.c: In function 'BoostPriority':
../portaudio/src/os/unix/pa_unix_util.c:215: warning: missing  
initializer
../portaudio/src/os/unix/pa_unix_util.c:215: warning: (near  
initialization for 'spm.opaque')
cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/ 
include      -I../portaudio/include -I../portaudio/src/common        - 
I../portaudio/src/os/mac_osx/  -I../portmidi/pm_common -I../portmidi/ 
pm_mac        -I../portmidi/porttime  -DUSEAPI_PORTAUDIO -DPA19 - 
DPA_USE_COREAUDIO -DNEWBUFFER -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk             -arch i386 -arch ppc -arch x86_64 -arch  
ppc64 -Wno-error -O2 -DUSEAPI_JACK -DINSTALL_PREFIX=\"/usr/local\"  - 
c -o ../obj/../portaudio/src/os/mac_osx/pa_mac_hostapis.o ../ 
portaudio/src/os/mac_osx/pa_mac_hostapis.c
cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/ 
include      -I../portaudio/include -I../portaudio/src/common        - 
I../portaudio/src/os/mac_osx/  -I../portmidi/pm_common -I../portmidi/ 
pm_mac        -I../portmidi/porttime  -DUSEAPI_PORTAUDIO -DPA19 - 
DPA_USE_COREAUDIO -DNEWBUFFER -isysroot /Developer/SDKs/ 
MacOSX10.4u.sdk             -arch i386 -arch ppc -arch x86_64 -arch  
ppc64 -Wno-error -O2 -DUSEAPI_JACK -DINSTALL_PREFIX=\"/usr/local\"  - 
c -o ../obj/../portaudio/src/hostapi/coreaudio/pa_mac_core.o ../ 
portaudio/src/hostapi/coreaudio/pa_mac_core.c
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/ 
Headers/DriverServices.h:32,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/ 
Headers/CarbonCore.h:125,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AUComponent.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AudioUnit.h:22,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core_internal.h:64,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core.c:65:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ 
MachineExceptions.h:286: error: parse error before '*' token
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ 
MachineExceptions.h:320: error: parse error before '*' token
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/ 
Headers/CarbonCore.h:161,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AUComponent.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AudioUnit.h:22,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core_internal.h:64,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core.c:65:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h: 
1338: error: 'SIGDIGLEN' undeclared here (not in a function)
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/ 
Headers/DriverServices.h:32,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/ 
Headers/CarbonCore.h:125,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AUComponent.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AudioUnit.h:22,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core_internal.h:64,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core.c:65:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ 
MachineExceptions.h:286: error: parse error before '*' token
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ 
MachineExceptions.h:320: error: parse error before '*' token
In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/ 
Headers/CarbonCore.h:161,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AUComponent.h:21,
                  from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ 
Frameworks/AudioUnit.framework/Headers/AudioUnit.h:22,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core_internal.h:64,
                  from ../portaudio/src/hostapi/coreaudio/ 
pa_mac_core.c:65:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ 
CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h: 
1338: error: 'SIGDIGLEN' undeclared here (not in a function)
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'OpenAndSetupOneAudioUnit':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1157: warning: empty  
body in an if-statement
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'OpenStream':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1310: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1319: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1334: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1343: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'OpenAndSetupOneAudioUnit':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1157: warning: empty  
body in an if-statement
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'OpenStream':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1310: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1319: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1334: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1343: warning:  
passing argument 5 of 'AudioDeviceGetProperty' from incompatible  
pointer type
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'OpenAndSetupOneAudioUnit':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1157: warning: empty  
body in an if-statement
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'AudioIOProc':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1858: warning:  
comparison between signed and unsigned
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1869: warning:  
comparison between signed and unsigned
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'AudioIOProc':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1858: warning:  
comparison between signed and unsigned
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1869: warning:  
comparison between signed and unsigned
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'AudioIOProc':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1858: warning:  
comparison between signed and unsigned
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1869: warning:  
comparison between signed and unsigned
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'OpenAndSetupOneAudioUnit':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1157: warning: empty  
body in an if-statement
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function  
'AudioIOProc':
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1858: warning:  
comparison between signed and unsigned
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1869: warning:  
comparison between signed and unsigned
lipo: can't figure out the architecture type of: /var/tmp//cccsb7ua.out
make: *** [../portaudio/src/hostapi/coreaudio/pa_mac_core.o] Error 1



------------------------------------------------------------------------ 
----

All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated.... -John Donne






More information about the Pd-dev mailing list