On wto, 2012-07-03 at 06:37 +0200, hermann wrote:
> We are proud to announce the release of guitarix2-0.23.0.

Hi Hermann,

I got some minor problems compiling it:

> Checking for boost >= 1.42
> ==>
> 
>     #include <boost/version.hpp>
>     #include <boost/format.hpp>
>     #include <boost/thread.hpp>
>     #if BOOST_VERSION < 104200
>     #error
>     #endif
>     int main(){ return 0; }
> 
> <==
> [1/2] cxx: build/.conf_check_0/test.cpp -> 
> build/.conf_check_0/testbuild/default/test_1.o
> ['/usr/bin/g++', '../test.cpp', '-c', '-o', 'default/test_1.o']
> [2/2] cxx_link: build/.conf_check_0/testbuild/default/test_1.o -> 
> build/.conf_check_0/testbuild/default/testprog
> default/test_1.o: In function `__static_initialization_and_destruction_0(int, 
> int)':
> test.cpp:(.text+0x50): undefined reference to 
> `boost::system::generic_category()'
> test.cpp:(.text+0x5a): undefined reference to 
> `boost::system::generic_category()'
> test.cpp:(.text+0x64): undefined reference to 
> `boost::system::system_category()'
> collect2: error: ld returned 1 exit status

Attached patch solves the problem.

One more very minor thing: the tarball contains "trunk" instead of 
"guitarix-0.23.0" directory.

Thanks,
Fryderyk
diff -aurN trunk.orig/wscript trunk/wscript
--- trunk.orig/wscript	2012-07-03 23:03:04.617627841 +0200
+++ trunk/wscript	2012-07-03 23:03:40.936173794 +0200
@@ -346,7 +346,7 @@
     int main(){ return 0; }
     """ % boost_atleast_version
     msg = "Checking for boost >= %s" % boost_atleast_vermsg
-    conf.check_cxx(msg = msg, fragment=code, mandatory=1)
+    conf.check_cxx(msg = msg, fragment=code, lib="boost_system", mandatory=1)
     # not needed: with boost 1.42 Guitarix doesn't generate code which
     #             references the boost threading lib
     #msg = "Checking for boost_thread%%s >= %s" % boost_atleast_vermsg
_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to