You have to install the correct source for your running kernel. Just installing kernel-devel does not help because that installs the latest sources.
To install the source for the running kernel, and then have it under /usr/src...., type the following command:
yum install kernel-devel-`uname -r` uname -r yum install kernel-devel-result yum install kernel-devel-2.6.27.35-170.2.94.fc10.i686
or if you don't know how to have the ` sign on your keyboard,
uname -r
note the result
yum install kernel-devel-result
i.e. if uname -r returns 2.6.27.35-170.2.94.fc10.i686, type
yum install kernel-devel-2.6.27.35-170.2.94.fc10.i686
Then, rerun vmware-install.pl