I get the following compilation error in tex2lyx with automake:

  CXXLD    tex2lyx
../Encoding.o: In function `lyx::Encodings::validate(wchar_t, 
lyx::LaTeXFeatures&, bool)':
Encoding.cpp:(.text+0xbd2): undefined reference to 
`lyx::LaTeXFeatures::isRequired(std::string const&) const'
Encoding.cpp:(.text+0xd5a): undefined reference to 
`lyx::LaTeXFeatures::require(std::string const&)'
Encoding.cpp:(.text+0xe52): undefined reference to 
`lyx::LaTeXFeatures::require(std::string const&)'
Encoding.cpp:(.text+0xea7): undefined reference to 
`lyx::LaTeXFeatures::addPreambleSnippet(std::string const&)'
Encoding.cpp:(.text+0xf19): undefined reference to 
`lyx::LaTeXFeatures::require(std::string const&)'
Encoding.cpp:(.text+0xf4c): undefined reference to 
`lyx::LaTeXFeatures::require(std::string const&)'
Encoding.cpp:(.text+0xfa8): undefined reference to 
`lyx::LaTeXFeatures::isAvailable(std::string const&)'
Encoding.cpp:(.text+0x104f): undefined reference to 
`lyx::LaTeXFeatures::addPreambleSnippet(std::string const&)'
../Encoding.o: In function `lyx::Encodings::initUnicodeMath(lyx::Buffer 
const&, bool)':
Encoding.cpp:(.text+0x131a): undefined reference to `lyx::Buffer::inset() 
const'
Encoding.cpp:(.text+0x1328): undefined reference to 
`lyx::inset_iterator_begin(lyx::Inset&)'
Encoding.cpp:(.text+0x133b): undefined reference to 
`lyx::inset_iterator_end(lyx::Inset&)'
Encoding.cpp:(.text+0x134c): undefined reference to 
`lyx::DocIterator::nextInset() const'
Encoding.cpp:(.text+0x135f): undefined reference to 
`lyx::DocIterator::forwardInset()'
Encoding.cpp:(.text+0x1390): undefined reference to 
`lyx::operator==(lyx::CursorSlice const&, lyx::CursorSlice const&)'
Encoding.cpp:(.text+0x13eb): undefined reference to 
`lyx::Buffer::getDescendents() const'
collect2: error: ld returned 1 exit status
make[5]: *** [tex2lyx] Fehler 1
make[5]: Leaving directory `/home/juergen/lyx/lyx-stable/src/tex2lyx'
make[4]: *** [all] Fehler 2
make[4]: Leaving directory `/home/juergen/lyx/lyx-stable/src/tex2lyx'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/juergen/lyx/lyx-stable/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/juergen/lyx/lyx-stable/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/juergen/lyx/lyx-stable'
make: *** [all] Fehler 2

Seems like TEX2LYX is not defined?

Jürgen

Reply via email to