Anyone managed to compile the latest VMwareTools on latest VMware workstation?<br>It worked fine on FC5, but now I get compiler errors with kernel-2.6.17-1.2586.fc6.<br>(It has failed on all FC6T2 not just the latest kernel...)
<br>Any ideas?<br><br>-----<br>[root@localhost ~]# ./vmware-config-tools.pl<br>....<br>What is the location of the directory of C header files that match your running<br>kernel? [/lib/modules/2.6.17-1.2586.fc6/build/include] 
<br>Extracting the sources of the vmhgfs module.<br>Building the vmhgfs module.<br>Using 2.6.x kernel build system.<br>make: Entering directory `/tmp/vmware-config11/vmhgfs-only'<br>make -C /lib/modules/2.6.17-1.2586.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
<br>make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2586.fc6-i686'<br>&nbsp; CC [M]&nbsp; /tmp/vmware-config11/vmhgfs-only/cpName.o<br>&nbsp; CC [M]&nbsp; /tmp/vmware-config11/vmhgfs-only/cpNameLinux.o<br>&nbsp; CC [M]&nbsp; /tmp/vmware-config11/vmhgfs-only/dev.o
<br>&nbsp; CC [M]&nbsp; /tmp/vmware-config11/vmhgfs-only/driver.o<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsChangeFileAttributes':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:763: error: 'struct inode' has no member named 'i_blksize'
<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsInitializeInode':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:835: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsIget':
<br>/tmp/vmware-config11/vmhgfs-only/driver.c:884: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsCreate':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:1536: error: 'struct inode' has no member named 'u'
<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsLookup':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:1636: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsMkdir':
<br>/tmp/vmware-config11/vmhgfs-only/driver.c:1728: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsDelete':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:1855: error: 'struct inode' has no member named 'u'
<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsRename':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:2048: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c:2050: error: 'struct inode' has no member named 'u'
<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsRevalidate':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:2294: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsSetattr':
<br>/tmp/vmware-config11/vmhgfs-only/driver.c:2431: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsOpen':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:2808: error: 'struct inode' has no member named 'u'
<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsDirOpen':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:3422: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsClearInode':
<br>/tmp/vmware-config11/vmhgfs-only/driver.c:4113: error: 'struct inode' has no member named 'u'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: At top level:<br>/tmp/vmware-config11/vmhgfs-only/driver.c:4259: warning: initialization from incompatible pointer type
<br>/tmp/vmware-config11/vmhgfs-only/driver.c: In function 'HgfsGetSb':<br>/tmp/vmware-config11/vmhgfs-only/driver.c:4497: error: too few arguments to function 'get_sb_nodev'<br>/tmp/vmware-config11/vmhgfs-only/driver.c: At top level:
<br>/tmp/vmware-config11/vmhgfs-only/driver.c:4544: warning: initialization from incompatible pointer type<br>make[2]: *** [/tmp/vmware-config11/vmhgfs-only/driver.o] Error 1<br>make[1]: *** [_module_/tmp/vmware-config11/vmhgfs-only] Error 2
<br>make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2586.fc6-i686'<br>make: *** [vmhgfs.ko] Error 2<br>make: Leaving directory `/tmp/vmware-config11/vmhgfs-only'<br>Unable to build the vmhgfs module.<br><br>--- <br>
The file where it fails looks like this:<br>&nbsp;&nbsp;&nbsp; 749&nbsp;&nbsp;&nbsp;&nbsp; * Set appropriate fields in the inode.<br>&nbsp;&nbsp;&nbsp; 750&nbsp;&nbsp;&nbsp;&nbsp; *<br>&nbsp;&nbsp;&nbsp; 751&nbsp;&nbsp;&nbsp;&nbsp; * XXX I'm still faking a few fields here. Clean it up.<br>&nbsp;&nbsp;&nbsp; 752&nbsp;&nbsp;&nbsp;&nbsp; */<br>&nbsp;&nbsp;&nbsp; 753 <br>&nbsp;&nbsp;&nbsp; 754&nbsp;&nbsp;&nbsp; HgfsSetFileType(inode, attr);
<br>&nbsp;&nbsp;&nbsp; 755 <br>&nbsp;&nbsp;&nbsp; 756&nbsp;&nbsp;&nbsp; /* Set the access mode. */<br>&nbsp;&nbsp;&nbsp; 757&nbsp;&nbsp;&nbsp; inode-&gt;i_mode &amp;= ~S_IRWXUGO;<br>&nbsp;&nbsp;&nbsp; 758&nbsp;&nbsp;&nbsp; inode-&gt;i_mode |= (attr-&gt;permissions &lt;&lt; 6); /* Only applies to owner. */<br>&nbsp;&nbsp;&nbsp; 759&nbsp;&nbsp;&nbsp; inode-&gt;i_nlink = 1; /* Bogus? */
<br>&nbsp;&nbsp;&nbsp; 760&nbsp;&nbsp;&nbsp; inode-&gt;i_uid = 0;&nbsp;&nbsp; /* This is bogus, should be the mount owner. */<br>&nbsp;&nbsp;&nbsp; 761&nbsp;&nbsp;&nbsp; inode-&gt;i_gid = 0;&nbsp;&nbsp; /* This is bogus, should be the mount owner. */<br>&nbsp;&nbsp;&nbsp; 762&nbsp;&nbsp;&nbsp; inode-&gt;i_rdev = 0;&nbsp; /* Device nodes are not supported */
<br>*&nbsp;&nbsp;&nbsp; 763&nbsp;&nbsp;&nbsp; inode-&gt;i_blksize = HGFS_BLOCKSIZE;<br>&nbsp;&nbsp;&nbsp; 764&nbsp;&nbsp;&nbsp; inode-&gt;i_blocks = (attr-&gt;size + HGFS_BLOCKSIZE - 1) / HGFS_BLOCKSIZE;<br>&nbsp;&nbsp;&nbsp; 765&nbsp;&nbsp;&nbsp; inode-&gt;i_size = attr-&gt;size;<br>&nbsp;&nbsp;&nbsp; 766&nbsp;&nbsp;&nbsp; HGFS_SET_TIME(inode-&gt;i_atime, attr-&gt;accessTime);
<br>&nbsp;&nbsp;&nbsp; 767&nbsp;&nbsp;&nbsp; HGFS_SET_TIME(inode-&gt;i_mtime, attr-&gt;writeTime);<br>&nbsp;&nbsp;&nbsp; 768&nbsp;&nbsp;&nbsp; /*<br>&nbsp;&nbsp;&nbsp; 769&nbsp;&nbsp;&nbsp;&nbsp; * Windows doesn't know about ctime, and might send us something<br>&nbsp;&nbsp;&nbsp; 770&nbsp;&nbsp;&nbsp;&nbsp; * bogus; if the ctime is invalid, use the mtime instead.
<br>&nbsp;&nbsp;&nbsp; 771&nbsp;&nbsp;&nbsp;&nbsp; */<br>&nbsp;<br>