Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Makefile "WARNING" but no build...

Makefile "WARNING" but no build...

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 543 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    Despite all precautions - I have ( temporary ) lost access to my main program.

    I am trying to build from backup and getting this "warning", but no build.

    /home/nov25-1/PROJECTS_BACKUP_Dec1/PROJECTS/MDI_BT/A_MDI/A_MDI_BT_MDI_BASE_Nov_30/MDI_BT/MDI_BT/Makefile:209: warning: sub-------SOURCE-mdi-qmake_all] Error 3

    Here is the actual text of the problem
    I would appreciate some assistance in resolving this.

    sub-------SOURCE-mdi-qmake_all: FORCE
    @test -d ../../SOURCE/mdi/ || mkdir -p ../../SOURCE/mdi/
    cd ../../SOURCE/mdi/ && $(QMAKE) -o Makefile /home/nov25-1/PROJECTS_BACKUP_Dec1/PROJECTS/MDI_BT/A_MDI/A_MDI_BT_MDI_BASE_Nov_30/SOURCE/mdi/mdi.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
    cd ../../SOURCE/mdi/ && $(MAKE) -f Makefile qmake_all
    sub-------SOURCE-mdi: FORCE

    PS
    Is there away to option":makefile" output to "line wrap" ?
    I really cannot see the entire lines, unless I copy them.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      That is not a "WARNING". The text is fairly plain, it is an error.

      From the manual:

      These errors are not really make errors at all. They mean that a program that make invoked as part of a recipe returned a non-0 error code (‘Error NN’), which make interprets as failure, or it exited in some other abnormal fashion (with a signal of some type). See Errors in Recipes.

      Since the Makefile recipes are generated from your PRO file the source of the error is in most likely broken input in your PRO file.

      Is there away to option":makefile" output to "line wrap" ?

      I have no idea what ":makefile" is. However, whether long lines are wrapped or not is a function of the terminal or editor you are using.

      You could make reading this output much easier by using shorter, eye-friendly paths.

      A 1 Reply Last reply
      1
      • C ChrisW67

        That is not a "WARNING". The text is fairly plain, it is an error.

        From the manual:

        These errors are not really make errors at all. They mean that a program that make invoked as part of a recipe returned a non-0 error code (‘Error NN’), which make interprets as failure, or it exited in some other abnormal fashion (with a signal of some type). See Errors in Recipes.

        Since the Makefile recipes are generated from your PRO file the source of the error is in most likely broken input in your PRO file.

        Is there away to option":makefile" output to "line wrap" ?

        I have no idea what ":makefile" is. However, whether long lines are wrapped or not is a function of the terminal or editor you are using.

        You could make reading this output much easier by using shorter, eye-friendly paths.

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @ChrisW67 BT/MDI_BT/Makefile:209: warning: sub-------SOURCE-mdi

        A 1 Reply Last reply
        0
        • A Anonymous_Banned275

          @ChrisW67 BT/MDI_BT/Makefile:209: warning: sub-------SOURCE-mdi

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #4

          @AnneRanch addendum
          Here is some more info about the "warning / error "

          7e8d0b19-d288-4c74-8be8-c265b9f128b7-image.png

          Can somebody PLEASE help me to decipher this .
          I do not see any "extra characters" and I certainly did not add such entries into the file.
          So far this is only "warning / error " I am getting .

          PS
          The objective of my post is to seek help analyzing the build outputs ,
          comments on typos or use of wrong description or terms are superfluous and
          DO NOT HELP MUCH.

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            As you can see the error is in mdi.pro, line 31.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            2

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved