I am trying to complie readanysf~ with FLAC support on Mac OS 10.5 Intel, the configure goes ok but I get errors while making. I have Flac version 1.2.1

Do you think you could help me finding the reason of the problem?

This is the output of the make command:
------------------------------------------------------------------------------------------------------------------------------
make  all-recursive
Making all in src

source='ReadFlac.cpp' object='ReadFlac.o' libtool=no \
    depfile='.deps/ReadFlac.Po' tmpdepfile='.deps/ReadFlac.
TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/ -I/usr/local/lib/pd/flext/ -I../include/  -I/opt/local/include/ -DUNIX -Wno-deprecated -Wall -Wimplicit -Wunused -Wmissing-prototypes -O3  -I/Applications/Pd-0.41-4.app/Contents/Resources/src/  -DFLEXT_SYS=2  -DFLEXT_THREADS -DFLEXT_SHARED -DFLEXT_USE_CMEM -I/usr/local/include/flext     -DREAD_MAD  -DREAD_FLAC -c -o ReadFlac.o `test -f 'ReadFlac.cpp' || echo './'`ReadFlac.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
ReadFlac.cpp: In member function 'virtual bool ReadFlac::Initialize()':
ReadFlac.cpp:80: error: 'FLAC__stream_decoder_set_read_callback' was not declared in this scope
ReadFlac.cpp:81: error: 'FLAC__stream_decoder_set_write_callback' was not declared in this scope
ReadFlac.cpp:83: error: 'FLAC__stream_decoder_set_metadata_callback' was not declared in this scope
ReadFlac.cpp:84: error: 'FLAC__stream_decoder_set_error_callback' was not declared in this scope
ReadFlac.cpp:85: error: 'FLAC__stream_decoder_set_client_data' was not declared in this scope
ReadFlac.cpp:87: error: 'FLAC__stream_decoder_init' was not declared in this scope
ReadFlac.cpp: In member function 'void ReadFlac::ErrorCheck(int)':
ReadFlac.cpp:273: error: 'FLAC__STREAM_DECODER_INVALID_CALLBACK' was not declared in this scope
make[2]: *** [ReadFlac.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
------------------------------------------------------------------------------------------------------------------------------

Many thanks for your help.

--
José