Menu

[Build Error] [main.o] made by "makefile.win"

2007-07-04
2012-09-26
  • Nobody/Anonymous

    when I try to compile a .dev file appears this error

    [Build Error] [main.o]

    I haven't chenged any configuration or option and this error appear also with dev-cpp examples like "hello"or "jackpot"

    It's strange because this error appears only with ".dev" files, not with ".cpp" files....
    I don't understand where is the problem....

    My version is the 4.9.9.2

    Sorry x my English but i'm italian....

     
    • Nobody/Anonymous

      i have tried all your sequentials steps... i have moved my project out of devcpp folder proper. i have also reinstalled the devcpp. i have checked my disk already for any corrupt or damage sector (it's all clear)... anyway im using win xp pro sp2....

      yet same result in the compile log


      Compiler: Default compiler
      Building Makefile: "C:\Examples\MDIApp\Makefile.win"
      Executing make...
      make.exe -f "C:\Examples\MDIApp\Makefile.win" all
      g++.exe -c mdi_unit.c -o mdi_unit.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"

      This application has requested the Runtime to terminate it in an unusual way.
      Please contact the application's support team for more information.

      cc1plus.exe: internal compiler error: Aborted
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <URL:http://www.mingw.org/bugs.shtml> for instructions.

      make.exe: *** [main.o] Error 1

      Execution terminated


       
    • Anonymous

      Anonymous - 2007-07-08

      Then I am out of ideas, I am afraid. The error is with the MinGW/GCC compiler, so it may be worth taking this to www.mingw.org (and checking their bug list). There may also be a newer build you might try.

      I am sorry, I know that sounds unhelpful, but I really have nothing further to offer. Thanks for your patience in applying my suggestions, I am sorry that nothing worked.

      Clifford

       
    • Wayne Keen

      Wayne Keen - 2007-07-04

      That error message viewed in isolation doesn't really tell us much, it really
      just means - "there is a problem"

      Please post your full compile log (as indicated in the directions for the Basic 3,
      if you don't know what the Basic 3 are, please read the thread titled "Please Read
      Before Posting a Question") - it is on the tab labeled "Compile Log", and the right
      mouse button brings up the copy menu. Do not excerpt the error messages, copy
      from the start of the log. If you have a ton of errors, copy through the first
      5 or so errors.

      Wayne

       
    • Nobody/Anonymous

      the problem is that this computer is a Internet point then I can't copy the log from my house.....

       
      • Wayne Keen

        Wayne Keen - 2007-07-04

        Sneakernet it then.

        Believe me, I did not ask you for the information just to make your
        life more difficult, the information you gave really doesn't tell us
        what we need to know.

        Otherwise, we are reduced to making semi-random guesses...

        Wayne

         
    • Anonymous

      Anonymous - 2007-07-04

      Either way, you ar ereading the error messages from teh bottom, not the top. The message you posted simply means that one of the commands issued by make failed. A preceding error message or messages will tell you which one and why.

      Clifford

       
    • Nobody/Anonymous

      how abot this compile log wayne... it seems i can't convert my projwrox project into an executable one....

      Compile log:

      Compiler: Default compiler
      Building Makefile: "C:\Dev-Cpp\Examples\Makefile.win"
      Executing make...
      make.exe -f "C:\Dev-Cpp\Examples\Makefile.win" all
      g++.exe -c projwrox.cpp -o projwrox.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"

      This application has requested the Runtime to terminate it in an unusual way.
      Please contact the application's support team for more information.

      cc1plus.exe: internal compiler error: Aborted
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <URL:http://www.mingw.org/bugs.shtml> for instructions.

      make.exe: *** [projwrox.o] Error 1

      Execution terminated


       
    • Anonymous

      Anonymous - 2007-07-07

      cc1plus.exe (part of the compiler) is causing an OS abort for some reason, this will not be caused by a problem with your code or project, it will most likely be a bug in the compiler build that is peculiar to your execution environment.

      Try in order:

      1) Moving the project out of c:\dev-cpp. There is an apparent bug in Dev-C++ that sometimes causes projects in subfolders of the installation directory to fail. Modifying teh installation folder (including building projects there) is a bad idea in any case.

      2) If you are using Vista, check the "read first" thread for advice in usimng Dev-C++ on Vista.

      3) Running chkdsk to check your drive for corruption.

      4) Reinstalling Dev-C++

      Clifford

       
    • Anonymous

      Anonymous - 2007-07-07

      ... btw you do not compile .dev files, a project is simply a way of managing the build process (particularly when you have more than one .cpp file). You are still compiling .cpp files.

      Since the compiler works when you are not using a project, my bet is on solution (1) above.

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.