Get the following error upon opening Vmware:
which gcc:
/usr/bin/gcc
gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
I also installed "build-essential" before gcc and installing Vmware.
Any suggestions?
Vmware: can't compile modules, gcc 9.40 not found
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 1
- Posts: 29
- Joined: Tue Jun 28, 2022 4:57 pm
Vmware: can't compile modules, gcc 9.40 not found
Last edited by LockBot on Sun Jan 01, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: Vmware: can't compile modules, gcc 9.40 not found
Install latest VMware version and try.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
-
- Level 1
- Posts: 29
- Joined: Tue Jun 28, 2022 4:57 pm
- MikeNovember
- Level 7
- Posts: 1856
- Joined: Fri Feb 28, 2020 7:37 am
- Location: Nice, Paris, France
Re: Vmware: can't compile modules, gcc 9.40 not found
Hi,
Have you tried to enter gcc path "/usr/bin/gcc", as requested?
Regards,
MN
Have you tried to enter gcc path "/usr/bin/gcc", as requested?
Regards,
MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: Vmware: can't compile modules, gcc 9.40 not found
Did you try this?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
-
- Level 1
- Posts: 29
- Joined: Tue Jun 28, 2022 4:57 pm
Re: Vmware: can't compile modules, gcc 9.40 not found
As I said secure boot off in bios already and same errordeepakdeshp wrote: ⤴Thu Jun 30, 2022 7:19 pmDid you try this?
Re: Vmware: can't compile modules, gcc 9.40 not found
There is a similar issue noted here with Ubuntu 20.04 but with version 12 of VMWare. There are some hints towards a fix
https://ubuntuforums.org/showthread.php?t=2448058 (Ubuntu 20.04.1 LTS VMWare 12 Pro will not start GCC not found)
If it's any help, Linux Mint (Mate) 20.3 with kernel 5.4.0-121 and gcc version 9.4.0 is currently successfully compiling the two VMWare modules following kernel updates - VMware® Workstation 16 Player version 16.2.3 build-19376536
The VMWare Community may be able to offer further assistance
https://ubuntuforums.org/showthread.php?t=2448058 (Ubuntu 20.04.1 LTS VMWare 12 Pro will not start GCC not found)
If it's any help, Linux Mint (Mate) 20.3 with kernel 5.4.0-121 and gcc version 9.4.0 is currently successfully compiling the two VMWare modules following kernel updates - VMware® Workstation 16 Player version 16.2.3 build-19376536
The VMWare Community may be able to offer further assistance
- MikeNovember
- Level 7
- Posts: 1856
- Joined: Fri Feb 28, 2020 7:37 am
- Location: Nice, Paris, France
Re: Vmware: can't compile modules, gcc 9.40 not found
Hi,sideband wrote: ⤴Fri Jul 01, 2022 3:33 am There is a similar issue noted here with Ubuntu 20.04 but with version 12 of VMWare. There are some hints towards a fix
https://ubuntuforums.org/showthread.php?t=2448058 (Ubuntu 20.04.1 LTS VMWare 12 Pro will not start GCC not found)
If it's any help, Linux Mint (Mate) 20.3 with kernel 5.4.0-121 and gcc version 9.4.0 is currently successfully compiling the two VMWare modules following kernel updates - VMware® Workstation 16 Player version 16.2.3 build-19376536
The VMWare Community may be able to offer further assistance
It seems the fixes concern old versions of VMware (12.x for workstation, 15.x for player).
I have never got this compiling problem for VMware Player 15.5.x up to 16.2.3, on Linux Mint 19.x and 20.x (now with 20.3 and 5.4.0-121).
Note that I sometimes got some installation problem, solved with the following:
Code: Select all
sudo apt install gcc build-essential -y
export LC_ALL=C
Code: Select all
cd Downloads
sudo ./VMware-Player*
Regards,
MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).