2.8.4 build fails with boost problem

1 reply [Last post]
DavePhillips
User offline. Last seen 1 week 2 days ago. Offline
Joined: 2006-04-19
Posts:

Greetings,

Ubuntu 9.04 32-bit. Here's where it goes wrong:

g++ -o libs/ardour/audio_diskstream.os -c -Woverloaded-virtual -DGTK_NEW_TOOLTIP_API -DPACKAGE=\"libardour2\" -DLIBSIGC_DISABLE_DEPRECATED -DDATA_DIR=\"/usr/local/share\" -DMODULE_DIR=\"/usr/local/lib\" -DVAMP_DIR=\"/usr/local/lib/ardour2/vamp\" -DCONFIG_DIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_JACK_CLIENT_OPEN -DHAVE_JACK_RECOMPUTE_LATENCIES -DHAVE_JACK_VIDEO_SUPPORT -DHAVE_JACK_PORT_ENSURE_MONITOR -DHAVE_WORDEXP -DHAVE_SYS_VFS_H -DHAVE_LV2 -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -pipe -DARCH_X86 -mmmx -m3dnow -march=i686 -msse -mfpmath=sse -DUSE_XMMINTRIN -DBUILD_SSE_OPTIMIZATIONS -Wall -DHAVE_LIBLO -Ilibs -DENABLE_NLS -DHAVE_SLV2 -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Ilibs -pthread -DUSE_RUBBERBAND -fPIC -Ilibs/pbd -I/usr/include/glib-2.0 -Ilibs/surfaces/control_protocol -Ilibs/midi++2 -Ilibs/vamp-sdk -Ilibs/sigc++2 -Ilibs/glibmm2 -I/usr/lib/glib-2.0/include -Ilibs/ardour -Ilibs/rubberband -I/usr/include/rasqal -I/usr/include/libxml2 libs/ardour/audio_diskstream.cc
In file included from /usr/include/boost/dynamic_bitset.hpp:15,
from libs/ardour/ardour/session.h:32,
from libs/ardour/ardour/audio_diskstream.h:39,
from libs/ardour/audio_diskstream.cc:44:
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp: In member function ‘size_t boost::dynamic_bitset::count() const’:
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: ‘mode’ cannot appear in a constant-expression
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: template argument 1 is invalid
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected `>' before ‘*’ token
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected `(' before ‘*’ token
/usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:1021: error: expected primary-expression before ‘>’ token
scons: *** [libs/ardour/audio_diskstream.os] Error 1
scons: building terminated because of errors.

Any suggestions ?

dp

DavePhillips
User offline. Last seen 1 week 2 days ago. Offline
Joined: 2006-04-19
Posts:

Never mind, I found another message here describing the same problem. I applied the suggested patch, the build has resumed. Note that the problem occurred here with the latest 2.0-ongoing and the 2.8.4 source tarball.

dp