Hello, I am trying to build gnuradio 3.4.2 with libboost 1.40 on ubuntu for usrp1 but it gives me the following error when I run the make command. Please help! ./.libs/libgnuradio-core.so: undefined reference to `boost::thread_resource_error::thread_resource_error()' ./.libs/libgnuradio-core.so: undefined reference to `boost::lock_error::lock_error()' collect2: ld returned 1 exit status make[8]: *** [gnuradio-config-info] Error 1 make[8]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core/src/lib' make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core/src/lib' make[6]: *** [all] Error 2 make[6]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core/src/lib' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core/src' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2' make: *** [all] Error 2
on 2013-02-19 16:44
on 2013-02-19 17:29
On Tue, Feb 19, 2013 at 10:43 AM, Zulfiqar Khan <zulfi.khan.111@gmail.com>wrote: > `boost::lock_error::lock_error()' > make[5]: *** [all-recursive] Error 1 > `/home/imran/Desktop/gnuradio/gnuradio-3.4.2/gnuradio-core' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/imran/Desktop/gnuradio/gnuradio-3.4.2' > make: *** [all] Error 2 > It looks like you might be missing the libboost_thread library or an incorrect version is installed. I'm not sure how you make it past the cmake checks for Boost to the point of actually trying to build stuff, but perhaps there something with versions of Boost/GR/whatever that are confusing things. Make sure you have the development packages for the following Boost libraries installed an all the same version: date_time program_options filesystem system thread Then reconfigure and try to rebuild. Tom
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.