Le 12/06/2020 à 23:28, Pavel Sanda a écrit :
On Fri, Jun 12, 2020 at 01:15:19PM +0200, Pavel Sanda wrote:
For this part, the attached patch seem to help with autotools.

Or you can add ../xml.o to the link list. Does this work? I think this is in general better than to use a hack. It all depends whether xml.o brings some other cruft with it.

JMarc


   CXX      dummy_impl.o
   CXXLD    tex2lyx
dummy_impl.o: In function `lyx::xml::StartTag::StartTag(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)':
/home/lyx/devel/src/tex2lyx/../../src/xml.h:164: undefined reference to `vtable 
for lyx::xml::StartTag'
dummy_impl.o: In function `lyx::xml::StartTag::~StartTag()':
/home/lyx/devel/src/tex2lyx/../../src/xml.h:180: undefined reference to `vtable 
for lyx::xml::StartTag'
dummy_impl.o: In function `lyx::xml::StartTag::~StartTag()':
/home/lyx/devel/src/tex2lyx/../../src/xml.h:180: undefined reference to `vtable 
for lyx::xml::StartTag'
../Layout.o: In function `lyx::xml::StartTag::StartTag(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)':
/home/lyx/devel/src/xml.h:164: undefined reference to `vtable for 
lyx::xml::StartTag'
collect2: error: ld returned 1 exit status
Makefile:630: recipe for target 'tex2lyx' failed
make[4]: *** [tex2lyx] Error 1


Pavel


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to