[ardour-dev] scons issues
Patrick Shirkey
pshirkey at boosthardware.com
Sat Dec 9 13:31:11 PST 2006
Patrick Shirkey wrote:
> Sampo Savolainen wrote:
>> Quoting Patrick Shirkey <pshirkey at boosthardware.com>:
>>
>>> ...
>>> libs/libsndfile/libsndfile-ardour.so: undefined reference to
>>> `FLAC__seekable_stream_decoder_process_until_end_of_metadata'
>>> libs/libsndfile/libsndfile-ardour.so: undefined reference to
>>> `FLAC__seekable_stream_decoder_get_state'
>>> libs/libsndfile/libsndfile-ardour.so: undefined reference to
>>> `FLAC__seekable_stream_decoder_delete'
>>> collect2: ld returned 1 exit status
>> Can you give us the complete linker commandline with parameters? It seems
>> like libFLAC can't be accessed.
>>
>
> Thanks for taking the time to consider this.
>
> If you can give me a hint where to look I will be more than happy to
> post it here.
>
> Cheers.
>
After some help from Sampo and Jesse we found that the solution is to
change one line.
conf.CheckLib ('FLAC', 'FLAC__stream_decoder_new', language='CXX')
to
conf.CheckLib ('FLAC', 'FLAC__stream_decoder_new')
You can find it around line number 520 in latest svn SConstruct file
It's part of the following section:
----------------------------------------
#
# Check for FLAC
libraries['flac'] = LibraryInfo ()
conf = Configure (libraries['flac'])
conf.CheckLib ('FLAC', 'FLAC__stream_decoder_new', language='CXX')
libraries['flac'] = conf.Finish ()
# or if that fails...
#libraries['flac'] = LibraryInfo (LIBS='FLAC')
--------------------------------------------
Cheers.
--
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://lau.linuxaudio.org - The Linux Audio Users guide
========================================
"Anything your mind can see you can manifest physically, then it will
become reality" - Macka B
More information about the Ardour-Dev
mailing list