[Pkg-lyx-devel] building 2.1.2 failed on Debian/unstable

Sven Hoexter sven at timegate.de
Wed Sep 24 17:38:36 UTC 2014


Hi,
I just tried to jump in before the next Debian freeze and tried to
do an ad-hoc bump of the LyX package to 2.1.2. Sadly my naive attempt
to build it failed with:

g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -I../../src  -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o LaTeXFonts.o ../../src/LaTeXFonts.cpp
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -I../../src  -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o PrinterParams.o ../../src/PrinterParams.cpp
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -I../../src  -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o Thesaurus.o ../../src/Thesaurus.cpp
g++  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,defs -Wl,--as-needed -Wl,-z,relro -o lyx main.o   BiblioInfo.o Box.o Compare.o Dimension.o EnchantChecker.o  PersonalWordList.o LaTeXFonts.o PrinterParams.o Thesaurus.o  liblyxcore.a liblyxmathed.a liblyxinsets.a frontends/liblyxfrontends.a frontends/qt4/liblyxqt4.a liblyxgraphics.a support/liblyxsupport.a -lboost_regex -lboost_signals -lmythes-1.2 -lenchant   -lz -lmagic     -lQtGui -lQtCore  
frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `qobject_cast<lyx::frontend::IconButton*>':
/usr/include/qt4/QtCore/qobject.h:380: undefined reference to `lyx::frontend::IconButton::staticMetaObject'
frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `lyx::frontend::IconButton::IconButton(QWidget*)':
/tmp/buildd/lyx-2.1.2/obj-x86_64-linux-gnu/src/frontends/qt4/../../../../src/frontends/qt4/FancyLineEdit.cpp:267: undefined reference to `vtable for lyx::frontend::IconButton'
/tmp/buildd/lyx-2.1.2/obj-x86_64-linux-gnu/src/frontends/qt4/../../../../src/frontends/qt4/FancyLineEdit.cpp:267: undefined reference to `vtable for lyx::frontend::IconButton'
collect2: error: ld returned 1 exit status
Makefile:1461: recipe for target 'lyx' failed
make[5]: *** [lyx] Error 1


Any ideas/hints what could be the cause of it?

Cheers,
Sven



More information about the Pkg-lyx-devel mailing list