Menu

[Build Error] [Untitled1.o] Error 1

2005-05-14
2012-09-26
  • Nobody/Anonymous

    hi. im using win xp with no service pack and its build 2600.

    i can use the compiler in the past, then one day, SUDDENLY, the compiler sorta spoilt. and i cant compile anything more. im just doing a normal hello world program.

    and no. i havent got any spywares viruses or wadever.

    its as though the program just suddenly BROKE DOWN.

    i really like to know what went wrong and how to solve it. i have searched through this forum for this error , and have found numerous posts. but i couldnt find any solutions. so i posted one myslef.

    so the error is C:\Dev-Cpp\asds\Makefile.win [Build Error] [Untitled1.o] Error 1

    and the compile log,

    Compiler: Default compiler
    Building Makefile: "C:\Dev-Cpp\asds\Makefile.win"
    Executing make...
    make.exe -f "C:\Dev-Cpp\asds\Makefile.win" all
    g++.exe -c Untitled1.cpp -o Untitled1.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"

    g++.exe: installation problem, cannot exec `C:\Dev-Cpp\Bin..\lib\gcc\mingw32\3.4.2........\mingw32\bin\as.exe': Bad file descriptor

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

    Execution terminated

    plz help me solve this becuase i want to compile again. haha thanks a million.

     
    • Anonymous

      Anonymous - 2005-05-14

      Your problem is not "[Untitled1.o] Error 1" as your title suggests, that just means that the make aborted because one of the commands it executed failed.

      The failure is "as.exe': Bad file descriptor". This is a file system issue not a Dev-C++ issue. First of all you should execute chkdsk on your system Start->Run, chkdsk c: /f, then answer Y to the prompt to check on next startup, then reboot. Make sure chkdsk actually does run on startup, I have seen occasions when XP ignores the request! If in doubt runn it from Windows Recovery Console (boot from original CD).

      Once yu have done that, it may fix the problem, but if not re-install Dev-C++.

      Beware that the nature of filesystem errors is that they may cause widespread problems, and this fil may not be the only corrupt one.

      Are you using FAT32 or NTFS? NTFS is much more robust, FAT32 volumes can be converted, but fix the errors first, and back-up important files.

      >>and no. i havent got any spywares viruses or wadever.

      That's a bold statement! How can you be so sure? Without SP2 and/or any other protection your system is remarkably vulnerable.

      Clifford

       

Log in to post a comment.

MongoDB Logo MongoDB