Vmware and Linux-2.6.22

If you’re rolling your own kernels, and upgraded to 2.6.22, you might have bumped into a compilation issue:


include/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’:
include/asm/page.h:112: error: expected primary-expression before ‘)’ token
include/asm/page.h:112: error: expected ‘;’ before ‘{‘ token
include/asm/page.h:112: error: expected primary-expression before ‘.’ token
include/asm/page.h:112: error: expected `;’ before ‘}’ token

How to fix this:

  1. Download the vmware-any-any-update110.tar.gz update. Unpack in /tmp
  2. Go into the vmware-any-any-update110 directory, and untar the vmmon.tar file (tar xvf vmmon.tar)
  3. Execute the following command:
    sed -i ‘s!# include !!g’ vmmon-only/common/hostKernel.h
  4. Re-tar vmmon.tar (tar cvf vmmon.tar vmmon-only)
  5. run runme.pl

And you’re done!

Thanks to the Gentoo bug tracker and all persons posting on it for the ‘fix’.

As per always, if it eats your cat, it’s not my fault nor my problem! ;)

Edit: vmware-any-any-update112.tar.gz has been released meanwhile, which solves the above problem too.

Bookmark the permalink.

One Comment

  1. And you can always find all the latest vmware-any-any updates at ftp://platan.vc.cvut.cz/pub/vmware/

Leave a Reply

Your email address will not be published. Required fields are marked *