Find the answer to your Linux question:
Results 1 to 1 of 1
I have written a small C++ program which includes <linux/smp.h>...when I am compiling in SLES 10 IA64,it is throwing errors : #include<linux/smp.h> int main() { unsigned int a; a=get_cpu(); return ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    6

    problem compiling with smp.h

    I have written a small C++ program which includes <linux/smp.h>...when I am compiling in SLES 10 IA64,it is throwing errors :
    #include<linux/smp.h>
    int main()
    {
    unsigned int a;
    a=get_cpu();
    return 0;
    }
    If some patch is available,please let me know
    See log attached
    Attached Files Attached Files

Posting Permissions

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