[Portaudio] OS X Build Errors

Chris c319chris at aol.com
Fri Mar 2 21:00:40 EST 2012


Here is the output of make install:

Macintosh:portaudio user1$ sudo make install
/bin/sh ./libtool --mode=link gcc  -framework CoreAudio -framework
AudioToolbox -framework AudioUnit -framework Carbon -dynamiclib -arch
i386 -arch ppc -arch x86_64 -arch ppc64 -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.3 -rpath
/usr/local/lib -no-undefined -export-symbols-regex
"(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS)_.*" -version-info 2:0:0 -o
lib/libportaudio.la src/common/pa_allocation.lo
src/common/pa_converters.lo src/common/pa_cpuload.lo
src/common/pa_dither.lo src/common/pa_debugprint.lo
src/common/pa_front.lo src/common/pa_process.lo src/common/pa_stream.lo
src/common/pa_trace.lo src/hostapi/skeleton/pa_hostapi_skeleton.lo
src/os/unix/pa_unix_hostapis.lo src/os/unix/pa_unix_util.lo
src/hostapi/coreaudio/pa_mac_core.lo
src/hostapi/coreaudio/pa_mac_core_utilities.lo
src/hostapi/coreaudio/pa_mac_core_blocking.lo
src/common/pa_ringbuffer.lo
libtool: link: rm -fr  lib/.libs/libportaudio.exp
libtool: link: /usr/bin/nm  src/common/.libs/pa_allocation.o
src/common/.libs/pa_converters.o src/common/.libs/pa_cpuload.o
src/common/.libs/pa_dither.o src/common/.libs/pa_debugprint.o
src/common/.libs/pa_front.o src/common/.libs/pa_process.o
src/common/.libs/pa_stream.o src/common/.libs/pa_trace.o
src/hostapi/skeleton/.libs/pa_hostapi_skeleton.o
src/os/unix/.libs/pa_unix_hostapis.o src/os/unix/.libs/pa_unix_util.o
src/hostapi/coreaudio/.libs/pa_mac_core.o
src/hostapi/coreaudio/.libs/pa_mac_core_utilities.o
src/hostapi/coreaudio/.libs/pa_mac_core_blocking.o
src/common/.libs/pa_ringbuffer.o   | sed -n -e 's/^.*[	
]\([BCDEGRST][BCDEGRST]*\)[	 ][	 ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2
\2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq >
lib/.libs/libportaudio.exp
/usr/bin/nm: no name list
libtool: link: /usr/bin/grep -E -e
"(Pa|PaMacCore|PaJack|PaAlsa|PaAsio|PaOSS)_.*"
"lib/.libs/libportaudio.exp" > "lib/.libs/libportaudio.expT"
libtool: link: mv -f "lib/.libs/libportaudio.expT"
"lib/.libs/libportaudio.exp"
libtool: link: sed 's,^,_,' < lib/.libs/libportaudio.exp >
lib/.libs/libportaudio-symbols.expsym
libtool: link: gcc -dynamiclib  -o lib/.libs/libportaudio.2.dylib
src/common/.libs/pa_allocation.o src/common/.libs/pa_converters.o
src/common/.libs/pa_cpuload.o src/common/.libs/pa_dither.o
src/common/.libs/pa_debugprint.o src/common/.libs/pa_front.o
src/common/.libs/pa_process.o src/common/.libs/pa_stream.o
src/common/.libs/pa_trace.o
src/hostapi/skeleton/.libs/pa_hostapi_skeleton.o
src/os/unix/.libs/pa_unix_hostapis.o src/os/unix/.libs/pa_unix_util.o
src/hostapi/coreaudio/.libs/pa_mac_core.o
src/hostapi/coreaudio/.libs/pa_mac_core_utilities.o
src/hostapi/coreaudio/.libs/pa_mac_core_blocking.o
src/common/.libs/pa_ringbuffer.o   -framework CoreAudio -framework
AudioToolbox -framework AudioUnit -framework Carbon  -arch i386 -arch
ppc -arch x86_64 -arch ppc64 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.3   -framework CoreAudio -framework
AudioToolbox -framework AudioUnit -framework Carbon -install_name
/usr/local/lib/libportaudio.2.dylib -compatibility_version 3
-current_version 3.0 -Wl,-single_module
-Wl,-exported_symbols_list,lib/.libs/libportaudio-symbols.expsym
ld: warning: in src/common/.libs/pa_allocation.o, missing required
architecture x86_64 in file
ld: warning: in src/common/.libs/pa_converters.o, missing required
architecture x86_64 in file
Undefined symbols:
  "_PaUtil_SelectConverter", referenced from:
      _PaUtil_InitializeBufferProcessor in pa_process.o
      _PaUtil_InitializeBufferProcessor in pa_process.o
  "_PaUtil_GroupAllocateMemory", referenced from:
      _PaMacCore_Initialize in pa_mac_core.o
      _PaMacCore_Initialize in pa_mac_core.o
      _PaMacCore_Initialize in pa_mac_core.o
      _PaMacCore_Initialize in pa_mac_core.o
  "_PaUtil_SelectZeroer", referenced from:
      _PaUtil_InitializeBufferProcessor in pa_process.o
      _PaUtil_InitializeBufferProcessor in pa_process.o
  "_PaUtil_SelectClosestAvailableFormat", referenced from:
      _OpenStream in pa_hostapi_skeleton.o
      _OpenStream in pa_hostapi_skeleton.o
  "_PaUtil_DestroyAllocationGroup", referenced from:
      _Terminate in pa_hostapi_skeleton.o
      _PaMacCore_Initialize in pa_mac_core.o
      _Terminate in pa_mac_core.o
  "_PaUtil_FreeAllAllocations", referenced from:
      _Terminate in pa_hostapi_skeleton.o
      _PaMacCore_Initialize in pa_mac_core.o
      _Terminate in pa_mac_core.o
  "_PaUtil_CreateAllocationGroup", referenced from:
      _PaSkeleton_Initialize in pa_hostapi_skeleton.o
      _PaMacCore_Initialize in pa_mac_core.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
ld: warning: in src/common/.libs/pa_allocation.o, missing required
architecture ppc64 in file
ld: warning: in src/common/.libs/pa_converters.o, missing required
architecture ppc64 in file
Undefined symbols:
  "_PaUtil_SelectConverter", referenced from:
      _PaUtil_InitializeBufferProcessor in pa_process.o
      _PaUtil_InitializeBufferProcessor in pa_process.o
  "_PaUtil_GroupAllocateMemory", referenced from:
      _PaMacCore_Initialize in pa_mac_core.o
      _PaMacCore_Initialize in pa_mac_core.o
      _PaMacCore_Initialize in pa_mac_core.o
      _PaMacCore_Initialize in pa_mac_core.o
  "_PaUtil_SelectZeroer", referenced from:
      _PaUtil_InitializeBufferProcessor in pa_process.o
      _PaUtil_InitializeBufferProcessor in pa_process.o
  "_PaUtil_SelectClosestAvailableFormat", referenced from:
      _OpenStream in pa_hostapi_skeleton.o
      _OpenStream in pa_hostapi_skeleton.o
  "_PaUtil_DestroyAllocationGroup", referenced from:
      _Terminate in pa_hostapi_skeleton.o
      _PaMacCore_Initialize in pa_mac_core.o
      _Terminate in pa_mac_core.o
  "_PaUtil_FreeAllAllocations", referenced from:
      _Terminate in pa_hostapi_skeleton.o
      _PaMacCore_Initialize in pa_mac_core.o
      _Terminate in pa_mac_core.o
  "_PaUtil_CreateAllocationGroup", referenced from:
      _PaSkeleton_Initialize in pa_hostapi_skeleton.o
      _PaMacCore_Initialize in pa_mac_core.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cchWG9Wp.out (No such file or
directory)
make: *** [lib/libportaudio.la] Error 1



-----Original Message-----
From: Ross Bencina <rossb-lists at audiomulch.com>
To: Portaudio Mailing List <portaudio at music.columbia.edu>
Sent: Wed, Feb 29, 2012 2:25 am
Subject: Re: [Portaudio] OS X Build Errors




On 29/02/2012 9:10 PM, Chris wrote:
> failed to build under Mac OS X.

Can you provide specific OS, XCode and GCC version number please.

Thanks

Ross.
_______________________________________________
Portaudio mailing list
Portaudio at music.columbia.edu
http://music.columbia.edu/mailman/listinfo/portaudio

  


More information about the Portaudio mailing list