On Wednesday 01 October 2003 8:40 pm, Martin Vermeer wrote: > On Wed, Oct 01, 2003 at 08:31:44PM +0300, Martin Vermeer spake thusly: > > Hmmm, perhaps /home/mv/STLport-4.5.3/stlport/stl in addition to > > /home/mv/STLport-4.5.3/stlport. Trying that now... > > Red herring. What we need is a library to link to.
Exactly. > OK, reading the STLport manual again. Compiling its streams library > STLport-4.5.3/lib/libstlport_gcc.a, and including it in LDFLAGS. Looks > a bit better now... making in text2lyx gives Getting better. Saving this file to disk, cleaning up the strange line break chars: $ sed 's/^=2E//;:loop /=$/{ s/=$// $!{ N s/\n// tloop } }' martin.mail > tmp $ mv tmp martin.mail Manually getting rid of the mail header and footer... Extracting the symbols: $ sed '/In function/d; s/^.*\(undefined reference\)/\1/' martin.mail > tmp $ wc -l tmp 25 tmp So, you're down to only 25 undefined symbols (from 545). Of those 25, 22 are something to do with the boost regex library $ grep -c boost tmp 22 Why aren't you linking against this library anyway. It's in tex2lyx/Makefile.am. Was it compiled with a different version of the STL library perhaps? What remains? $ sed /boost/d' tmp undefined reference to `pthread_getspecific' undefined reference to `pthread_key_create' undefined reference to `pthread_setspecific' So, you need to link against -lpthread.so Finito! It will be interesting to see what changes you needed to make to the source tree... Angus
undefined reference to `boost::RegEx::Merge(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const &, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const &, bool, unsigned int)' undefined reference to `boost::reg_expression<char, boost::regex_traits<char>, _STL::allocator<char> >::~reg_expression(void)' undefined reference to `boost::reg_expression<char, boost::regex_traits<char>, _STL::allocator<char> >::~reg_expression(void)' undefined reference to `boost::reg_expression<char, boost::regex_traits<char>, _STL::allocator<char> >::~reg_expression(void)' undefined reference to `boost::reg_expression<char, boost::regex_traits<char>, _STL::allocator<char> >::~reg_expression(void)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::allocator(void) const' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::allocator(void) const' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::allocator(void) const' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::allocator(void) const' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::allocator(void) const' undefined references to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::allocator(void) const' follow undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::cow(void)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::m_free(void)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::cow(void)' undefined reference to `boost::c_regex_traits<char>::transform(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > &, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const &)' undefined reference to `boost::c_regex_traits<char>::transform_primary(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > &, _STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const &)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::set_first(char const *)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::set_first(char const *, unsigned int)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::set_size(unsigned int, char const *, char const *)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::m_free(void)' undefined reference to `boost::re_detail::match_results_base<char const *, _STL::allocator<char> >::match_results_base(_STL::allocator<char> const &)' undefined reference to `boost::reg_expression<char, boost::regex_traits<char>, _STL::allocator<char> >::set_expression(char const *, char const *, unsigned int)' undefined reference to `pthread_getspecific' undefined reference to `pthread_key_create' undefined reference to `pthread_setspecific'