Gr-howto installation issue

I am building the latest gnuradio source from trunk using “cmake” and
everything is fine.

Then I try to build gr-howto
It seems that this cannot be built with Cmake and that there is a
conflict
when i try to build it with make. The error i get is shown below.

If I try to download the latest tarball of gr-howto and build it out
of the gruradio
tree I get the same error.

what is the problem?

thanks
Achilleas

===============

libtool: link: g++ -g -O2 -g -O2 -o .libs/test_all test_all.o
./.libs/libgnuradio-howto-qa.a
/net/harrisville/x/anastas/gnuradio_trunk/gr-howto-write-a-block/lib/.libs/libgnuradio-howto.so
-L/usr/local/lib64 -lcppunit -ldl -lgnuradio-core -lgruel -lfftw3f
-lgsl -lgslcblas -lm -Wl,-rpath -Wl,/usr/local/lib64
/usr/bin/ld: test_all.o: undefined reference to symbol
‘boost::filesystem3::detail::current_path(boost::system::error_code*)’
/usr/bin/ld: note:
‘boost::filesystem3::detail::current_path(boost::system::error_code*)’
is defined in DSO /usr/lib64/libboost_filesystem-mt.so.1.46.0 so try
adding it to the linker command line
/usr/lib64/libboost_filesystem-mt.so.1.46.0: could not read symbols:
Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [test_all] Error 1
make[3]: Leaving directory
/net/harrisville/x/anastas/gnuradio_trunk/gr-howto-write-a-block/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory/net/harrisville/x/anastas/gnuradio_trunk/gr-howto-write-a-block/lib’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/net/harrisville/x/anastas/gnuradio_trunk/gr-howto-write-a-block’
make: *** [all] Error 2

On Mon, Feb 13, 2012 at 06:15:44PM -0500, Achilleas A.
wrote:

-L/usr/local/lib64 -lcppunit -ldl -lgnuradio-core -lgruel -lfftw3f
-lgsl -lgslcblas -lm -Wl,-rpath -Wl,/usr/local/lib64
/usr/bin/ld: test_all.o: undefined reference to symbol
‘boost::filesystem3::detail::current_path(boost::system::error_code*)’
/usr/bin/ld: note:
‘boost::filesystem3::detail::current_path(boost::system::error_code*)’
is defined in DSO /usr/lib64/libboost_filesystem-mt.so.1.46.0 so try
adding it to the linker command line
/usr/lib64/libboost_filesystem-mt.so.1.46.0: could not read symbols:
Invalid operation
collect2: ld returned 1 exit status

Hi Achilleas,

this seems more likely to be a problem with your boost (I’ve played
around with various gr-howto versions very recently and did never see
this).
Which Boost version do you have?

MB

Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

On Tue, Feb 14, 2012 at 3:02 AM, Martin B. [email protected]
wrote:

of the gruradio
./.libs/libgnuradio-howto-qa.a
/usr/lib64/libboost_filesystem-mt.so.1.46.0: could not read symbols:
MB

Yes, seems like a problem with Boost, but it’s strange that it doesn’t
happen when just building GNU Radio.

Achilleas, when you say you’re using the latest trunk, are you talking
about the master or next branch? I’m assuming the next branch since the
master branch’s “gr-howto-write-a-block” is autotools only and a
separate
“gr-howto-write-a-block-cmake” exists for the cmake build.

Also, what OS?

Tom