Compile error on Snow Leopard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to compile pjsip on Snow Leopard, but I'm getting the  
following errors:

PS: I tried pjsip 1.0.x branch and trunk.

In file included from src/pa_mac_core.c:1:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'PaMacCore_GetChannelName':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:138:  
warning: 'AudioDeviceGetPropertyInfo' is deprecated (declared at / 
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: 
2338)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:149:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:157:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:191:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'gatherDeviceInfo':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:328:  
warning: 'AudioHardwareGetPropertyInfo' is deprecated (declared at / 
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: 
1098)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:341:  
warning: 'AudioHardwareGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:360:  
warning: 'AudioHardwareGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:377:  
warning: 'AudioHardwareGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'GetChannelInfo':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:418:  
warning: 'AudioDeviceGetPropertyInfo' is deprecated (declared at / 
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: 
2338)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:425:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:446:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'InitializeDeviceInfo':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:496:  
warning: 'AudioDeviceGetPropertyInfo' is deprecated (declared at / 
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: 
2338)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:503:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:510:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'OpenAndSetupOneAudioUnit':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:  
'ComponentDescription' undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:  
(Each undeclared identifier is reported only once
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:  
for each function it appears in.)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:  
expected ';' before 'desc'
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:801: error:  
'Component' undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:801: error:  
expected ';' before 'comp'
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:866: error:  
'desc' undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:872: error:  
'comp' undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:872:  
warning: implicit declaration of function 'FindNextComponent'
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:881:  
warning: implicit declaration of function 'OpenAComponent'
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:943:  
warning: 'AudioDeviceAddPropertyListener' is deprecated (declared at / 
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h: 
2430)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1228:  
warning: implicit declaration of function 'CloseComponent'
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'OpenStream':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1376:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1386:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1401:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1411:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1619:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1632:  
warning: 'AudioDeviceGetProperty' is deprecated (declared at /System/ 
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'AudioIOProc':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1911:  
warning: 'AudioConverterFillBuffer' is deprecated (declared at /System/ 
Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2080:  
warning: 'AudioConverterFillBuffer' is deprecated (declared at /System/ 
Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'CloseStream':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2148:  
warning: 'AudioDeviceRemovePropertyListener' is deprecated (declared  
at /System/Library/Frameworks/CoreAudio.framework/Headers/ 
AudioHardware.h:2456)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2157:  
warning: 'AudioDeviceRemovePropertyListener' is deprecated (declared  
at /System/Library/Frameworks/CoreAudio.framework/Headers/ 
AudioHardware.h:2456)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: At top  
level:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2230:  
error: expected '=', ',', ';', 'asm' or '__attribute__' before  
'BlockWhileAudioUnitIsRunning'
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In  
function 'StopStream':
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2262:  
warning: implicit declaration of function 'BlockWhileAudioUnitIsRunning'
make[3]: *** [output/libportaudio-i386-apple-darwin10.0.0/ 
pa_mac_core.o] Error 1
make[2]: *** [libportaudio] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1


-- 
Saul Ibarra Corretge
AG Projects







[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux