> to the .C file should resolve the problem. Once you get things to > compile please post us a diff (cvs diff > compile.diff) and we'll > roll the changes into the tree.
Here are some changes I had to do. I guess that some compilers can figure it out by it self that it needs to include <ostream> and such things. My old compiler could not, which is a good thing! I have attached the cvs diff > mypatch.diff to this posting. But there are still errors! g++-3.0 -g -O -W -Wall -o tex2lyx FloatList.o Floating.o counters.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/.libs/libsupport.a ../../boost/libs/regex/src/.libs/libboostregex.a -lz ../support/.libs/libsupport.a(filetools.o): In function `lyx::support::NormalizePath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /home/gunnar/LyXDEVEL/lyx-devel/src/support/filetools.C:695: undefined reference to `boost::RegEx::RegEx[in-charge](char const*, bool)' ../support/.libs/libsupport.a(filetools.o): In function `lyx::support::NormalizePath(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': Regards, Gunnar Lindholm.
? mypatch.diff ? q Index: po/POTFILES.in =================================================================== RCS file: /cvs/lyx/lyx-devel/po/POTFILES.in,v retrieving revision 1.362 diff -r1.362 POTFILES.in 172a173 > src/insets/render_preview.C 192d192 < src/support/path_defines.C Index: src/frontends/controllers/ControlPreamble.h =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/controllers/ControlPreamble.h,v retrieving revision 1.12 diff -r1.12 ControlPreamble.h 15c15 < --- > #include <string> Index: src/frontends/controllers/ControlSendto.h =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/controllers/ControlSendto.h,v retrieving revision 1.10 diff -r1.10 ControlSendto.h 15c15 < --- > #include <string> Index: src/frontends/xforms/XMiniBuffer.h =================================================================== RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/XMiniBuffer.h,v retrieving revision 1.16 diff -r1.16 XMiniBuffer.h 17a18 > #include <string> Index: src/graphics/GraphicsTypes.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/graphics/GraphicsTypes.C,v retrieving revision 1.12 diff -r1.12 GraphicsTypes.C 11a12 > #include <string> Index: src/insets/insetbibitem.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/insetbibitem.C,v retrieving revision 1.34 diff -r1.34 insetbibitem.C 12c12 < --- > #include <ostream> Index: src/insets/insetcite.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/insetcite.C,v retrieving revision 1.67 diff -r1.67 insetcite.C 13c13 < --- > #include <ostream> Index: src/insets/insetfootlike.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/insetfootlike.C,v retrieving revision 1.30 diff -r1.30 insetfootlike.C 11a12 > #include <ostream> Index: src/insets/insetref.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/insetref.C,v retrieving revision 1.75 diff -r1.75 insetref.C 10a11 > #include <ostream> Index: src/mathed/math_mathmlstream.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/mathed/math_mathmlstream.C,v retrieving revision 1.39 diff -r1.39 math_mathmlstream.C 12c12 < --- > #include <ostream>