[ardour-dev] 2.0 beta 7 released

Olivier Doaré nolv at free.fr
Tue Nov 7 05:56:49 PST 2006


I had the following error when trying to compile ardour 2 beta7.1 :

-----------------------------
g++ -o libs/surfaces/control_protocol/basic_ui.os -c -O3 -fomit-frame-pointer
-ffast-math -fstrength-reduce -DARCH_X86 -mmmx -march=i686 -msse -mfpmath=sse
-DBUILD_SSE_OPTIMIZATIONS -Wall -DHAVE_LIBLO -D_REENTRANT -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -Woverloaded-virtual -DPACKAGE=\"ardour_cp\"
-DLIBSIGC_DISABLE_DEPRECATED -DDATA_DIR=\"/usr/local/share\"
-DCONFIG_DIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\" -fPIC
-Ilibs/pbd -I/usr/include/glib-2.0 -Ilibs/midi++2 -Ilibs/ardour -Ilibs/sigc++2
-Ilibs/glibmm2 -I/usr/lib/glib-2.0/include -Ilibs/surfaces/control_protocol
-I/usr/include/libxml2 libs/surfaces/control_protocol/basic_ui.cc
In file included from libs/surfaces/control_protocol/basic_ui.cc:24:
libs/ardour/ardour/session.h:36:21: error: sndfile.h: Aucun fichier ou
répertoire de ce type
libs/pbd/pbd/rcu.h: In member function ‘void** RCUManager<T>::the_pointer()
const [with T = std::list<boost::shared_ptr<ARDOUR::Route>,
std::allocator<boost::shared_ptr<ARDOUR::Route> > >]’:
libs/pbd/pbd/rcu.h:20:   instantiated from ‘boost::shared_ptr<T>
RCUManager<T>::reader() const [with T =
std::list<boost::shared_ptr<ARDOUR::Route>,
std::allocator<boost::shared_ptr<ARDOUR::Route> > >]’
libs/ardour/ardour/session.h:286:   instantiated from here
libs/pbd/pbd/rcu.h:30: warning: dereferencing type-punned pointer will break
strict-aliasing rules
scons: *** [libs/surfaces/control_protocol/basic_ui.os] Error 1
scons: building terminated because of errors.
-----------------------------

My system is Mandriva 2007

Copying sndfile.h to libs/ardour/ did the trick but i suppose something better
could be done...

Best wishes,
--
Olivier



More information about the Ardour-Dev mailing list