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