On Sat, Jan 27, 2007 at 04:35:31PM +0100, Davide Anastasia wrote: > Hi Again, > I install SWIG 1.3.31 on my Ubuntu 6.06 LTS and download through SVN the > latest GNU Radio version. > Compiling I receive this critical error: > > ./.libs/libmblock.so: undefined reference to `pmt_nth(unsigned int, > boost::shared_ptr<pmt_base>)' > ./.libs/libmblock-qa.so: undefined reference to > `pmt_intern(std::basic_string<char, std::char_traits<char>, > std::allocator<char> > const&)' > ./.libs/libmblock.so: undefined reference to > `pmt_wrong_type::pmt_wrong_type(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&, > boost::shared_ptr<pmt_base>)' > ./.libs/libmblock.so: undefined reference to > `pmt_subsetp(boost::shared_ptr<pmt_base>, boost::shared_ptr<pmt_base>)' > collect2: ld returned 1 exit status > make[4]: *** [test_mblock] Error 1 > make[4]: Leaving directory > `/home/rocker/Tesi/SVN/gnuradio/mblock/src/lib' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/rocker/Tesi/SVN/gnuradio/mblock/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/rocker/Tesi/SVN/gnuradio/mblock' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/rocker/Tesi/SVN/gnuradio' > make: *** [all] Error 2 > > Any suggestion?
Yes, this is the "Ubuntu libtool problem". (Looks like they've propagated the bad idea to 6.06 LTS too.) I suspect that you are using Debian libtool-1.5.22-4. $ libtool --version Try rolling back to libtool-1.5.22-3 and let us know what happens. After rolling back, you'll need to remove the old version that was installed in top level of your build tree and rebuild $ make distclean $ rm libtool ltmain.sh $ ./bootstrap && ./configure $ make If Ubuntu libtool-1.5.22-3 still has the problem, please use the unmolested libtool 1.5.22 available at http://ftp.gnu.org/gnu/libtool/libtool-1.5.22.tar.gz I'd really appreciate it if a Debian or Ubuntu expert would take a look at this and give us a solid recommendation on how to work around this. It would also be good to talk to the Debian/Ubuntu libtool packagers and let them know about the problem (can't test libraries without installing them), and see if we can get them to stop breaking libtool. Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio