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 for `all-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 for `all'. 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 > -----Original Message----- > From: Don Ward [mailto:[email protected]] > Sent: Saturday, February 12, 2011 7:10 PM > To: Chomal, Sunil; [email protected] > Subject: Re: [Discuss-gnuradio] make errors in gnu radio 3.3.0 > > 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. > > > 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 to > > `boost::this_thread::disable_interruption::disable_interruption()' > [...] > > -- Don W. _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
