{"id":709,"date":"2015-04-22T11:31:20","date_gmt":"2015-04-22T09:31:20","guid":{"rendered":"http:\/\/ndk.sytes.net\/wordpress\/?p=709"},"modified":"2015-04-22T11:31:20","modified_gmt":"2015-04-22T09:31:20","slug":"failed-compilation-for-vmware-hgfs-kernel-module","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=709","title":{"rendered":"Failed compilation for VMware HGFS kernel module"},"content":{"rendered":"<p>\n\tVmware-tools have&nbsp;a kernel module for shared folders. On Ubuntu 14.04 the module compilation fails with something like &quot;alias [&#8230;] inode.c [&#8230;] line 28&quot;. The fix is quite easy, here are the simple steps:\n<\/p>\n<pre>\ncd vmware-tools-distrib\/lib\/modules\/source\ntar -xvf vmhgfs.tar\ncd vmhgfs-only\nvim inode.c\n&quot;:%s\/d_alias\/d_u.d_alias\/g&quot; (execute vim command inside editor, no quotes)\n&quot;:wq!&quot; (execute vim command)\ncd ..\ntar -cvf vmhgfs.tar vmhgfs-only<\/pre>\n<p>\n\tNow install vmware-tools normally, then&nbsp;shutdown and add a shared folder to your VM. After a new boot you should access your shared folder at \/mnt\/hgfs\n<\/p>\n<p>\n\tsource: <a href=\"https:\/\/github.com\/rasa\/vmware-tools-patches\/issues\/29#issuecomment-76469889\" target=\"_blank\">vmware communities<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vmware-tools have&nbsp;a kernel module for shared folders. On Ubuntu 14.04 the module compilation fails with something like &quot;alias [&#8230;] inode.c [&#8230;] line 28&quot;. The fix is quite easy, here are the simple steps: cd vmware-tools-distrib\/lib\/modules\/source tar -xvf vmhgfs.tar cd vmhgfs-only vim inode.c &quot;:%s\/d_alias\/d_u.d_alias\/g&quot; (execute vim command inside editor, no quotes) &quot;:wq!&quot; (execute vim command) cd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,4],"tags":[],"class_list":["post-709","post","type-post","status-publish","format-standard","hentry","category-linuxunix","category-programming"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=709"}],"version-history":[{"count":0,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/709\/revisions"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}