【錯誤描述 】
如題編譯時報Value too large for defined data type錯誤,並且將程序拷貝到虛擬機內部編譯時是沒有錯誤的(或者在其他機器上編譯是沒有問題的)
【解決方法】
掛載時添加“nounix,noserverino”選項後就可以了。
//取消掛載的共享目錄
# sudo umount -t vmhgfs .host:/ /mnt/hgfs
//重新掛載共享目錄
# sudo mount -t vmhgfs -o nounix,noserverino .host:/ /mnt/hgfs