[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] UHD: undefined symbol uhd_time_spec_t

From: Nicolas Cuervo Benavides
Subject: [Discuss-gnuradio] UHD: undefined symbol uhd_time_spec_t
Date: Tue, 19 May 2015 10:40:36 +0200

Hi all,

I'm having right now problems with a implementation of a time tag in a block that I'm writing. I'm basically writing a burst tagger with SOB, EOB and TX_TIME tags. The first two are working, but the third (the one that  uses a UHD function), is giving me problems.

I recognized that the part that is not properly working is when I write "uhd::time_spec_t". I even tried to create an arbitrary variable by writing just "uhd::time_spec_t test;" in an arbitrary function and then ctest, and then I notice that there is problems with that, as the output says:

           " /$WORKING_DIR$/build/lib/libgnuradio-dyspan.so: undefined symbol: _ZN3uhd11time_spec_tC1Ed"

Make and make install of my block run without any issue.

I have in the headers and body the necessary includes, such as <sys/time.h> and <uhd/types/time_spec.hpp>. I also added the UHD module in the CMakeList.txt file  and it is found, as I can see this in the output:

-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   date_time
Checking for GNU Radio Module: RUNTIME
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
Checking for GNU Radio Module: UHD
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-uhd.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
Checking for GNU Radio Module: PMT
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Checking for module SWIG
-- Found SWIG version 2.0.11.
-- Configuring done
-- Generating done
-- Build files have been written to: /$WORKING_DIR$/build

I sincerely don't know what am I missing. Maybe I'm skipping some linking steps, but I don't know right now how to trace this. Any type of help will be welcomed.

Thanks in advance for your opinions,


Nicolás Cuervo Benavides
Handy: +49 157 70476855
Electric and Electronic Engineering department.
Electronic Engineering
Universidad Nacional de Colombia
Student M.Sc. Information and Communication Technology
Karlsruher Institut für Technologie
Karlsruhe, Baden Würtemberg, Germany 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]