% sw_vers
ProductName: Mac OS X
ProductVersion: 10.6.2
BuildVersion: 10C540
% gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure
–disable-checking --enable-werror --prefix=/usr --mandir=/share/man
–enable-languages=c,objc,c++,obj-c++
–program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
–build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
–program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
–target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
% ./configure --with-md-cpu=x86_64
% make
[…]
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I…/… -DOMNITHREAD_POSIX=1
-I/usr/local/include -I/tmp/gnuradio-3.2.2/omnithread -I/tmp/gnurad
io-3.2.2/gnuradio-core/src/lib/runtime
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/general
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/gene
ral -I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/gengen
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/gengen
-I/tmp/gnuradio-3.2.2/gnuradio-co
re/src/lib/filter -I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/filter
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/missing -I/tmp/gnuradio-3.
2.2/gnuradio-core/src/lib/reed-solomon
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/viterbi
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/io -
I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/g72x
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/swig
-I/tmp/gnuradio-3.2.2/gnuradio-core/src/li
b/hier -I/tmp/gnuradio-3.2.2/gnuradio-core/src/lib/swig
-I/usr/local/include -I/usr/local/include
-I/tmp/gnuradio-3.2.2/gruel/src/include -
I/tmp/gnuradio-3.2.2/gruel/src/include
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-g -O1 -Wno-strict-alia
sing -Wno-parentheses -D_THREAD_SAFE -MT _audio_osx_la-audio_osx_sink.lo
-MD -MP -MF .deps/_audio_osx_la-audio_osx_sink.Tpo -c audio_osx_si
nk.cc -fno-common -DPIC -o .libs/_audio_osx_la-audio_osx_sink.o
audio_osx_sink.cc: In constructor ‘audio_osx_sink::audio_osx_sink(int,
std::string, bool, int, int)’:
audio_osx_sink.cc:101: error: ‘ComponentDescription’ was not declared in
this scope
audio_osx_sink.cc:101: error: expected ;' before ‘desc’ audio_osx_sink.cc:102: error: ‘desc’ was not declared in this scope audio_osx_sink.cc:108: error: ‘Component’ was not declared in this scope audio_osx_sink.cc:108: error: expected;’ before ‘comp’
audio_osx_sink.cc:109: error: ‘comp’ was not declared in this scope
audio_osx_sink.cc:114: error: ‘comp’ was not declared in this scope
audio_osx_sink.cc:114: error: ‘OpenAComponent’ was not declared in this
scope
audio_osx_sink.cc:115: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc:129: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc:153: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc:159: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc:166: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc: In member function ‘bool
audio_osx_sink::IsRunning()’:
audio_osx_sink.cc:188: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc: In member function ‘virtual bool
audio_osx_sink::start()’:
audio_osx_sink.cc:198: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc: In member function ‘virtual bool
audio_osx_sink::stop()’:
audio_osx_sink.cc:208: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘OSStatus’
audio_osx_sink.cc: In destructor ‘virtual
audio_osx_sink::~audio_osx_sink()’:
audio_osx_sink.cc:223: error: ‘CloseComponent’ was not declared in this
scope
./circular_buffer.h: In member function ‘int
circular_buffer::enqueue(T*, UInt32) [with T = float]’:
audio_osx_sink.cc:306: instantiated from here
./circular_buffer.h:155: warning: format ‘%ld’ expects type ‘long int’,
but argument 3 has type ‘UInt32’
./circular_buffer.h:155: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘UInt32’
./circular_buffer.h: In member function ‘int
circular_buffer::dequeue(T*, UInt32*) [with T = float]’:
audio_osx_sink.cc:369: instantiated from here
./circular_buffer.h:247: warning: format ‘%ld’ expects type ‘long int’,
but argument 3 has type ‘UInt32’
./circular_buffer.h:247: warning: format ‘%ld’ expects type ‘long int’,
but argument 4 has type ‘UInt32’make[4]: ***
[_audio_osx_la-audio_osx_sink.lo] Error 1