错误如下:
cc1plus: error: */*: Value too large for defined data type
cc1plus: fatal error: */*: Value too large for defined data type
compilation terminated.
原因:mount时未加“nounix,noserverino”参数。
解决办法:修改“/etc/vmware-tools/services.sh”文件,并重启。原始及修改后如下:
# Mount all hgfs filesystems
vmware_mount_vmhgfs() {if [ "`is_vmhgfs_mounted`" = "no" ]; thenif [ "`vmware_vmhgfs_use_fuse`" = "yes" ]; thenmkdir -p $vmhgfs_mntvmware_exec_selinux "$vmdb_answer_BINDIR/vmhgfs-fuse \-o subtype=vmhgfs-fuse,allow_other $vmhgfs_mnt"elsevmware_exec_selinux "mount -t vmhgfs .host:/ $vmhgfs_mnt"fifi
}
# Mount all hgfs filesystems
vmware_mount_vmhgfs() {if [ "`is_vmhgfs_mounted`" = "no" ]; thenif [ "`vmware_vmhgfs_use_fuse`" = "yes" ]; thenmkdir -p $vmhgfs_mntvmware_exec_selinux "$vmdb_answer_BINDIR/vmhgfs-fuse \-o subtype=vmhgfs-fuse,allow_other $vmhgfs_mnt"elsevmware_exec_selinux "mount -t vmhgfs .host:/ $vmhgfs_mnt -o nounix,noserverino"fifi
}