Menu

Total Newbie

mwevre
2009-02-03
2012-09-26
  • mwevre

    mwevre - 2009-02-03

    I download Dev-C++ 4.9.9.2 and created a project for the standard "Hello World" program. When I compiled it, I get the following error:

    [Linker error] undefined reference to `__cpu_features_init'
    ld returned 1 exit status

    Can anybody help me?

     
    • cpns

      cpns - 2009-02-03

      If you search the forum. You will find that that error is most often caused by having another GNU toolchain installed (Cygwin perhaps).

      Also read the "PLEASE READ BEFORE POSTING A QUESTION" for fixes to common problems, and how best to post a question - you omitted vital information.

      Clifford

       
    • mwevre

      mwevre - 2009-02-03

      Code is as follows:

      include <stdio.h>

      include <stdlib.h>

      int main()
      {
      printf("Hello World\n");
      return 0;
      }

       

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.