Results 1 to 4 of 4

Thread: Intel C compiler and openSuSE 11.0

  1. #1
    davidleebraun NNTP User

    Default Intel C compiler and openSuSE 11.0

    I am having problems compiling with the Intel compilers on openSuSE 11.0.

    #include<stdio.h>
    #include<limits.h>

    int main()
    {
    printf("hello, world\n");
    return 0;
    }

    does not compile with until I remove the "#include<limits.h>" because of this error:

    cezanne /home/dlbraun> icc test.c
    /usr/include/limits.h(125): catastrophic error: could not open source file "limits.h"
    # include_next <limits.h>


    I'm using the Intel 10.1 compilers. It is working on other distributions. Anybody have any ideas?

    Thanks,

    David

  2. #2

    Default Re: Intel C compiler and openSuSE 11.0

    Why dont you stick with GCC?

    As for your problem, maybe you dont have paths setup well? Keep in mind i doubt you can use all gcc headers with that compiler.

  3. #3

    Default Re: Intel C compiler and openSuSE 11.0

    Quote Originally Posted by davidleebraun View Post
    I am having problems compiling with the Intel compilers on openSuSE 11.0.

    #include<stdio.h>
    #include<limits.h>

    int main()
    {
    printf("hello, world\n");
    return 0;
    }

    does not compile with until I remove the "#include<limits.h>" because of this error:

    cezanne /home/dlbraun> icc test.c
    /usr/include/limits.h(125): catastrophic error: could not open source file "limits.h"
    # include_next <limits.h>


    I'm using the Intel 10.1 compilers. It is working on other distributions. Anybody have any ideas?

    Thanks,

    David
    I had the same problem. Adding -I/usr/include to your compiler directives solves the issue.

  4. #4
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,186

    Default Re: Intel C compiler and openSuSE 11.0

    Quote Originally Posted by akaboudian View Post
    I had the same problem. Adding -I/usr/include to your compiler directives solves the issue.
    You necroed a 6 year old thread that has zero relevance today.

    What the hell is going on lately, are these bots that just post once and then never post anything? There's been so many of them lately.
    .: miuku @ #opensuse @ irc.libera.chat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •