Cause of the problem
VCS 2016 requires gcc4.8 and g++4.8, while VBoxGuestAdditions-6.1 – * * requires version 4.9+ to install (the ‘-fstack-protector-strong compilation option need to be supported).
Solution:
1. Check the version through
ls /usr/bin/gcc*. If not, install the corresponding version;
2. Then use the following command to perform version management
sudo update-alternatives –install /usr/bin/gcc gcc /usr/bin/gcc-5 100
3. Switch the new version of gcc with the following command
sudo update-alternatives –config gcc
4. Reinstall the VBoxGuestAdditions tool
cd /opt/VBoxGuestAdditions-6.1.36/init
sudo vboxadd setup
5. Finally, the problem was solved by re-hanging it in the directory
Read More:
- [Solved] Samba Mount Error: mount error(22): Invalid argument
- [Solved] Centos Mount Error: XFS: log mount mount/recovery failed : error -117
- Ubuntu Run Error: not syncing : VFS: Unable to mount root
- How to Fix Ubuntu(Linux) mount error(22)
- mysqlclient in Ubuntu: How to Solve mysqlclient Install Error
- Ubuntu 20.04 Desktop Install sublime-text Error: “Certificate verification failed”
- [Solved] Ubuntu 20.04 install MATLAB and toolbox permissions Error
- [Solved] Mount error: Mount: unknown filesystem type ‘defaults’
- [Solved] Ubuntu20.04 Error: “Failed to install the following Android SDK packages as some licences have not..“error
- How to Solve Xmind Install Error in Ubuntu System
- Windows11 Install Ubuntu Error: WslRegisterDistribution failed with error: 0x800701bc
- Ubuntu Server: How to Install Chrome
- How to Solve labelme Install Error in Ubuntu
- Ubuntu18.04 Install ROS Error: rosdep update [How to Solve]
- [Solved] chroot: failed to run command ‘mount’: Exec format error
- Ubuntu20.04 install the ROS noetic version in catkin_Problems in make compilation
- [Solved] Yum Install Software Error: Invalid configuration value: failovermethod=priority…
- [Solved] Linux Calls mmap Error: mmap: Invalid argument
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- ubuntu install package Error: subprocess installed post-installation script returned error exit status 10