Find the answer to your Linux question:
Results 1 to 3 of 3
hi there i've been trying to install vmware. but it fails when checking for c header files: Code: Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    hal
    hal is offline
    Just Joined!
    Join Date
    Mar 2005
    Posts
    69

    c header files


    hi there

    i've been trying to install vmware. but it fails when checking for c header files:

    Code:
    Using compiler "/usr/bin/gcc". Use environment variable CC to override.
                                    
    What is the location of the directory of C header files that match your running 
    kernel? [/usr/src/linux/include] 
    
    The directory of kernel headers (version 2.6.8.1-24mdk) does not match your 
    running kernel (version 2.6.8.1-10mdk).  Even if the module were to compile 
    successfully, it would not load into the running kernel.
    where do i find the correct sources or how do i update kernel?

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    You will see your current kernel version by issue this command
    Code:
    uname -a
    Then you'll have to install the sources for this.

  3. #3
    hal
    hal is offline
    Just Joined!
    Join Date
    Mar 2005
    Posts
    69
    thank you, but when i try to install it says 'everything already installed'.
    should i try to install the kernel-source-stripped-2.6? i dont know actually whats the diference between kernel-source and kernel-source-stripped..

Posting Permissions

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