Make errors in gnu radio 3.3.0

Hi,
I am trying to build the gnu radio (release 3.3.0) for the first time on
my windows pc.
I am following the steps as in
http://gnuradio.org/redmine/wiki/gnuradio/CygwinInstallMain
I have installed cygwin and the relevant packages as mention in the
above link.
I have also installed the boost package(boost_1_45_0)

The link ‘Hints,tips,known problems in windows’ doesn’t seems to
address the issue .

I have seen somebody had posted a similar problem some time back. But I
could not follow exactly what is the solution.

I have installed boost in the directory \usr\src\boost_1_45_0
I tried setting the the environment variable LD_LIBRARY_PATH to this i.e
export LD_LIBRARY_PATH=/usr/src/boost_1_45_0/libs

But this didn’t work…

Anybody can help ???

libtool: link: rm -fr .libs/libgruel.dll.a
libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/i686-pc-cygwin/4.3.4/crtbegin.
o .libs/realtime.o .libs/sys_pri.o .libs/thread.o
.libs/thread_body_wrapper.o .
libs/thread_group.o -Wl,–whole-archive pmt/.libs/libpmt.a
msg/.libs/libmsg.a -
Wl,–no-whole-archive -L/usr/lib -lboost_thread-gcc-mt-1_33_1
-L/usr/lib/gcc/i6
86-pc-cygwin/4.3.4 -L/usr/lib/gcc/i686-pc-cygwin/4.3.4/…/…/…
/usr/lib/gcc/i68
6-pc-cygwin/4.3.4/libstdc++.dll.a -lgcc_s -lgcc_s -lcygwin -luser32
-lkernel32 -
ladvapi32 -lshell32 -lgcc_s -lgcc_s
/usr/lib/gcc/i686-pc-cygwin/4.3.4/crtend.o
-O2 -o .libs/cyggruel-3-3-0-0.dll -Wl,–enable-auto-image-base
-Xlinker --out-
implib -Xlinker .libs/libgruel.dll.a
Creating library file: .libs/libgruel.dll.a
.libs/thread_group.o: In function _ZN5boost12shared_mutex4lockEv': /usr/local/include/boost/thread/pthread/shared_mutex.hpp:129: undefined referenc e toboost::this_thread::disable_interruption::disable_interruption()’
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:137: undefined
referenc
e to boost::this_thread::disable_interruption::~disable_interruption()' /usr/local/include/boost/thread/pthread/shared_mutex.hpp:137: undefined referenc e toboost::this_thread::disable_interruption::~disable_interruption()’
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:129: undefined
referenc
e to boost::this_thread::disable_interruption::disable_interruption()' /usr/local/include/boost/thread/pthread/shared_mutex.hpp:137: undefined referenc e toboost::this_thread::disable_interruption::~disable_interruption()’
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:137: undefined
referenc
e to boost::this_thread::disable_interruption::~disable_interruption()' .libs/thread_group.o: In functionthread<boost::function0 >’:
/usr/local/include/boost/thread/detail/thread.hpp:204: undefined
reference to b oost::thread::start_thread()' .libs/thread_group.o: In function_ZN5boost12shared_mutex11lock_sharedEv’:
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:59: undefined
reference
to boost::this_thread::disable_interruption::disable_interruption()' .libs/thread_group.o: In functionshared_lock’:
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:66: undefined
reference
to boost::this_thread::disable_interruption::~disable_interruption()' .libs/thread_group.o: In function_ZN5boost12shared_mutex11lock_sharedEv’:
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:66: undefined
reference
to boost::this_thread::disable_interruption::~disable_interruption()' /usr/local/include/boost/thread/pthread/shared_mutex.hpp:59: undefined reference toboost::this_thread::disable_interruption::disable_interruption()’
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:66: undefined
reference
to boost::this_thread::disable_interruption::~disable_interruption()' .libs/thread_group.o:/home/a0876473/gnuradio-3.3.0/gruel/src/lib/thread_group.cc :89: undefined reference toboost::thread::interrupt()’
.libs/thread_group.o: In function
_ZN5boost12shared_mutex11lock_sharedEv': /usr/local/include/boost/thread/pthread/shared_mutex.hpp:66: undefined reference toboost::this_thread::disable_interruption::~disable_interruption()’
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:59: undefined
reference
to boost::this_thread::disable_interruption::disable_interruption()' /usr/local/include/boost/thread/pthread/shared_mutex.hpp:66: undefined reference toboost::this_thread::disable_interruption::~disable_interruption()’
/usr/local/include/boost/thread/pthread/shared_mutex.hpp:66: undefined
reference
to boost::this_thread::disable_interruption::~disable_interruption()' .libs/thread_group.o: In function~thread_data’:
/usr/local/include/boost/thread/detail/thread.hpp:42: undefined
reference to bo ost::detail::thread_data_base::~thread_data_base()' /usr/local/include/boost/thread/detail/thread.hpp:42: undefined reference tobo
$
/usr/local/include/boost/thread/detail/thread.hpp:42: undefined
reference to bo ost::detail::thread_data_base::~thread_data_base()' /usr/local/include/boost/thread/detail/thread.hpp:42: undefined reference tobo
ost::detail::thread_data_base::~thread_data_base()’
.libs/thread_group.o: In function interruption_checker': /usr/local/include/boost/thread/pthread/thread_data.hpp:97: undefined reference toboost::detail::get_current_thread_data()’
.libs/thread_group.o:/usr/local/include/boost/thread/pthread/condition_variable.
hpp:55: undefined reference to
boost::this_thread::interruption_point()' .libs/thread_group.o: In functionthread_data_base’:
/usr/local/include/boost/thread/pthread/thread_data.hpp:67: undefined
reference
to vtable for boost::detail::thread_data_base' .libs/thread_group.o: In functionthread_data’:
/usr/local/include/boost/thread/detail/thread.hpp:54: undefined
reference to `bo
ost::detail::thread_data_base::~thread_data_base()’
.libs/thread_group.o:thread_group.cc:(.rdata$ZTIN5boost6detail11thread_dataINS
9function0IvEEEE[typeinfo for
boost::detail::thread_data<boost::function0

]+0x8): undefined reference to typeinfo for boost::detail::thread_data_base' collect2: ld returned 1 exit status make[5]: *** [libgruel.la] Error 1 make[5]: Leaving directory/home/a0876473/gnuradio-3.3.0/gruel/src/lib’
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory /home/a0876473/gnuradio-3.3.0/gruel/src/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/a0876473/gnuradio-3.3.0/gruel/src’
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /home/a0876473/gnuradio-3.3.0/gruel' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/a0876473/gnuradio-3.3.0’
make: *** [all] Error 2

Regards
Sunil

Chomal, Sunil wrote:

I am trying to build the gnu radio (release 3.3.0) for the first time on
my windows pc.
I am following the steps as in
http://gnuradio.org/redmine/wiki/gnuradio/CygwinInstallMain
I have installed cygwin and the relevant packages as mention in the above
link.
[…]

I have installed boost in the directory \usr\src\boost_1_45_0
I tried setting the the environment variable LD_LIBRARY_PATH to this i.e
export LD_LIBRARY_PATH=/usr/src/boost_1_45_0/libs

You shouldn’t need this.

[…]

libtool: link: rm -fr .libs/libgruel.dll.a
libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/i686-pc-cygwin/4.3.4/crtbegin.
o .libs/realtime.o .libs/sys_pri.o .libs/thread.o
.libs/thread_body_wrapper.o .
libs/thread_group.o -Wl,–whole-archive pmt/.libs/libpmt.a
msg/.libs/libmsg.a -
Wl,–no-whole-archive -L/usr/lib -lboost_thread-gcc-mt-1_33_1 -L/usr/lib/gcc/i6

The line above is looking for boost_thread-gcc-mt-1_33_1.
Apparently ./configure is finding boost 1.33.1 instead of 1.45.0.
Do you have the Cygwin boost 1.33.1 package installed? If so, try
removing it. Then rerun ./configure and look at the output to see
what version of boost is found.

.libs/thread_group.o: In function _ZN5boost12shared_mutex4lockEv': /usr/local/include/boost/thread/pthread/shared_mutex.hpp:129: undefined referenc e toboost::this_thread::disable_interruption::disable_interruption()’
[…]

– Don W.

Thanks Don for the suggestion!

I removed boost 1.33.1.But now the errors have changed to below

I tried using
$ ./configure --disable-all-components --enable-gruel
–enable-gnuradio-core --enable-gr-audio-oss
–with-boost-include-dir=/usr/local/include/boost-1_45_0
Somehow boost 1.45.0 is not being use by the make…

$ make
make all-recursive
make[1]: Entering directory /home/a0876473/gnuradio-3.3.0' Making all in config make[2]: Entering directory/home/a0876473/gnuradio-3.3.0/config’
make[2]: Nothing to be done for all'. make[2]: Leaving directory/home/a0876473/gnuradio-3.3.0/config’
Making all in gruel
make[2]: Entering directory /home/a0876473/gnuradio-3.3.0/gruel' Making all in src make[3]: Entering directory/home/a0876473/gnuradio-3.3.0/gruel/src’
Making all in lib
make[4]: Entering directory
/home/a0876473/gnuradio-3.3.0/gruel/src/lib' Making all in pmt make[5]: Entering directory/home/a0876473/gnuradio-3.3.0/gruel/src/lib/pmt’
make all-am
make[6]: Entering directory
/home/a0876473/gnuradio-3.3.0/gruel/src/lib/pmt' make[6]: Nothing to be done forall-am’.
make[6]: Leaving directory
/home/a0876473/gnuradio-3.3.0/gruel/src/lib/pmt' make[5]: Leaving directory/home/a0876473/gnuradio-3.3.0/gruel/src/lib/pmt’
Making all in msg
make[5]: Entering directory
/home/a0876473/gnuradio-3.3.0/gruel/src/lib/msg' make[5]: Nothing to be done forall’.
make[5]: Leaving directory
/home/a0876473/gnuradio-3.3.0/gruel/src/lib/msg' make[5]: Entering directory/home/a0876473/gnuradio-3.3.0/gruel/src/lib’
/bin/sh …/…/…/libtool --tag=CXX --mode=link g++ -g -O2 -Wall
-Woverloaded-
virtual -o test_gruel.exe test_gruel.o pmt/libpmt-qa.la libgruel.la

libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -o
.libs/test_gruel.exe test_gruel.o pmt/.libs/libpmt-qa.a -L/usr/lib
/usr/lib/libcppunit.dll.a -ldl ./.libs/libgruel.a -lboost_thread-mt
-lboost_thread-gcc-mt-1_33_1
/usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a
-L/usr/lib/gcc/i686-pc-cygwin/4.3.4/usr/lib/gcc/i686-pc-cygwin/4.3.4/…/…/…/…/i686-pc-cygwin/bin/ld:
cannot find
-lboost_thread-mt/usr/lib/gcc/i686-pc-cygwin/4.3.4/…/…/…/…/i686-pc-cygwin/bin/ld:
cannot find -lboost_thread-gcc-mt-1_33_1
collect2: ld returned 1 exit status
make[5]: *** [test_gruel.exe] Error 1
make[5]: Leaving directory /home/a0876473/gnuradio-3.3.0/gruel/src/lib' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory/home/a0876473/gnuradio-3.3.0/gruel/src/lib’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory /home/a0876473/gnuradio-3.3.0/gruel/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/a0876473/gnuradio-3.3.0/gruel’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/a0876473/gnuradio-3.3.0’
make: *** [all] Error 2

Regards
Sunil

"Chomal, Sunil wrote:

I removed boost 1.33.1.But now the errors have changed to below

I tried using
$
./configure --disable-all-components --enable-gruel --enable-gnuradio-core
–enable-gr-audio-oss --with-boost-include-dir=/usr/local/include/boost-1_45_0
Somehow boost 1.45.0 is not being use by the make…

Right; you need to look at the output of ./configure to find out why.

make[3]: Entering directory /home/a0876473/gnuradio-3.3.0/gruel/src'/home/a0876473/gnuradio-3.3.0/gruel/src/lib/pmt’
g++ -g -O2 -Wall -Woverloaded-
virtual -o test_gruel.exe test_gruel.o pmt/libpmt-qa.la libgruel.la

libtool: link: g++ -g -O2 -Wall -Woverloaded-virtual -o
.libs/test_gruel.exe test_gruel.o pmt/.libs/libpmt-qa.a -L/usr/lib
/usr/lib/libcppunit.dll.a -ldl
./.libs/libgruel.a -lboost_thread-mt -lboost_thread-gcc-mt-1_33_1
/usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a
-L/usr/lib/gcc/i686-pc-cygwin/4.3.4/usr/lib/gcc/i686-pc-cygwin/4.3.4/…/…/…/…/i686-pc-cygwin/bin/ld:
cannot
find
-lboost_thread-mt/usr/lib/gcc/i686-pc-cygwin/4.3.4/…/…/…/…/i686-pc-cygwin/bin/ld:
cannot find -lboost_thread-gcc-mt-1_33_1

Clearly, it still thinks that boost 1.33.1 is there, somewhere. But you
need to examine the output of ./configure to find out what it found and
where it found it.

– Don W.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs