Which version of gnuradio works for you now? On Tue, Jun 19, 2018 at 5:22 PM Ralph A. Schmid, dk5ras <ra...@schmid.xxx> wrote:
> Hi, > > I had maybe similar issues with gnuradio recently, and when I not only > removed the build folder but the whole gnuradio folder and did a new git > clone, it magically went through as if there never had been any issue :) > Don't ask how much time I wasted on this one :))) > > Ralph. > > > -----Original Message----- > > From: Discuss-gnuradio [mailto:discuss-gnuradio- > > bounces+ralph=schmid....@gnu.org] On Behalf Of Müller, Marcus (CEL) > > Sent: Tuesday, June 19, 2018 1:33 PM > > To: gi...@apolloshield.com; discuss-gnuradio@gnu.org > > Subject: Re: [Discuss-gnuradio] Error Linking UHD > > > > I must admit this is surprising to me, as the line of code where > LIBS=... is > > printed is pretty integrally coupled to the line that specifies what > > GNURADIO_ALL_LIBRARIES is. Maybe CMake got confused? > > I know this is kind of a "haveyoutriedturningitoffandonagain" answer, but > > have you tried completely rm'ing your build/ directory and letting CMake > run > > anew? > > > > Best regards, > > Marcus > > > > :e ../cmake/Modules/FindG On Tue, 2018-06-19 at 14:19 +0300, > > Gilad Beeri (ApolloShield) wrote: > > > I have a similar problem as described in > > > https://lists.gnu.org/archive/html/discuss-gnuradio/2015-05/msg00195.html. > > > > > > When I try to run tests (with Python), I get: > > > > > > Traceback (most recent call last): > > > File "python/myblock.py", line 12, in <module> > > > from myproj.myproj_swig import mitigation_source > > > File "/home/user/gr/lib/python2.7/site- > > packages/myproj/myproj_swig.py", line 28, in <module> > > > _myproj_swig = swig_import_helper() > > > File "/home/user/gr/lib/python2.7/site- > > packages/myproj/myproj_swig.py", line 24, in swig_import_helper > > > _mod = imp.load_module('_myproj_swig', fp, pathname, description) > > > ImportError: /home/user/gr/lib/libgnuradio-myproj-1.0.0git.so.0.0.0: > > > undefined symbol: _ZN3uhd11time_spec_tC1Eld > > > > > > > > > I did add "UHD" to the line starting with > > "set(GR_REQUIRED_COMPONENTS" > > > (in my root CMakeLists.txt) so I get the output of > > > > > > Checking for GNU Radio Module: UHD > > > -- Checking for module 'gnuradio-uhd' > > > -- Found gnuradio-uhd, version 3.7.11.1-as > > > * INCLUDES=/home/user/gr/include > > > * > > > LIBS=/home/user/gr/lib/libgnuradio-uhd.so;/home/user/gr/lib/libgnuradi > > > o-runtime.so;/home/user/gr/lib/libgnuradio-pmt.so;/usr/lib/liblog4cpp. > > > so > > > -- Found GNURADIO_UHD: > > > /home/user/gr/lib/libgnuradio-uhd.so;/home/user/gr/lib/libgnuradio-run > > > time.so;/home/user/gr/lib/libgnuradio-pmt.so;/usr/lib/liblog4cpp.so > > > GNURADIO_UHD_FOUND = TRUE > > > > > > I also have in my lib/CMakeLists.txt file ${GNURADIO_ALL_LIBRARIES} in > > both target_link_libraries() lists. > > > > > > I have "#include <uhd/types/time_spec.hpp>" in my header file. > > > > > > But for some reason, it doesn't seem to link gnuradio-uhd: > > > > > > readelf -d /home/user/gr/lib/libgnuradio-myproj-1.0.0git.so.0.0.0 > > > > > > 0x0000000000000001 (NEEDED) Shared library: > > [libboost_system.so.1.58.0] > > > 0x0000000000000001 (NEEDED) Shared library: > [libgnuradio-runtime- > > 3.7.11.1-as.so.0.0.0] > > > 0x0000000000000001 (NEEDED) Shared library: > [libgnuradio-pmt- > > 3.7.11.1-as.so.0.0.0] > > > 0x0000000000000001 (NEEDED) Shared library: > [liblog4cpp.so.5] > > > 0x0000000000000001 (NEEDED) Shared library: > [libgnuradio-filter- > > 3.7.11.1-as.so.0.0.0] > > > 0x0000000000000001 (NEEDED) Shared library: > [libstdc++.so.6] > > > 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] > > > 0x0000000000000001 (NEEDED) Shared library: > [libgcc_s.so.1] > > > 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] > > > 0x000000000000000e (SONAME) Library soname: [libgnuradio- > > myproj-1.0.0git.so.0.0.0] > > > _______________________________________________ > > > Discuss-gnuradio mailing list > > > Discuss-gnuradio@gnu.org > > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio