GNU Radio 构建错误
我正在尝试构建 GNU Radio。但是当我尝试运行 make 时出现以下错误。
我按照 README.building-boost 中提到的步骤操作,
$ export LD_LIBRARY_PATH=$BOOST_PREFIX/lib
$ cd <path-to-top-of-gnuradio-tree>
$ ./bootstrap
$ ./configure --with-boost=$BOOST_PREFIX # plus whatever config args you usually use
但是当我运行 make 时,出现此错误:
/usr/local/lib/libgruel-3.4.1git.so.0: undefined reference to `boost::thread::start_thread()'
我使用 Boost Thread 编写了一个简单的程序,并且能够编译并运行它。
知道如何解决构建问题吗?
I am trying to build GNU Radio. But I am getting the following error when I am trying to run make.
I followed the steps mentioned in README.building-boost
$ export LD_LIBRARY_PATH=$BOOST_PREFIX/lib
$ cd <path-to-top-of-gnuradio-tree>
$ ./bootstrap
$ ./configure --with-boost=$BOOST_PREFIX # plus whatever config args you usually use
But when I run make, I get this error :
/usr/local/lib/libgruel-3.4.1git.so.0: undefined reference to `boost::thread::start_thread()'
I wrote a simple program using Boost Thread and was able to compile and run it.
Any idea how to fix the build issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道这是一个老问题,但如果你使用 Ubuntu,那么使用这个脚本:
www.sbrac.org/files/build-gnuradio
它工作得非常好,你可能需要运行它两次才能让一切正常工作,但它节省了大量时间来解决像你正在处理的依赖问题。
I know this is an old question, but if you use Ubuntu, then use this script:
www.sbrac.org/files/build-gnuradio
it works really good, you may have to run it 2 times to get everything working, but it saves a lot of time fixing the problems of dependency like the one you were dealing with.