On Tue, Feb 14, 2012 at 3:02 AM, Martin Braun <martin.br...@kit.edu> wrote:

> On Mon, Feb 13, 2012 at 06:15:44PM -0500, Achilleas Anastasopoulos wrote:
> > 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
>
> 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
>

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
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to