|
From: | farhan ali |
Subject: | armadillo or lapack linking issue while making a new oot block in gnu radio |
Date: | Sun, 4 Mar 2018 09:19:12 +0500 |
make
[ 8%] Built target gnuradio-cos
[ 12%] Linking CXX executable test-cos
gr::cos::first_impl::CoSaMP(arma::Col<std::complex<double>
>, arma::Mat<std::complex<double> >, int, int,
arma::Col<std::complex<double> >&)':
first_impl.cc:(.text+0x2893): undefined reference to
zgemv_'zgemv_' first_impl.cc:(.text+0x2c18): undefined reference to
zgbsv_'bool
arma::auxlib::solve_square_refine<arma::Mat<std::complex<double>
>
>(arma::Mat<std::complex<arma::Mat<std::complex<double>
>::pod_type> >&, arma::Mat<std::complex<double>
>::pod_type&,
arma::Mat<std::complex<arma::Mat<std::complex<double>
>::pod_type> >&,
arma::Base<std::complex<arma::Mat<std::complex<double>
>::pod_type>, arma::Mat<std::complex<double> > >
const&, bool)':
first_impl.cc:(.text._ZN4arma6auxlib19solve_square_refineINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EEb[_ZN4arma6auxlib19solve_square_refineINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEERS7_SA_RKNS_4BaseIS8_S6_EEb]+0x427):
undefined reference to
zgesvx_'void
arma::glue_times::apply<std::complex<double>, false, false,
false, arma::Mat<std::complex<double> >,
arma::Mat<std::complex<double> >
>(arma::Mat<std::complex<double> >&,
arma::Mat<std::complex<double> > const&,
arma::Mat<std::complex<double> > const&,
std::complex<double>)':
first_impl.cc:(.text.hot._ZN4arma10glue_times5applyISt7complexIdELb0ELb0ELb0ENS_3MatIS3_EES5_EEvRNS4_IT_EERKT3_RKT4_S6_[_ZN4arma10glue_times5applyISt7complexIdELb0ELb0ELb0ENS_3MatIS3_EES5_EEvRNS4_IT_EERKT3_RKT4_S6_]+0x111):
undefined reference to
zgemm_'zgemv_' CMakeFiles/test-cos.dir/first_impl.cc.o: In function
bool
arma::auxlib::solve_square_fast<arma::Mat<std::complex >
>(arma::Mat<arma::Mat<std::complex >::elem_type>&,
arma::Mat<arma::Mat<std::complex >::elem_type>&,
arma::Base<arma::Mat<std::complex >::elem_type,
arma::Mat<std::complex > > const&)':zgesv_' CMakeFiles/test-cos.dir/first_impl.cc.o: In function
bool
arma::auxlib::solve_band_refine<arma::Mat<std::complex >
>(arma::Mat<std::complex<arma::Mat<std::complex
>::pod_type> >&, arma::Mat<std::complex
>::pod_type&,
arma::Mat<std::complex<arma::Mat<std::complex
>::pod_type> >&, unsigned int, unsigned int,
arma::Base<std::complex<arma::Mat<std::complex
>::pod_type>, arma::Mat<std::complex > > const&,
bool)':zgbsvx_' CMakeFiles/test-cos.dir/first_impl.cc.o: In function
bool
arma::auxlib::solve_approx_fast<arma::Mat<std::complex >
>(arma::Mat<arma::Mat<std::complex >::elem_type>&,
arma::Mat<arma::Mat<std::complex >::elem_type>&,
arma::Base<arma::Mat<std::complex >::elem_type,
arma::Mat<std::complex > > const&)':zgels_' CMakeFiles/test-cos.dir/first_impl.cc.o: In function
bool
arma::auxlib::solve_approx_svd<arma::Mat<std::complex >
>(arma::Mat<std::complex<arma::Mat<std::complex
>::pod_type> >&,
arma::Mat<std::complex<arma::Mat<std::complex
>::pod_type> >&,
arma::Base<std::complex<arma::Mat<std::complex
>::pod_type>, arma::Mat<std::complex > > const&)':ilaenv_'
first_impl.cc:(.text._ZN4arma6auxlib16solve_approx_svdINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEESA_RKNS_4BaseIS8_S6_EE[_ZN4arma6auxlib16solve_approx_svdINS_3MatISt7complexIdEEEEEbRNS2_IS3_INT_8pod_typeEEEESA_RKNS_4BaseIS8_S6_EE]+0x49c):
undefined reference to
zgelsd'i am trying from 2 days to resolve this issue,but still no success , kindly help me to resolve this linking issue.
Thanks .
CMakeLists.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |