Menu

compiling problem

Anonymous
2002-11-08
2012-09-26
  • Anonymous

    Anonymous - 2002-11-08

    I am trying to compile a program on my laptop and I receive a: [Linker error] undefined reference to 'mcount'.  There is no 'mcount' in my code.  I can compile this on my desktop (both machines run Windows NT).  Any ideas on how I can get this program to compile on my desktop?

    Thanks,

    Vlada

     
    • Trev L Nunes

      Trev L Nunes - 2002-11-08

      I think this is a cygwin linked with mingw32 problem.  At least I had the same problem do you get an error io_imp_lib not found also ?  It's basically a mixed linking issue for Cygwin assembled object code linked against Mingw32 code.  Clean build of all .o's and linking with a library that has been compiled with the same toolset should resolve the issue.

       
    • Yiannis Mandravellos

      You possibly have "Generate profiling info" enabled in "Compiler Options". Un-check this option and see if it solves your problem.

       

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.