I’ve followed the tutorial for installing VMWare Tools on Ubuntu 10.10 and ran into this error when I try to run sudo /usr/bin/vmware-config-tools.pl
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.38-8-generic/include
I checked that creating the following symlinks fix the issue:
$ sudo ln -s /lib/modules/your_kernel_version/build/include/generated/utsrelease.h /lib/modules/your_kernel_version/build/include/linux/utsrelease.h
$ sudo ln -s /lib/modules/your_kernel_version/build/include/generated/autoconf.h /lib/modules/your_kernel_version/build/include/linux/autoconf.h