From f5c18ec56d270c5cbc67bd12bfc22973583239e3 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Wed, 6 Jul 2011 19:04:29 -0700 Subject: gr-audio: fix missing Makefile.am clause Date: Tue, 5 Jul 2011 23:16:48 -0500 Message-ID: From: Ryan Pape To: discuss-gnuradio@gnu.org Subject: [Discuss-gnuradio] OSX 10.6 Audio Library Error I'm having trouble with a new install on OSX 10.6. I've done this enough times on other OSX versions but I am drawing a blank. Can anyone help me out? Can't find Core Audio libs? Traceback (most recent call last): File "./dial_tone.py", line 24, in from gnuradio import audio File "/usr/local/lib/python2.6/site-packages/gnuradio/audio/__init__.py", line 22, in from audio_swig import * File "/usr/local/lib/python2.6/site-packages/gnuradio/audio/audio_swig.py", line 26, in _audio_swig = swig_import_helper() File "/usr/local/lib/python2.6/site-packages/gnuradio/audio/audio_swig.py", line 22, in swig_import_helper _mod = imp.load_module('_audio_swig', fp, pathname, description) *ImportError: dlopen(/usr/local/lib/python2.6/site-packages/gnuradio/audio/_audio_swig.so, 2): Symbol not found: _AudioComponentFindNext* Referenced from: /usr/local/lib/libgnuradio-audio-3.4.1git.0.dylib Expected in: flat namespace in /usr/local/lib/libgnuradio-audio-3.4.1git.0.dylib --- gr-audio/lib/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gr-audio/lib/Makefile.am') diff --git a/gr-audio/lib/Makefile.am b/gr-audio/lib/Makefile.am index 2bec73ff0..ee2247aa6 100644 --- a/gr-audio/lib/Makefile.am +++ b/gr-audio/lib/Makefile.am @@ -122,6 +122,11 @@ if GR_AUDIO_OSX_SUPPORT AM_CPPFLAGS += \ -I$(srcdir)/osx +libgnuradio_audio_la_LDFLAGS += \ + -framework AudioUnit \ + -framework CoreAudio \ + -framework AudioToolbox + libgnuradio_audio_la_SOURCES += \ osx/audio_osx_source.cc \ osx/audio_osx_sink.cc -- cgit