Angus Leeming <[EMAIL PROTECTED]> writes:

> > qfont_loader.C:35: error: `LibFileSearch'
> > not declared qfont_loader.C:36: error: `OnlyPath' not declared
> > qfont_loader.C:37: error: `Systemcall' not declared make[5]: ***
> > 
> [...]
> 
>  #ifdef Q_WS_X11
>  #include <qwidget.h>
>  #include <X11/Xlib.h>
> +#endif
>  #include "support/systemcall.h"
>  #include "support/filetools.h"
>  #include <algorithm>
> -#endif

Actually, 

--- src/frontends/qt2/qfont_loader.C.orig       Wed Oct  8 10:46:05 2003
+++ src/frontends/qt2/qfont_loader.C    Mon Dec 15 15:15:22 2003
@@ -26,10 +26,10 @@
 #ifdef Q_WS_X11
 #include <qwidget.h>
 #include <X11/Xlib.h>
-#include "support/systemcall.h"
-#include "support/filetools.h"
 #include <algorithm>
 #endif
+#include "support/systemcall.h"
+#include "support/filetools.h"
 
 using lyx::support::contains;
 using lyx::support::LibFileSearch;

did it.  But then I've hit what looks like a tougher problem:

/bin/sh ../../libtool --mode=link g++  -g -O -fno-exceptions -W -Wall  -framework 
Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -o tex2lyx  
FloatList.o Floating.o counters.o lengthcommon.o lyxlayout.o lyxtextclass.o lyxlex.o 
lyxlex_pimpl.o boost.o context.o gettext.o lyxfont.o texparser.o tex2lyx.o preamble.o 
math.o table.o text.o ../support/libsupport.la 
../../boost/libs/regex/src/libboostregex.la -lz 
mkdir .libs
g++ -g -O -fno-exceptions -W -Wall -framework Carbon -framework OpenGL -framework AGL 
-framework QuickTime -o tex2lyx FloatList.o Floating.o counters.o lengthcommon.o 
lyxlayout.o lyxtextclass.o lyxlex.o lyxlex_pimpl.o boost.o context.o gettext.o 
lyxfont.o texparser.o tex2lyx.o preamble.o math.o table.o text.o  -lz 
../support/.libs/libsupport.a -lz ../../boost/libs/regex/src/.libs/libboostregex.a -lz 
-lz
ld: Undefined symbols:
boost::c_regex_traits<char>::transform_primary(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)
boost::c_regex_traits<char>::init()
boost::c_regex_traits<char>::transform(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&)
boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> 
>::set_expression(char const*, char const*, unsigned)
boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char> 
>::~reg_expression [in-charge]()
boost::RegEx::Merge(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, bool, unsigned)
boost::RegEx::RegEx[in-charge](char const*, bool)
boost::RegEx::~RegEx [in-charge]()
boost::regbase::regbase[not-in-charge]()
boost::re_detail::c_traits_base::lower_case_map
boost::re_detail::c_traits_base::class_map
make[4]: *** [tex2lyx] Error 1

Libtool errors give me an instant headache!  Thanks for the suggestion
on the last error and for any tips you might have on this one.
-- 

Ronald Florence                         www.18james.com

Reply via email to