Find the answer to your Linux question:
Results 1 to 3 of 3
Back on this forum after a long hiatus. Now running Debian. Installed gcc-4.1. Vmware 5.5 expects the C header files to be in /usr/src/linux. In fact, they're in /usr/src/linux-headers-2.6.18-4-amd64........which contains ...
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    5

    C Header Files for Vmware Install

    Back on this forum after a long hiatus. Now running Debian. Installed gcc-4.1. Vmware 5.5 expects the C header files to be in /usr/src/linux. In fact, they're in /usr/src/linux-headers-2.6.18-4-amd64........which contains a bunch of shortcuts to header files which are supposedly in the same folder [but hidden? since they are not visible........why does it put shortcuts to objects in the same place as the objects??]

    EG. types.h is located at:

    /usr/src/linux-headers-2.6.18-4-amd64/include/linux

    and is defined as : link to C header

    and the target is: /usr/src/linux-headers-2.6.18-4/include/linux/types.h

    VMware install insists that /usr/src/linux-headers-2.6.18-4/include/linux
    is not cool, it wants a linux folder where it expects it. Shall I just copy the contents and put them in the src directory?

    MUCHO GRATITUDO FELLOW LINUX DUDOS AND PENGUINOS!!

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    you need to make a symlink to the headers file directory

    Code:
    ln -s /usr/src/linux-headers-2.6.18-4-amd64 /usr/src/linux

  3. #3
    Just Joined!
    Join Date
    May 2006
    Posts
    5
    Hi guru, I will try that. Thanks!

Posting Permissions

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