Very annoying GCC issue with Ubuntu 22.04 and Parallel tools installation

Discussion in 'Linux Virtual Machine' started by SB_3, Feb 26, 2024.

  1. SB_3

    SB_3

    Messages:
    1
    It seems like parallels or ubuntu f'ed it up by changing the gcc version. I was unable to install the tools and got the following error:

    Started installation of Parallels Guest Tools version '19.2.1.54832'
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.5.0-21-generic

    sudo /media/username/Parallels Tools/installer/install-cli.sh

    Mo 26 Feb 2024 14:32:41 CET
    Start installation or upgrade of Guest Tools
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
    You are using: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
    cc: error: unrecognized command-line option '-ftrivial-auto-var-init=zero'
    make[4]: *** [scripts/Makefile.build:251: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
    make[3]: *** [/usr/src/linux-headers-6.5.0-21-generic/Makefile:2039: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    make[2]: *** [Makefile:234: __sub-make] Error 2
    make[1]: *** [Makefile:44: prl_tg] Error 2
    make: *** [Makefile.kmods:54: compile] Error 2
    Error: could not build kernel modules
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.5.0-21-generic
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.5.0-21-generic
    Error: failed to install Parallels Guest Tools!

    To fix the issue:

    sudo apt install --reinstall gcc-12
    sudo ln -s -f /usr/bin/gcc-12 /usr/bin/gcc
     
  2. XxUnkn0wnxX

    XxUnkn0wnxX Bit poster

    Messages:
    3
    I'm still getting issues even after following your supposed fix.
    [​IMG]
     
  3. leomonde

    leomonde Bit poster

    Messages:
    2
    Same problem here.
    Actually in my case it works with Ubuntu 22.04, it doesn't work with Ubuntu 24.04.
    Only "modprobe: FATAL: Module prl_tg not found in directory /lib/modules/6.8.0-35-generic".
    Installed and uninstalled many times, searched on google a fix, tried many suggestion on internet... nothing works... I am just loosing hours and hours.
    I believe I will stop using parallel and go to UTM, it is horrible to have a VM without shared drive and without shared copy/paste.
    Is there any other way to share clipboard and folder beside Parallel Tools?
    Something WORKING instead parallel tools? Thanks.
     
  4. Avinash Bundhoo

    Avinash Bundhoo Staff Member

    Messages:
    797
    Hello!
    In order to proceed with further investigation, kindly provide us with the below information:
    1. Reproduce the issue.
    2. Collect a technical report (right-click Parallels icon in Dock > Help > Send technical data > check "Attach screenshots..." > press Send Report) and send the report's 9-digit ID in a reply.
    Thank you!
     
  5. TeunK

    TeunK Bit poster

    Messages:
    2
    Same issue here , upgrade from Open_SuSE 15.5 to 15.6 and stopped working
    Every time a guess after update parallels to the new version if parallels tools wil work ;-(
     
  6. kc2ctm

    kc2ctm Bit poster

    Messages:
    2
    ... as if they want to silently force everyone to upgrade to their new subscription model.
    Seriously, it makes little sense to install an outdated OS just because Parallels 18 works well with it, so its hard to "unsee" the possibility that all this is just a business strategy: to keep folks engaged with the product's latest and greatest instead of providing tools without hidden poison pills.

    I still have the same problem of being unable to install the Tools in a brand new Ubuntu 24.04 vm and have tried the gcc-12 suggested route.
     

Share This Page