linux - GNU Radio, debian compilation error -
have problem when trying compile gnuradio 3.6.5 on latest debian version (8.3).
my gcc version output :
using built-in specs. collect_gcc=gcc collect_lto_wrapper=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper target: x86_64-linux-gnu configured with: ../src/configure -v --with-pkgversion='debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/readme.bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu thread model: posix gcc version 4.9.2 (debian 4.9.2-10)
the make error :
[ 1%] built target volk [ 1%] built target test_all [ 1%] built target volk_profile [ 1%] built target doxygen_target [ 2%] built target gruel [ 2%] built target test_gruel [ 2%] built target pmt_generated [ 2%] built target _pmt_swig_doc_tag [ 2%] built target pmt_swig_swig_doc [ 2%] built target _pmt_swig_swig_tag [ 2%] built target _pmt_swig [ 3%] built target pygen_gruel_src_swig_8de72 [ 3%] built target pygen_gruel_src_python_31e89 [ 3%] built target pygen_gruel_src_python_d3a1d [ 30%] built target gnuradio-core [ 30%] built target gnuradio-config-info [ 31%] built target gr_core_rstest [ 33%] built target test-gnuradio-core linking cxx executable benchmark_dotprod_ccc ../lib/libtest-gnuradio-core.so: référence indéfinie vers « gr_reverse(std::vector<float, std::allocator<float> > const&) » collect2: error: ld returned 1 exit status gnuradio-core/src/tests/cmakefiles/benchmark_dotprod_ccc.dir/build.make:95: recipe target 'gnuradio-core/src/tests/benchmark_dotprod_ccc' failed make[2]: *** [gnuradio-core/src/tests/benchmark_dotprod_ccc] error 1 cmakefiles/makefile2:1111: recipe target 'gnuradio-core/src/tests/cmakefiles/benchmark_dotprod_ccc.dir/all' failed make[1]: *** [gnuradio-core/src/tests/cmakefiles/benchmark_dotprod_ccc.dir/all] error 2 makefile:147: recipe target 'all' failed make: *** [all] error 2
same error after uninstall old gnuradio libs , binary.(--purge)
[ 33%] building cxx object gnuradio-core/src/lib/cmakefiles/test-gnuradio-core.dir/bug_work_around_6.cc.o linking cxx shared library libtest-gnuradio-core.so [ 33%] built target test-gnuradio-core scanning dependencies of target benchmark_dotprod_ccc [ 33%] building cxx object gnuradio-core/src/tests/cmakefiles/benchmark_dotprod_ccc.dir/benchmark_dotprod_ccc.cc.o linking cxx executable benchmark_dotprod_ccc ../lib/libtest-gnuradio-core.so: référence indéfinie vers « gr_reverse(std::vector<float, std::allocator<float> > const&) » collect2: error: ld returned 1 exit status gnuradio-core/src/tests/cmakefiles/benchmark_dotprod_ccc.dir/build.make:95: recipe target 'gnuradio-core/src/tests/benchmark_dotprod_ccc' failed make[2]: *** [gnuradio-core/src/tests/benchmark_dotprod_ccc] error 1 cmakefiles/makefile2:1111: recipe target 'gnuradio-core/src/tests/cmakefiles/benchmark_dotprod_ccc.dir/all' failed make[1]: *** [gnuradio-core/src/tests/cmakefiles/benchmark_dotprod_ccc.dir/all] error 2 makefile:147: recipe target 'all' failed
as wrote:
solved using gnuradio 3.7.5 + gr3.7 branch of osmotetra.
you shouldn't using gnu radio pre-3.7 if don't have to; since osmo-tetra has gr3.7 branch, works latest gnu radio, go that.
Comments
Post a Comment