Parallels Tools 10.3.0.29227 fail to build on Kali 2016 Rolling

Discussion in 'Linux Virtual Machine' started by Josha2, Mar 17, 2016.

  1. Josha2

    Josha2 Bit poster

    Messages:
    1
    Fresh install from Kali 2016.1. All packages tracked to most recent version.
    4.4.0-kali1-amd64 #1 SMP Debian 4.4.4-2kali2 (2016-03-11) x86_64 GNU/Linux

    Code:
    cat /media/cdrom/version 
    10.3.0.29227
    Code:
    Thu Mar 17 12:14:06 PDT 2016
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Perform installation into the /usr/lib/parallels-tools directory
    cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
    Start installation of prl_eth kernel module
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    cd prl_eth/pvmnet && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/4.4.0-kali1-amd64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: Entering directory '/usr/src/linux-headers-4.4.0-kali1-amd64'
      LD      /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
      CC [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
      LD [M]  /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
    make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-kali1-amd64'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make -C /lib/modules/4.4.0-kali1-amd64/build SUBDIRS=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg modules
    make[2]: Entering directory '/usr/src/linux-headers-4.4.0-kali1-amd64'
    Makefile:10: *** mixed implicit and normal rules: deprecated syntax
      CC [M]  /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'call_tg_sync':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:776:8: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
      dst = vmalloc(dsize);
            ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:776:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      dst = vmalloc(dsize);
          ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:784:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
      vfree(dst);
      ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'prl_tg_write':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:852:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       sdesc.idata = vmalloc(src->InlineByteCount);
                   ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:866:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       sbuf = vmalloc(ssize);
            ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:888:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      dst = vmalloc(dsize);
          ^
    cc1: some warnings being treated as errors
    /usr/src/linux-headers-4.4.0-kali1-common/scripts/Makefile.build:263: recipe for target '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o' failed
    make[5]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
    /usr/src/linux-headers-4.4.0-kali1-common/Makefile:1401: recipe for target '_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg' failed
    make[4]: *** [_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    Makefile:146: recipe for target 'sub-make' failed
    make[3]: *** [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[2]: *** [all] Error 2
    make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-kali1-amd64'
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Makefile.v26:29: recipe for target 'prl_tg' failed
    make[1]: *** [prl_tg] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    Makefile.kmods:23: recipe for target 'installme' failed
    make: *** [installme] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error: failed to install kernel modules
    
     
  2. Arunn

    Arunn Parallels Support

    Messages:
    300
    Hi,
    Try to follow this article and see if you are able to install the tools in Ubuntu Virtual Machine.
     
  3. PascalP1

    PascalP1 Bit poster

    Messages:
    2
    I have exactly the same problem. Same Kali-Version, exactly same errors.
    @Arun@Parallels : The solution in the article didn't work for me.
     
    VincentC2 likes this.
  4. StephenB4

    StephenB4 Bit poster

    Messages:
    1
    I have the same problem with Kali 4.5.0 kernel and Parallels 10.4.0.29337. Has anybody been able to compile the Parallels Tools for this platform?
     
  5. PaulChristopher@Parallels

    PaulChristopher@Parallels Product Expert Staff Member

    Messages:
    3,158
    Hi StephenB4, please check out this thread to know more about how to install packets in Kali Linux virtual machine.
     

Share This Page