problem with PBD in ardour-2.0beta5.1

6 replies [Last post]
flipe
User offline. Last seen 6 years 48 weeks ago. Offline
Joined: 2006-09-13
Posts:

I try compile ardour2.0beta5.1, but I have problems with pbd…

g++ -o libs/pbd/libpbd.so -Wl,–export-dynamic -pthread -pthread -shared libs/pbd/basename.os libs/pbd/base_ui.os libs/pbd/convert.os libs/pbd/command.os libs/pbd/controllable.os libs/pbd/dmalloc.os libs/pbd/error.os libs/pbd/id.os libs/pbd/mountpoint.os libs/pbd/path.os libs/pbd/pathscanner.os libs/pbd/pool.os libs/pbd/pthread_utils.os libs/pbd/receiver.os libs/pbd/stacktrace.os libs/pbd/stateful.os libs/pbd/strsplit.os libs/pbd/textreceiver.os libs/pbd/transmitter.os libs/pbd/undo.os libs/pbd/version.os libs/pbd/whitespace.os libs/pbd/xml++.os -Llibs/sigc++2 -Llibs/glibmm2 -lsigc++2 -lxml2 -lglibmm2 -lglib-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0
‘.L5649’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5650’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5651’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5652’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5653’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5654’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5655’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5656’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5657’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
‘.L5658’ referenced in section ‘.rodata’ of libs/pbd/stateful.os: defined in discarded section ‘.gnu.linkonce.t._ZN13StringPrivate11char_to_intEc’ of libs/pbd/stateful.os
collect2: ld returned 1 exit status
scons: *** [libs/pbd/libpbd.so] Error 1
scons: building terminated because of errors.

I use a debian box, gcc-4.1, kernel-2.6.17.

somebody can help-me?
thanks.

sampo
User offline. Last seen 11 weeks 2 days ago. Offline
Joined: 2006-03-16
Posts:

See http://www.ardour.org/node/455

flipe
User offline. Last seen 6 years 48 weeks ago. Offline
Joined: 2006-09-13
Posts:

now, I try run scons, but it return I not have boost.

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

aptitude search boost
p boost-build - Build system
i libboost-date-time-dev - set of date-time libraries based on generic programming concepts
i A libboost-date-time1.33.1 - set of date-time libraries based on generic programming concepts
p libboost-dbg - Boost C++ Libraries with debug symbols
i libboost-dev - Boost C++ Libraries development files
p libboost-doc - Boost.org libraries documentation
i libboost-filesystem-dev - filesystem operations (portable paths, iteration over directories,
i A libboost-filesystem1.33.1 - filesystem operations (portable paths, iteration over directories,
i libboost-graph-dev - generic graph components and algorithms in C++
i A libboost-graph1.33.1 - generic graph components and algorithms in C++
i libboost-iostreams-dev - Boost.Iostreams Library development files
i A libboost-iostreams1.33.1 - Boost.Iostreams Library
p libboost-program-options-dev - program options library for C++
p libboost-program-options1.33.1 - program options library for C++
i libboost-python-dev - Boost.Python Library development files
i A libboost-python1.33.1 - Boost.Python Library
i libboost-regex-dev - regular expression library for C++
i A libboost-regex1.33.1 - regular expression library for C++
p libboost-serialization-dev - serialization library for C++
i libboost-signals-dev - managed signals and slots library for C++
i A libboost-signals1.33.1 - managed signals and slots library for C++
i libboost-test-dev - components for writing and executing test suites
i A libboost-test1.33.1 - components for writing and executing test suites
i libboost-thread-dev - portable C++ multi-threading
i A libboost-thread1.33.1 - portable C++ multi-threading
i libboost-wave-dev - C99/C++ preprocessor library

but I have boost installed.

thanks

klaumi
User offline. Last seen 1 year 6 weeks ago. Offline
Joined: 2006-10-13
Posts:

Install libboost-dev. You will also need:
liblrdf0-dev
liblo0-dev and others

Ardour compiles fine here (including vst-support), using Debian-testing with binutils 2.17-3 from unstable.

flipe
User offline. Last seen 6 years 48 weeks ago. Offline
Joined: 2006-09-13
Posts:

I have liboost-dev, liblrdf0-dev and liblo0-dev installed,
but when I run scons, it show...

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

ii libboost-dev 1.33.1-7+b1
ii binutils 2.17-3
ii liblrdf0-dev 0.4.0-1
ii liblo0-dev 0.23-2.1

thanks.

taybin
User offline. Last seen 41 weeks 7 hours ago. Offline
Joined: 2006-03-15
Posts:

Are you compiling on MacOSX? I've found that scons doesn't always find the boost headers even when they are installed. I end up commenting out that check in the SConstruct file. You might have to do the same until we can figure out a way to get scons to recognize them.

flipe
User offline. Last seen 6 years 48 weeks ago. Offline
Joined: 2006-09-13
Posts:

I compiling it on a debian-sarge, with kernel-2.6.17, gcc-4.1 and liboost-1.33.1-7+b1

thanks.