Updating Ubuntu 14.04 (alpha / development) with latest 3.13.0-x kernels will require recompiling the modules for VMware Player 6.0.1 which will fail as per below. The solution is based on Garrett Skjelstad's "VMware modules & kernel 3.13" blog post.
To fix this we will need to apply this patch to filter.c in VMware Player module sources. Start with saving the diff below (download):
Or download directly to the system:
Next will apply the patch to filter.c in vmnet.tar (extract, patch, update archive):
$ sudo lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Trusty Tahr (development branch) Release: 14.04 Codename: trusty $ uname -a Linux VOSTRO 3.13.0-4-generic #19-Ubuntu SMP Thu Jan 16 18:10:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ vmplayer --version VMware Player 6.0.1 build-1379776
[...] CC [M] /tmp/modconfig-7ykUGm/vmnet-only/filter.o /tmp/modconfig-7ykUGm/vmnet-only/filter.c:206:1: error: conflicting types for ‘VNetFilterHookFn’ VNetFilterHookFn(unsigned int hooknum, // IN: ^ /tmp/modconfig-7ykUGm/vmnet-only/filter.c:64:18: note: previous declaration of ‘VNetFilterHookFn’ was here static nf_hookfn VNetFilterHookFn; ^ /tmp/modconfig-7ykUGm/vmnet-only/filter.c:64:18: warning: ‘VNetFilterHookFn’ used but never defined [enabled by default] /tmp/modconfig-7ykUGm/vmnet-only/filter.c:206:1: warning: ‘VNetFilterHookFn’ defined but not used [-Wunused-function] VNetFilterHookFn(unsigned int hooknum, // IN: ^ make[2]: *** [/tmp/modconfig-7ykUGm/vmnet-only/filter.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/tmp/modconfig-7ykUGm/vmnet-only] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-4-generic' make: *** [vmnet.ko] Error 2 make: Leaving directory `/tmp/modconfig-7ykUGm/vmnet-only' Failed to build vmnet. Failed to execute the build command. Starting VMware services: Virtual machine monitor done Virtual machine communication interface done VM communication interface socket family done Blocking file system done Virtual ethernet failed VMware Authentication Daemon done
To fix this we will need to apply this patch to filter.c in VMware Player module sources. Start with saving the diff below (download):
205a206 > #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) 206a208,210 > #else > VNetFilterHookFn(const struct nf_hook_ops *ops, // IN: > #endif 255c259,263 < transmit = (hooknum == VMW_NF_INET_POST_ROUTING); --- > #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) > transmit = (hooknum == VMW_NF_INET_POST_ROUTING); > #else > transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING); > #endif
Or download directly to the system:
$ wget https://sites.google.com/site/dandar3blogspotcom/vmware-player-601-on-ubuntu-1404-alpha-filter.c.diff \ -O /tmp/filter.c.diff --no-check-certificate
Next will apply the patch to filter.c in vmnet.tar (extract, patch, update archive):
$ sudo -E -s # cd /usr/lib/vmware/modules/source/ # cp vmnet.tar vmnet.tar.original # tar xvf vmnet.tar vmnet-only/filter.c vmnet-only/filter.c # patch vmnet-only/filter.c < /tmp/filter.c.diff patching file vmnet-only/filter.c # tar -uvf vmnet.tar vmnet-only/filter.c vmnet-only/filter.c # rm -rf vmnet-only/And now you're ready to restart VMplayer, which will ask you to re-compile VMware Player modules, successfully this time.
Halo Dan Dar3:
ReplyDeletei have posted Your solution to this vmware communities site:
https://communities.vmware.com/message/2335864?z=N833r5
Your solution is helping me lot.
Thanks ;)
Thanks Josef, glad it helped.
ReplyDeleteCredits should almost entirely go to Garrett Skjelstad for his "VMware modules & kernel 3.13" post.
Command: /usr/lib/vmware/modules/source# patch vmnet-only/filter.c < /tmp/filter.c.diff
ReplyDeleteResult:
patching file vmnet-only/filter.c
Hunk #1 succeeded at 203 with fuzz 2.
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 256.
1 out of 2 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej
I should mention my system is:
ReplyDeleteLinux desktop 3.13.0-5-generic #20-Ubuntu SMP Mon Jan 20 19:56:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
VMware Player 6.0.1 build-1379776
and the .ref file:
ReplyDelete--- filter.c.original 2014-01-20 19:09:31.382823033 +0000
+++ filter.c.patched 2014-01-20 19:13:34.624029209 +0000
@@ -256,7 +260,11 @@
/* When the host transmits, hooknum is VMW_NF_INET_POST_ROUTING. */
/* When the host receives, hooknum is VMW_NF_INET_LOCAL_IN. */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+#else
+ transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
+#endif
packetHeader = compat_skb_network_header(skb);
Manually editing the file worked.
ReplyDeleteSorry about that, I updated the diff, thanks for letting know.
ReplyDelete:'(
ReplyDeleteroot@desktop:/usr/lib/vmware/modules/source# patch filter.c < /tmp/filter.c.diff
patching file filter.c
Hunk #3 FAILED at 259.
1 out of 3 hunks FAILED -- saving rejects to file filter.c.rej
My mistake - typo in the patch line first time I ran it
ReplyDelete:D
root@desktop:/usr/lib/vmware/modules/source# patch vmnet-only/filter.c < /tmp/filter.c.diff
patching file vmnet-only/filter.c
But i still get the error
DeleteYeah I know it's a bit of a pain - just double clicking inside of the code area it'll select everything.
ReplyDeleteMany, many thanks!
ReplyDeleteI'm using Fedora 20 kernel 3.13 and VMWorkstation 10.0.1. This fix worked for me thanks.
ReplyDeletewhen I started my VM I got some cmos change message which I never saw again.
I'm confused why new kernels can sometimes case workstation to top. I may change to Ubuntu.
Thanks again.
Thanks you very much ! A bit hard to understand for me (new to linux) but it do the job perfectly :)
ReplyDeleteHad the same problem after upgrading fedora 20 and it worked perfectly. Thanks.
ReplyDeleteThank you very much! It works for me! But could you explain this more? About why this error happens, and why this patch works fine :)
ReplyDeleteThanks again! Have a good day Dan Dar3 :)
Thanks Hoài Đàm. It appears the signature of VNetFilterHookFn() has changed from an int to a struct, and the patch is just making it work for newer kernels. I'm sure VMware will fix it themselves in the next version of their software so you won't have to do this anymore.
ReplyDeleteI would like to thank you very much for your solution dandar3 !!! :D it helped me very lot !!!
ReplyDeleteJust wanted to stop by and say thank you for this patch! It worked great!
ReplyDeleteI was struggling to get VMWare Workstation installed on Ubuntu 14.04 until I came across this solution. Thank you for taking the time to post it.
ReplyDeleteThis article is from Fedora 19 or Fedora 20 in spanish http://isyskernel.blogspot.com/2014/03/Error-VMware-compilar-kernel-Failed-to-build-vmnet.html
ReplyDeleteThank you for posting this. it helped me
ReplyDeleteYou're all welcome! To be honest I'm a bit surprised by so many comments, I mainly wrote cause I found myself applying it a few times with new installs / re-installs, and second observation, it appears more "technical" people tend to be more grateful! I like that, well done all :-)
ReplyDeleteWorked like a charm - many thanks for posting this fix!
ReplyDeleteBest,
itsjustarumour
Hi Dan Dar3
ReplyDeleteIt still works perfectly with
Ubuntu 14.04 (Trusty Tahr) Beta 2
Thanks.
Thanks, worked peferctly!
ReplyDeleteHelo, I have the same problem :(
ReplyDeleteEverting run okey, but when I run the patch command, that's return an error:
++++++++++++++++++++++++++++++++++++
root@ubuntu14:/usr/lib/vmware/modules/source# patch vmnet-only/filter.c < ~/Desktop/filter.c.diff
patching file vmnet-only/filter.c
Hunk #3 FAILED at 259.
1 out of 3 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej
+++++++++++++++++++++++++++++++++++++++++++
the filter.c.rej output:
+++++++++++++++++++++++++++++++++
*** /dev/null
--- /dev/null
***************
*** 259
- transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
--- 263,267 -----
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
+ transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+ #else
+ transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
+ #endif
---------------------------------------------------------------------------------------------------------------
> vmware -v
VMware Workstation 10.0.1 build-1379776
> uname -a
Linux ubuntu14 3.13.0-23-generic #45-Ubuntu SMP Fri Apr 4 06:58:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Any help please !
Amigo, saludos, tengo ubuntu 16.04 soy usuario novato y no puedo aplicar el parche para correr wmare, puedes ayudarme por favor? me urge correr una aplicacion administrativa diseñada solo para windows...
DeleteWorked perfectly!
ReplyDeleteThanks so much!
@Anonymous
ReplyDeleteYou seem to be running VMware Workstation 10 - you could try to patch it manually, or maybe read Garrett Skjelstad's original blog post, link is up at the top of the post.
Thanks a lot for sharing this solution.
ReplyDeleteAs easy as efficient.
Thanks , worked great!
ReplyDeleteThank you very much!
ReplyDeleteThanks It helped me alot.
ReplyDeleteThank you it worked with Ubuntu 14.04 - 3.13.0-24-generic #46-Ubuntu SMP
ReplyDeleteWorked like a charm in Ubuntu 14.04, Thanks!
ReplyDeleteThank you. Appreciate it. :)
ReplyDeleteAwesome!
ReplyDeleteMany thanks! Installed 14.04 over 12.04 yesterday and needed the vmware so that I could load stuff into my GPS for going hiking this weekend! This worked perfectly - you're brilliant :)
ReplyDeleteThank you for this patch that worked perfectly for me.
ReplyDeleteThank you very much!
ReplyDeleteWorked as described on Ubuntu 14.04 LTS.
Worked like a charm!
ReplyDeleteThanks a lot!!
Muchas gracias, me funciono perfectamente.
ReplyDeleteThank you very much - this worked fine for me.
ReplyDeletekind regards
Michel
Didn't work for me. Any help is greatly appreciated. I upgraded from 13.10 to 14.4. Any help greatly appreciated.
ReplyDeleteMy patch file:
205a206
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
206a208,210
> #else
> VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
> #endif
255c259,263
< transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
---
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
> transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
> #else
> transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
> #endif
Error:
root@ThinkPad-T420s:~# cd /usr/lib/vmware/modules/source/
root@ThinkPad-T420s:/usr/lib/vmware/modules/source# cp vmnet.tar vmnet.tar.original
root@ThinkPad-T420s:/usr/lib/vmware/modules/source# tar xvf vmnet.tar vmnet-only/filter.c
vmnet-only/filter.c
root@ThinkPad-T420s:/usr/lib/vmware/modules/source# patch vmnet-only/filter.c < /tmp/filter.c.diffpatching file vmnet-only/filter.c
patch: **** '<' expected at line 8 of patch
This also worked with VMWare Player 5.03 - thanks!
ReplyDeleteThanks a lot! Worked for me. :)
ReplyDeleteAdding some keywords/sentences so that this page come up while Googling.
Failed to build vmnet
Vmware compilation failed in Ubuntu 14.04
@ALL
ReplyDeleteVMware Player 6.0.2 fixes this issue, so you won't need to apply the patch yourselves.
Thank you very much for this patch! You made my day!
ReplyDeleteVMWare Workstation 9.0.3 works on my Kubuntu 14.04 now! :) Wheeeeeee!
http://www.youtube.com/playlist?list=PLKPi39tTpkdpjBVQZo5oFLWjFjlOMkd2A
thank you so much workstation 10 now works on ubuntu 14.04
ReplyDeleteWorked for me with Ubuntu 14.04 and workstation 10.
ReplyDeleteThanks!!
Thanks!
ReplyDeleteHello worked fine and I (Linux-Beginner!) was able to help myself with your instructions
ReplyDelete(Ubuntu 14.04 and VMWare Player 6.0.1 .
many thanks
Brilliant, thank you for the awesome article
ReplyDeleteWorked on a fresh ubuntu 14.04 with vmware VMware-Player-5.0.3-1410761.x86_64.bundle
ReplyDeleteThanks
This also works on KALI Linux for anyone who recently updated the main Kernels - so thanks :o)
ReplyDeleteThanks!
ReplyDeleteworks for ubuntu 14.04 and vmware workstation 9
ReplyDeleteIt fails. However, it did work previously on this same system (14.04) with VMplayer 5.0.3. Now it gives the same error as others are getting (in above posts). patching file vmnet-only/filter.c
ReplyDeleteHunk #3 FAILED at 259.
1 out of 3 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej
The filter.c.rej indicates:
*** /dev/null
--- /dev/null
***************
*** 259
- transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
--- 263,267 -----
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
+ transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
+ #else
+ transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
+ #endif
Any workaround for this? thanks.
In that case I would recommend to patch it manually, it's not as hard as it looks, and if you do this regularly and keep using the same versions, keep the vmnet.tar and just replace it after the install.
ReplyDelete205a206 = basically means at original line 205 it adds the line below.
206a208,210 = means at original 206 it ads the lines below that as 208-210.
255c259,263 = means original line 255 was changed with the new content, which is now 259,263. The "<" means out, ">" means in.
Thanks! Patching using 'patch' didn't work, but after patching manually it works like a charm!
Deletehi ,
DeleteCould you please tell me how you did it? I couldn't get to work it.. I am getting the same error message...
Thanks
Hi - trying this on 14.04 with vmplayer 9, all went is ok, I click on the gui, it asks me to recompile, I click ok and then nothing ?
ReplyDeletethanks
ReplyDeleteThank you. Worked without any problems on mint 17.
ReplyDeleteIt worked like a champ. Thanks for shairing
ReplyDeleteIt's works!!!.
ReplyDeleteExcelent!
Thanks for all-
It simply works.
ReplyDeleteThanks for sharing.
Piero
You are awesome! Thank you!
ReplyDeleteThank you! It's working)
ReplyDeleteIt works fine..... thanks a lot.
ReplyDeleteThanks a lot, saved my day.
ReplyDeleteNew to linux, but worked like a charm.
ReplyDeleteThanks so much!
ReplyDeleteWorked like a boss, thanks.
ReplyDeleteMost Excellent! Thank you
ReplyDeleteThank's man, you safe my life. ^^
ReplyDeleteTo build vmnet in Workstation 10.0.3 on Ubuntu Utopic amd64 wiht kernel 3.18-rc1 I found the fix on http://archlinuxtricks.blogspot.com/
ReplyDeletein file netif.c comment out: dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
add: dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup);
Thanks!!!
ReplyDeleteThis was brilliant. Still working with "Ubuntu 14.04.1 LTS" and 3.13.0-40-generic.
ReplyDeletepatching file vmnet-only/filter.c
ReplyDeleteHunk #3 FAILED at 259.
1 out of 3 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej
How to solve it?I have Ubuntu 12.04 kernel 3.17.0 generic
I would try to install VMware Player 6.0.2 to see if it fixes the problem without the need for a patch.
Deletewith current version it seems the file has 0 Bytes. What am I missing? (ubuntu 14.04 kernel 3.13.0-45-generic)
ReplyDeleteI don't know which file is 0 bytes, but have you tried installing VMware Player 6.0.2? I believe they fixed the issue themselves now.
Deletewonderful ! thanks so much for this.
ReplyDeletewhere is the patch,where is vmnet,where is the filter.c.diff file????? HELPPP
ReplyDeleteYou should install VMware Player 6.0.2 or later.
DeleteHey there. Thx for the post.
ReplyDeleteWorked fine on Linux Mint 17.1 (Rebecca) with VMware Workstation 9.0.4 build-1945795
Linux 3.13.0-37-generic #64-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
Did not worked on kali linux
ReplyDeleteWow.....really cooool!!! Its just amazing..
ReplyDeletethank's this articel work
ReplyDeleteThis post is brilliant! Thank you!
ReplyDeleteVMware Workstation 11 will not run on Ubuntu 15.04 (Kernel 3.19.0-15-generic)
ReplyDeleteI recently did a clean upgrade to Ubuntu 15.04 and after installing VMware I am unable to run it. When I launch VMware I receive a message stating several modules must be compiled first. I select install and got an error stating it was unable to start services. Below are the details of my machine and error logs. Any help would be greatly appreciated. I am not new to Ubuntu but very new to VMware so please be as descriptiveas possible with the answer. Appreciate the help in advance.
VMware Workstation 11
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
# uname -a
Linux gareth-Inspiron-7720 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# vmware -v
VMware Workstation 11.1.0 build-2496824
# vmplayer --version
VMware Player 7.1.0 build-2496824
End of Log from /tmp/vmware-root/vmware10423.log
2015-04-30T15:55:24.879-04:00| vthread-4| I120: Setting destination path for vmnet to "/lib/modules/3.19.0-15-generic/misc/vmnet.ko".
2015-04-30T15:55:24.879-04:00| vthread-4| I120: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2015-04-30T15:55:24.888-04:00| vthread-4| I120: Successfully extracted the vmnet source.
2015-04-30T15:55:24.888-04:00| vthread-4| I120: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-mFz0An/vmnet-only auto-build HEADER_DIR=/lib/modules/3.19.0-15-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2015-04-30T15:55:26.778-04:00| vthread-4| W110: Failed to build vmnet. Failed to execute the build command.
Gareth, I would think this thread is closer to your problem, check out both answers (always check the Ubuntu forums first):
Deletehttp://askubuntu.com/questions/605530/vmware-player-7-1-0-on-ubuntu-15-04-kernel-3-19-0-10-generic-app-loading
Perfekt, das funzt auf Anhieb! Vielen Dank!
DeleteThanks so much! Worked perfectly for Linux Mint 17 + VMware Workstation 10
ReplyDeleteAlas, didn't work for me :-(
ReplyDeleteLinux Mint 17.2 Rafaela
# uname -a
Linux [hostname] 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
# vmplayer --version
VMware Player 5.0.4 build-1945795
I get this far:
sudo -E -s
# cd /usr/lib/vmware/modules/source/
# cp vmnet.tar vmnet.tar.original
# tar xvf vmnet.tar vmnet-only/filter.c
vmnet-only/filter.c
# patch vmnet-only/filter.c < /tmp/filter.c.diff
patching file vmnet-only/filter.c
patch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch at line 13
I can carry on, thus:
# tar -uvf vmnet.tar vmnet-only/filter.c
# rm -rf vmnet-only/
# vmware
But end up in the same state:
Failed to build vmnet. Failed to execute the build command.
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done
The last couple of lines in the error log says:
: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
: Successfully extracted the vmnet source.
: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-RLx09o/vmnet-only auto-build HEADER_DIR=/lib/modules/3.16.0-38-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
: Failed to build vmnet. Failed to execute the build command.
Could you offer any guidance to a Linux newbie..? Thanks very much!
Resolved!
DeleteUsed the patch file contents created by 'WoodyZ' on https://communities.vmware.com/message/2327060
The file is slightly different from the one referenced here, and for some reason creating the file myself didn't work, but downloading the one near the end of the thread 'ws1001.vmnet.filter.c.313.patch.zip', extracting and renaming to filter.c.diff did work.
Hope that helps someone else
:-)
This patch cured the vmnet build failure in VMware Player 5.0.4 build-1945795
ReplyDeleteDistribution: Linux Mint 17.2 "Rafaela"
Kernel: Linux 3.16.0-38-generic (x86_64)
Many thanks from this Linux newbie!
Allan Gay.
I have found that filter.c is zero bytes in size after the extraction. Can I just get the full file from somewhere?
ReplyDeleteI would suggest double checking the command you're issuing or use a GUI program (like Archive Manager) to extract the file.
Delete@Dan_Dar3 I have tried looking at it many ways. Here's the original (filename spelt wrong): http://imgur.com/qgyfpWC
DeleteI see. You're not specifying which version of VMware player you're using and it appears that some versions do not use filter.c and the logic might be found in driver.c. You will need to find specific instructions for that version or manually apply the change yourself to the correct file. See if this post helps you go in the right direction. https://communities.vmware.com/message/2531821
DeleteIT'S AMAZING
ReplyDeletethank you !!
https://www.youtube.com/watch?v=u-JO_alFzhQ
ReplyDeleteInstalling VMware-player 12.1.0 on Ubuntu 14.04
This did not work, it does not even go beyond getting into the source folder. anyother working solution please help.
ReplyDeleteSorry, that is so little information, I doubt anyone can really help you. What doesn't work exactly, what does it say, what is the error message?
DeleteI am currently using ubuntu 14.04 and kernel version is 4.3.0-040300-generic with gcc version 4.8.5. I am trying to install vmware player 6.0.6version. when i use the filter.c mentioned as above. it gives me an error
ReplyDeleteHunk #3 FAILED at 259.
1 out of 3 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej
please help
Hello there, the patch has to match existing code especially block no 3. See my comment on June 9, 2014 explaining what the contents of the patch mean, apply the changes manually yourself to vmnet-only/filter.c to the right locations (line numbers probably don't match your code), then recompile. Good luck!
DeleteHi. its me again. I tried to install vmplayer 6.0.2 with same patch and it installed successfully. But now now i get this dialogue box saying
DeleteGNU gcc 5.1 version not found. before running vmware several modules should be compiled on kernel
What I think the error message is trying to tell you is that your Linux kernel was compiled with GCC 5.1 (cat /proc/version) while you don't have GCC 5.1 installed (gcc --version). So now you obviously need to address that first. http://askubuntu.com/questions/618474/how-to-install-the-latest-gcurrently-5-1-in-ubuntucurrently-14-04
DeleteI'm getting an error patch: **** '<' expected at line 8 of patch. I'm running
ReplyDeleteDistributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
any one else run accross this?
Hi Jeff, see the updated post with a direct link to the file, just in case the copy/paste was causing this.
Deletepatching file vmnet-only/filter.c
ReplyDeletepatch unexpectedly ends in middle of line
patch: **** unexpected end of file in patch at line 13
i got this error plz help me
The patch was missing the ending newline - you can add an empty line yourself at the end of the .diff file as line #15 or download the file again (see the wget command in the post). Sorry about that.
DeleteHas anyone tried this with Ubuntu/Xubuntu/Lubuntu 16.04 (kernel 4.8.0-58-generic)?
ReplyDelete