List Info

Thread: scons issues




scons issues
user name
2006-12-05 05:49:40
Hi,

First I am using binutils-2.17 because the older versions
caused serious 
issues with kernel upgrades for my system. However the
errors I am 
seeing are not specifically referenced anywhere I can find
so I am 
asking here for good measure.

=======

1: Does the version of flac make any difference to the
build?

I have 1.1.2.

libsndfile can find it and reference the symbol

`FLAC__seekable_stream_encoder_set_tell_callback`

but the ardour build fails to see it :/


- I have installed libsndfile-1.0.17 in --prefix=/usr/


========


2: I have exported LD_LIBRARY_PATH to make sure.

LD_LIBRARY_PATH="/usr/lib:/usr/local/lib:/usr/X11R6/lib
:/usr/src/mysql/lib:/usr/local/ssl/lib"


=======

3: I get this error message with a fresh tarball:

scons: Reading SConscript files ...
Checking for usb_interrupt_write() in C library usb...
(cached) yes
Checking for FLAC__stream_decoder_new() in C++ library
FLAC... (cached) no
Checking for C++ header file boost/shared_ptr.hpp...
(cached) no
Boost header files do not appear to be installed.

- The boost headers are installed in /usr/include/boost/

=======

4: To get past that I have disabled the exit after the boost
check in 
the SConstruct file, line #486.

Then everything goes well until:

libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_set_seek_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_process_interleaved'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_get_resolved_state_string'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_set_write_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_delete'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_process_single'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_client_data'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_get_decode_position'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_write_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_error_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_init'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__StreamDecoderErrorStatusString'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_set_client_data'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_metadata_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_set_sample_rate'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_finish'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_eof_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_init'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_length_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_set_bits_per_sample'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_new'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_seek_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_tell_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_set_read_callback'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_set_channels'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_finish'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_decoder_seek_absolute'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_new'
libs/libsndfile/libsndfile-ardour.so: undefined reference to

`FLAC__seekable_stream_encoder_set_tell_callback'
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

========


- Strangely enough I also upgraded to libsamplerate-0.1.2
into 
/usr/local/ and after that the build system found it and
recompiled the 
appropriate ardour lib without any issues.



Any furthur ideas?



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

_______________________________________________
ardour-dev mailing list
ardour-devlists.ardour.org
http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour
.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )