[ardour-dev] 2.0 beta 7 released

Paul Davis paul at linuxaudiosystems.com
Tue Nov 7 06:00:42 PST 2006


On Tue, 2006-11-07 at 14:56 +0100, Olivier Doaré wrote:
> 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...

thats absolutely the wrong solution. unpack the tarball again, compile
it again and post the entire build log here. thanks.





More information about the Ardour-Dev mailing list