discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] undefined reference to file_sink_base


From: Nemanja Savic
Subject: [Discuss-gnuradio] undefined reference to file_sink_base
Date: Thu, 5 Nov 2015 13:50:06 +0100

Hi all guys,

i have encountered a new problem which was not present before. I have my old GR module (out of tree) for years. Yesterday I wanted to change something and couldn't build it cause of the linker error.

libgnuradio-TMS.so: undefined reference to `gr::blocks::file_sink_base::file_sink_base(char const*, bool)'
libgnuradio-TMS.so: undefined reference to `gr::blocks::file_sink_base::~file_sink_base()'
libgnuradio-TMS.so: undefined reference to `gr::blocks::file_sink_base::do_update()'

I know that before, I had similar error on some other machine, so I added lines:

set(GR_REQUIRED_COMPONENTS CORE BLOCKS)
find_package(Gnuradio "3.6.5.1")

in my top CMakeLists.txt file but unfortunately nothing changed. I am sure that everything is there, but can't figure out why it can't find it.

Cheers and thanx,
--
Nemanja Savić

reply via email to

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