[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX,
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux) |
Date: |
Mon, 14 Nov 2016 23:16:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Good spotting, Cinaed!
judging from his initials, I'd guess gr-pwg is Paul's OOT module. Point
is that libgnuradio-pwg contains a reference to, but no implementation
of, the missing symbol, which is
_ZN2gr7trellis26viterbi_algorithm_combinedIfhEEviiiRKSt6vectorIiSaIiEES6_RKS2_IS4_SaIS4_EESA_iiiiRKS2_IT_SaISB_EENS_7digital21trellis_metric_type_tEPKSB_PT0_
or to put it more "readable" (ha, ha.) in C++ terms:
void gr::trellis::viterbi_algorithm_combined<float, unsigned char>(int, int,
int, std::vector<int, std::allocator<int> > const&, std::vector<int,
std::allocator<int> > const&, std::vector<std::vector<int, std::allocator<int>
>, std::allocator<std::vector<int, std::allocator<int> > > > const&,
std::vector<std::vector<int, std::allocator<int> >,
std::allocator<std::vector<int, std::allocator<int> > > > const&, int, int,
int, int, std::vector<float, std::allocator<float> > const&,
gr::digital::trellis_metric_type_t, float const*, unsigned char*)
or omitting standard template arguments and trying to format things:
void
gr::trellis::viterbi_algorithm_combined <float, unsigned char> (
int,
int,
int,
std::vector<int> const&,
std::vector<int> const&,
std::vector< std::vector<int> > const&,
std::vector< std::vector<int> > const&,
int,
int,
int,
int,
std::vector<float> const&,
gr::digital::trellis_metric_type_t,
float const*,
unsigned char*)
Anyway, the question is why linking doesn't look like it should.
Just to get this out of the way: Paul, what does your
lib/CMakeLists.txt's "target_link_libraries" directive look like, exactly?
Best regards,
Marcus
On 14.11.2016 22:38, Cinaed Simson wrote:
> On 11/14/2016 06:34 AM, Garver, Paul W wrote:
>> objdump -t /usr/local/lib/libgnuradio-trellis-3.7.11git.so.0.0.0
> Isn't this a different library from the previous error message, namely
>
>> ImportError: /usr/local/lib/libgnuradio-pwg-1.0.0git.so.0.0.0:
> undefined symbol:
>
> On Linux, I don't have the library libgnuradio-pwg - should I?
>
> I have libgnuradio-trellis.
>
> -- Cinaed
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), (continued)
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Daniel P. Martin, 2016/11/12
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/12
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Cinaed Simson, 2016/11/12
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/13
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Sylvain Munaut, 2016/11/13
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/14
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Sylvain Munaut, 2016/11/14
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/14
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Cinaed Simson, 2016/11/14
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux),
Marcus Müller <=
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/14
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/17
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Michael Dickens, 2016/11/17
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/17
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/22
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Sylvain Munaut, 2016/11/23
- Re: [Discuss-gnuradio] Linking gr-digital in OOT Module (Success on OSX, fails on Linux), Garver, Paul W, 2016/11/25