Dear LyX friends, Richard Heck suggested to post this to the list.
This is my sandbox PC Mageia5 x86_64 KDE (performing since months without any problem) No older Lyx version installed TexLive2016 GUI installed and functioning I started to install Lyx 2.2.0 ./configure went through and I was encouraged: 'Type make to compile the program.' But 'make' stopped and presented me the errors as per subject. I could repeat this and always got same errors. See also the log attached. Could somebody please help? Thanks and cheers, Michael
[mb39@localhost ~]$ cd /home/mb39/Downloads/lyx-2.2.0 [mb39@localhost lyx-2.2.0]$ ./configure configuring LyX version 2.2.0 checking for build type... release checking for version suffix... checking whether Qt5 is requested... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking what packaging should be used... posix checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for a Python interpreter with version >= 2.7.0 or 3.3.0... python checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking for ranlib... ranlib checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether the compiler is clang... no checking whether STL is libstdc++... yes checking whether STL is libstdc++ using the C++11 ABI... no checking whether the compiler implements C++11... yes checking regex usability... yes checking regex presence... yes checking for regex... yes checking for correct regex implementation... yes checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking dependency style of gcc... (cached) gcc3 checking for extra library directory... NONE checking for extra include directory... NONE checking for extra lib+include directory... NONE checking for main in -lshlwapi... no checking for main in -lpsapi... no checking for main in -lgdi32... no checking whether to use included boost library... yes checking whether to use included MyThes library... yes checking whether byte ordering is bigendian... no checking whether printing callstack is possible... yes checking size of wchar_t... 4 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzopen in -lz... yes checking magic.h usability... no checking magic.h presence... no checking for magic.h... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for QT_CORE... yes checking for QT_FRONTEND... yes checking for moc... /usr/lib64/qt4/bin/moc checking for uic... /usr/lib64/qt4/bin/uic checking for rcc... /usr/lib64/qt4/bin/rcc checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking whether sys/types.h defines makedev... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for wchar_t... yes checking whether PATH_MAX is defined by header limits.h... yes checking for chmod... yes checking for close... yes checking for _close... no checking for fork... yes checking for getpid... yes checking for _getpid... no checking for lockf... yes checking for lstat... yes checking for mkfifo... yes checking for open... yes checking for _open... no checking for pclose... yes checking for _pclose... no checking for popen... yes checking for _popen... no checking for readlink... yes checking for putenv... yes checking for setenv... yes checking for strerror... yes checking for unsetenv... yes checking for mkdir... yes checking for _mkdir... no checking whether mkdir takes one argument... no checking for sys/select.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking aspell.h usability... no checking aspell.h presence... no checking for aspell.h... no checking for new_aspell_config in -laspell... no checking whether to use aspell... no checking for ENCHANT... checking whether to use enchant... no checking for HUNSPELL... checking hunspell/hunspell.hxx usability... no checking hunspell/hunspell.hxx presence... no checking for hunspell/hunspell.hxx... no checking for main in -lhunspell... no checking whether to use hunspell... no checking for fcntl... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lyx.1 config.status: creating 3rdparty/Makefile config.status: creating 3rdparty/boost/Makefile config.status: creating 3rdparty/hunspell/Makefile config.status: creating 3rdparty/libiconv/Makefile config.status: creating 3rdparty/zlib/Makefile config.status: creating autotests/Makefile config.status: creating config/Makefile config.status: creating development/Makefile config.status: creating development/MacOSX/Makefile config.status: creating development/MacOSX/Info.plist config.status: creating development/MacOSX/lyxrc.dist config.status: creating development/MacOSX/spotlight/Makefile config.status: creating development/cygwin/Makefile config.status: creating development/cygwin/lyxrc.dist config.status: creating development/lyx.spec config.status: creating lib/lyx.desktop-temp config.status: creating lib/Makefile config.status: creating lib/doc/Makefile config.status: creating lib/lyx2lyx/lyx2lyx_version.py config.status: creating lib/lyx2lyx/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating sourcedoc/Doxyfile config.status: creating sourcedoc/Makefile config.status: creating src/client/Makefile config.status: creating src/client/lyxclient.1 config.status: creating src/Makefile config.status: creating src/tex2lyx/Makefile config.status: creating src/tex2lyx/tex2lyx.1 config.status: creating src/support/Makefile config.status: creating src/frontends/Makefile config.status: creating src/frontends/qt4/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Configuration Host type: x86_64-unknown-linux-gnu Special build flags: build=release c++11 std-regex C++ Compiler: g++ (4.9.2) C++ Compiler flags: -std=c++11 -O2 -Wno-deprecated-declarations C++ Compiler user flags: Linker flags: Linker user flags: Qt Frontend: Qt version: 4.8.6 Packaging: posix LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx === The following minor problems have been detected by configure. === Please check the messages below before running 'make'. === (see the section 'Problems' in the INSTALL file) == cannot find magic.h. Please check that the libmagic library is correctly installed on your system. Falling back to builtin file format detection. Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. [mb39@localhost lyx-2.2.0]$ make make all-recursive make[1]: Entering directory '/home/mb39/Downloads/lyx-2.2.0' Making all in autotests make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/autotests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/autotests' Making all in config make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/config' Making all in development make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/development' make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/development' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/development' make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/development' Making all in po make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/po' Making all in 3rdparty make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' Making all in boost make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty/boost' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty/boost' make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' Making all in src make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp make all-recursive make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' Making all in support make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make all-am make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/support' Making all in frontends make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' Making all in qt4 make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' GEN Resources.qrc GEN Resources.cpp make all-am make[6]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' CXX Resources.o AR liblyxqt4.a make[6]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' Making all in . make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' Making all in . make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp CXXLD lyx frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `lyx::frontend::FancyLineEdit::iconClicked()': FancyLineEdit.cpp:(.text+0x29f): undefined reference to `lyx::frontend::IconButton::staticMetaObject' frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `lyx::frontend::IconButton::IconButton(QWidget*)': FancyLineEdit.cpp:(.text+0xb97): undefined reference to `vtable for lyx::frontend::IconButton' FancyLineEdit.cpp:(.text+0xb9f): undefined reference to `vtable for lyx::frontend::IconButton' collect2: error: ld returned 1 exit status Makefile:2097: recipe for target 'lyx' failed make[4]: *** [lyx] Error 1 make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:2825: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:1658: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:543: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0' Makefile:437: recipe for target 'all' failed make: *** [all] Error 2 [mb39@localhost lyx-2.2.0]$ make make all-recursive make[1]: Entering directory '/home/mb39/Downloads/lyx-2.2.0' Making all in autotests make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/autotests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/autotests' Making all in config make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/config' Making all in development make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/development' make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/development' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/development' make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/development' Making all in po make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/po' Making all in 3rdparty make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' Making all in boost make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty/boost' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty/boost' make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' Making all in src make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp make all-recursive make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' Making all in support make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make all-am make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/support' Making all in frontends make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' Making all in qt4 make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' make all-am make[6]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' make[6]: Nothing to be done for 'all-am'. make[6]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' Making all in . make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' Making all in . make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp CXXLD lyx frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `lyx::frontend::FancyLineEdit::iconClicked()': FancyLineEdit.cpp:(.text+0x29f): undefined reference to `lyx::frontend::IconButton::staticMetaObject' frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `lyx::frontend::IconButton::IconButton(QWidget*)': FancyLineEdit.cpp:(.text+0xb97): undefined reference to `vtable for lyx::frontend::IconButton' FancyLineEdit.cpp:(.text+0xb9f): undefined reference to `vtable for lyx::frontend::IconButton' collect2: error: ld returned 1 exit status Makefile:2097: recipe for target 'lyx' failed make[4]: *** [lyx] Error 1 make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:2825: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:1658: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:543: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0' Makefile:437: recipe for target 'all' failed make: *** [all] Error 2 [mb39@localhost lyx-2.2.0]$ make make all-recursive make[1]: Entering directory '/home/mb39/Downloads/lyx-2.2.0' Making all in autotests make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/autotests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/autotests' Making all in config make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/config' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/config' Making all in development make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/development' make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/development' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/development' make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/development' Making all in po make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/po' Making all in 3rdparty make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' Making all in boost make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty/boost' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty/boost' make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/3rdparty' Making all in src make[2]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp make all-recursive make[3]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' Making all in support make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make all-am make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/support' make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/support' Making all in frontends make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' Making all in qt4 make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' make all-am make[6]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' make[6]: Nothing to be done for 'all-am'. make[6]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends/qt4' Making all in . make[5]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src/frontends' Making all in . make[4]: Entering directory '/home/mb39/Downloads/lyx-2.2.0/src' rm -f hash-temp \ @echo " GEN lyx_commit_hash.h";hash=`cd ".." && git log -1 --pretty=format:%H 2>/dev/null || echo none` ; \ sed s/@LYX_GIT_COMMIT_HASH@/$hash/ "."/lyx_commit_hash.h.in >hash-temp ; \ cmp -s lyx_commit_hash.h hash-temp || cp hash-temp lyx_commit_hash.h ; \ rm -f hash-temp CXXLD lyx frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `lyx::frontend::FancyLineEdit::iconClicked()': FancyLineEdit.cpp:(.text+0x29f): undefined reference to `lyx::frontend::IconButton::staticMetaObject' frontends/qt4/liblyxqt4.a(FancyLineEdit.o): In function `lyx::frontend::IconButton::IconButton(QWidget*)': FancyLineEdit.cpp:(.text+0xb97): undefined reference to `vtable for lyx::frontend::IconButton' FancyLineEdit.cpp:(.text+0xb9f): undefined reference to `vtable for lyx::frontend::IconButton' collect2: error: ld returned 1 exit status Makefile:2097: recipe for target 'lyx' failed make[4]: *** [lyx] Error 1 make[4]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:2825: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:1658: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0/src' Makefile:543: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/mb39/Downloads/lyx-2.2.0' Makefile:437: recipe for target 'all' failed make: *** [all] Error 2 [mb39@localhost lyx-2.2.0]$