[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] linker problem with c++ application on next branch
From: |
Alexandru Csete |
Subject: |
[Discuss-gnuradio] linker problem with c++ application on next branch |
Date: |
Mon, 15 Apr 2013 17:40:33 +0200 |
Greetings,
Today I updated my gnuradio/next installation to the latest revision
and I now get a linker error trying to compile my application:
Linking CXX executable strx
/usr/bin/ld: CMakeFiles/strx.dir/strx/strx_source_c_impl.cpp.o:
undefined reference to symbol '_ZN3pmt6internERKSs'
/usr/bin/ld: note: '_ZN3pmt6internERKSs' is defined in DSO
/opt/gnuradio/v3.6.4.1-1135-gc018b14e-next/lib/libgnuradio-pmt-3.7git.so.0.0.0
so try adding it to the linker command line
/opt/gnuradio/v3.6.4.1-1135-gc018b14e-next/lib/libgnuradio-pmt-3.7git.so.0.0.0:
could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [strx] Error 1
make[1]: *** [CMakeFiles/strx.dir/all] Error 2
make: *** [all] Error 2
As far as I can see libgnuradio-pmt is a new library and it does not
have it's own package, so I assume a -lgnuradio-pmt is missing in the
pkg-config file of one of the other packages, perhaps
gnuradio-runtime.
The latest working gnuradio/next revision I have is
v3.6.4.1-1112-gd84b1dd4 but this does not have the libgnuradio-pmt
library.
Alex
- [Discuss-gnuradio] linker problem with c++ application on next branch,
Alexandru Csete <=