Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49718

Build error:Makefile.Debug:157: recipe for target 'debug/Tokenizer.cpp' failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.6.0 Alpha
    • 5.4.1
    • Build tools: Other
    • None
    • 1a3f340d0efb3fad3fda8fffed3d268a12d9a60d

    Description

      After unzip qt 2nd time for another build attempt ,qtbase configure.exe did not work. so I git cloned qtbase deleting older one. now configures rightly but a mess in the middle of build process. please some one help
      --------------------------------------------------------------------------------------------
      ERROR LOG:
      ------------------
      debug
      c++11
      shared
      system-zlib
      angle
      system-jpeg
      png
      system-png
      freetype
      harfbuzz
      build_all
      accessibility
      opengl
      opengles2
      egl
      ssl
      openssl
      dbus
      audio-backend
      native-gestures
      qpa
      iconv
      concurrent

      QMAKESPEC...................win32-g++ (commandline)
      Architecture................x86_64, features: cx16 mmx sse sse2 sse3
      Host Architecture...........x86_64, features: cx16 mmx sse sse2 sse3
      Maketool....................mingw32-make
      Debug build.................yes (combined)
      Default build...............debug
      Force debug info............no
      Force optimized tools.......
      C++ language standard.......c++11
      Link Time Code Generation...no
      Accessibility support.......yes
      RTTI support................yes
      SSE2 support................yes
      SSE3 support................yes
      SSSE3 support...............yes
      SSE4.1 support..............yes
      SSE4.2 support..............yes
      AVX support.................yes
      AVX2 support................yes
      NEON support................no
      OpenGL support..............yes
      Large File support..........yes
      NIS support.................no
      Iconv support...............yes
      Evdev support...............no
      Mtdev support...............no
      Inotify support.............no
      eventfd(7) support..........no
      Glib support................no
      CUPS support................no
      OpenVG support..............no
      SSL support.................yes
      OpenSSL support.............yes
      libproxy support............no
      Qt D-Bus support............runtime
      Qt Widgets module support...yes
      Qt GUI module support.......yes
      QML debugging...............yes
      DirectWrite support.........no
      Use system proxies..........no

      QPA Backends:
      GDI.....................yes
      Direct2D................no

      Third Party Libraries:
      ZLIB support............system
      GIF support.............plugin
      JPEG support............plugin
      PNG support.............yes
      FreeType support........yes
      Fontconfig support......no
      HarfBuzz support........qt
      PCRE support............qt
      ICU support.............no
      ANGLE...................yes
      Dynamic OpenGL..........no

      Styles:
      Windows.................yes
      Windows XP..............yes
      Windows Vista...........yes
      Fusion..................yes
      Windows CE..............no
      Windows Mobile..........no

      Sql Drivers:
      ODBC....................plugin
      MySQL...................no
      OCI.....................no
      PostgreSQL..............no
      TDS.....................no
      DB2.....................no
      SQLite..................plugin (qt)
      SQLite2.................no
      InterBase...............no

      Sources are in..............C:\pde\qt\qtbase
      Build is done in............C:\pde\qt\qtbase
      Install prefix..............C:\pde\qt\qtbase
      Headers installed to........C:\pde\qt\qtbase\include
      Libraries installed to......C:\pde\qt\qtbase\lib
      Arch-dep. data to...........C:\pde\qt\qtbase
      Plugins installed to........C:\pde\qt\qtbase\plugins
      Library execs installed to..C:\pde\qt\qtbase\bin
      QML1 imports installed to...C:\pde\qt\qtbase\imports
      QML2 imports installed to...C:\pde\qt\qtbase\qml
      Binaries installed to.......C:\pde\qt\qtbase\bin
      Arch-indep. data to.........C:\pde\qt\qtbase
      Docs installed to...........C:\pde\qt\qtbase\doc
      Translations installed to...C:\pde\qt\qtbase\translations
      Examples installed to.......C:\pde\qt\qtbase\examples
      Tests installed to..........C:\pde\qt\qtbase\tests
      Using internal configuration.

      Qt is now configured for building. Just run mingw32-make.
      To reconfigure, run mingw32-make confclean and configure.

      C:\pde\qt>mingw32-make
      cd qtbase\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtbas
      e\qtbase.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[1]: Entering directory 'C:/pde/qt/qtbase'
      cd src\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtbase\s
      rc\src.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[2]: Entering directory 'C:/pde/qt/qtbase/src'
      cd tools\bootstrap\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde
      \qt\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && mingw32-make -f Ma
      kefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/tools/bootstrap'
      mingw32-make -f Makefile.Debug
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/tools/bootstrap'
      mingw32-make[4]: Nothing to be done for 'first'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/tools/bootstrap'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/tools/bootstrap'
      cd tools\moc\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qt
      base\src\tools\moc\moc.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/tools/moc'
      mingw32-make -f Makefile.Debug
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/tools/moc'
      mingw32-make[4]: Nothing to be done for 'first'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/tools/moc'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/tools/moc'
      cd tools\rcc\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qt
      base\src\tools\rcc\rcc.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/tools/rcc'
      mingw32-make -f Makefile.Debug
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/tools/rcc'
      mingw32-make[4]: Nothing to be done for 'first'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/tools/rcc'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/tools/rcc'
      cd 3rdparty\pcre\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\q
      t\qtbase\src\3rdparty\pcre\pcre.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/3rdparty/pcre'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/3rdparty/pcre'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/3rdparty/pcre'
      mingw32-make -f Makefile.Release all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/3rdparty/pcre'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/3rdparty/pcre'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/3rdparty/pcre'
      cd corelib\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtba
      se\src\corelib\corelib.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/corelib'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/corelib'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/corelib'
      mingw32-make -f Makefile.Release all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/corelib'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/corelib'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/corelib'
      cd tools\qlalr\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\
      qtbase\src\tools\qlalr\qlalr.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/tools/qlalr'
      mingw32-make -f Makefile.Release
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/tools/qlalr'
      mingw32-make[4]: Nothing to be done for 'first'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/tools/qlalr'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/tools/qlalr'
      cd winmain\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtba
      se\src\winmain\winmain.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/winmain'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/winmain'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/winmain'
      mingw32-make -f Makefile.Release all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/winmain'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/winmain'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/winmain'
      cd network\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtba
      se\src\network\network.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/network'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/network'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/network'
      mingw32-make -f Makefile.Release all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/network'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/network'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/network'
      cd sql\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtbase\s
      rc\sql\sql.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/sql'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/sql'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/sql'
      mingw32-make -f Makefile.Release all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/sql'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/sql'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/sql'
      cd xml\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtbase\s
      rc\xml\xml.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/xml'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/xml'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/xml'
      mingw32-make -f Makefile.Release all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/xml'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/xml'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/xml'
      cd 3rdparty\harfbuzz-ng\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C
      :\pde\qt\qtbase\src\3rdparty\harfbuzz-ng\harfbuzz-ng.pro -o Makefile ) && mingw3
      2-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/3rdparty/harfbuzz-ng'
      mingw32-make -f Makefile.Debug all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/3rdparty/harfbuzz-ng'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/3rdparty/harfbuzz-ng'
      mingw32-make -f Makefile.Release all
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/3rdparty/harfbuzz-ng'
      mingw32-make[4]: Nothing to be done for 'all'.
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/3rdparty/harfbuzz-ng'
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/3rdparty/harfbuzz-ng'
      cd angle\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtbase
      \src\angle\angle.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[3]: Entering directory 'C:/pde/qt/qtbase/src/angle'
      cd src\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtbase\s
      rc\angle\src\src.pro -o Makefile ) && mingw32-make -f Makefile
      mingw32-make[4]: Entering directory 'C:/pde/qt/qtbase/src/angle/src'
      cd compiler\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt\qtb
      ase\src\angle\src\compiler\compiler.pro -o Makefile ) && mingw32-make -f Makefil
      e
      mingw32-make[5]: Entering directory 'C:/pde/qt/qtbase/src/angle/src/compiler'
      cd preprocessor\ && ( if not exist Makefile C:\pde\qt\qtbase\bin\qmake C:\pde\qt
      \qtbase\src\angle\src\compiler\preprocessor\preprocessor.pro -o Makefile ) && mi
      ngw32-make -f Makefile
      mingw32-make[6]: Entering directory 'C:/pde/qt/qtbase/src/angle/src/compiler/pre
      processor'
      mingw32-make -f Makefile.Debug all
      mingw32-make[7]: Entering directory 'C:/pde/qt/qtbase/src/angle/src/compiler/pre
      processor'
      (set PATH=C:/pde/qt/gnuwin32/bin;%PATH=^)%) & flex --noline --nounistd --outfi
      le=debug\Tokenizer.cpp ..\..\..\..\3rdparty\angle\src\compiler\preprocessor\Toke
      nizer.l
      flex: unknown flag '-'. For usage, try
      flex --help
      Makefile.Debug:157: recipe for target 'debug/Tokenizer.cpp' failed
      mingw32-make[7]: *** [debug/Tokenizer.cpp] Error 1
      mingw32-make[7]: Leaving directory 'C:/pde/qt/qtbase/src/angle/src/compiler/prep
      rocessor'
      Makefile:38: recipe for target 'debug-all' failed
      mingw32-make[6]: *** [debug-all] Error 2
      mingw32-make[6]: Leaving directory 'C:/pde/qt/qtbase/src/angle/src/compiler/prep
      rocessor'
      Makefile:39: recipe for target 'sub-preprocessor-make_first-ordered' failed
      mingw32-make[5]: *** [sub-preprocessor-make_first-ordered] Error 2
      mingw32-make[5]: Leaving directory 'C:/pde/qt/qtbase/src/angle/src/compiler'
      Makefile:40: recipe for target 'sub-compiler-make_first-ordered' failed
      mingw32-make[4]: *** [sub-compiler-make_first-ordered] Error 2
      mingw32-make[4]: Leaving directory 'C:/pde/qt/qtbase/src/angle/src'
      Makefile:38: recipe for target 'sub-src-make_first' failed
      mingw32-make[3]: *** [sub-src-make_first] Error 2
      mingw32-make[3]: Leaving directory 'C:/pde/qt/qtbase/src/angle'
      Makefile:468: recipe for target 'sub-angle-make_first' failed
      mingw32-make[2]: *** [sub-angle-make_first] Error 2
      mingw32-make[2]: Leaving directory 'C:/pde/qt/qtbase/src'
      Makefile:41: recipe for target 'sub-src-make_first' failed
      mingw32-make[1]: *** [sub-src-make_first] Error 2
      mingw32-make[1]: Leaving directory 'C:/pde/qt/qtbase'
      Makefile:57: recipe for target 'module-qtbase-make_first' failed
      mingw32-make: *** [module-qtbase-make_first] Error 2

      C:\pde\qt>

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            bhuvanesh bhuvaneshwaran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes