Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Discussions about using Linux guests in VirtualBox.
Post Reply
Rui Baptista
Posts: 61
Joined: 23. Dec 2010, 05:03
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, ...

Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by Rui Baptista »

Hello

During my experiments I ended up testing Ubuntu 23.10. I did the normal thing, that is, I started by connecting a shared folder to my Windows machine and ended up installing 'sudo apt install build-essential'.

However, something went wrong because I ended up losing the shared folder.

1. I have an i7-7500U processor
2. I tested versions 6.1.46 and 7.0.10
3. I went to the 'apt install g++ make' test but I don't know what else to do

Best Regards
Rui
Attachments
Logs.zip
(78.73 KiB) Downloaded 391 times
Jaime643
Posts: 4
Joined: 17. Oct 2023, 09:03

Re: Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by Jaime643 »

Same problem here. Found these entries in vboxadd-setup.log:

Building the main Guest Additions 7.0.10 module for kernel 6.5.0-9-generic.
Building the shared folder support module.
Building the graphics driver module.
Error building the module. Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/6.5.0-9-generic/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
You are using: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0

Tried every prereq I could think of. No result.

Where to get x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0?
Last edited by Jaime643 on 17. Oct 2023, 09:31, edited 2 times in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by mpack »

@Rui Baptista.

Your log shows very obsolete GAs installed. Let's fix that and then let's see where we are.
00:00:15.530399 VMMDev: Guest Log: vboxguest: host-version: 7.0.10r158379 0x8000000f
00:00:15.530457 VMMDev: Guest Additions information report: Version 6.0.0 r127566 '6.0.0'
Pay careful attention to error messages seen when building the GAs in Linux. In particular you need the correct kernel headers package, i.e. the ones that match your guest's kernel.
Rui Baptista
Posts: 61
Joined: 23. Dec 2010, 05:03
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, ...

Re: Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by Rui Baptista »

@mpack:

1. Terminal.1 is the result of running a shared folder
2. Terminal.2 is, responding to the shared folder, the result of running 'sudo apt install gcc make perl'
3. VBox.23.10 is the result found in Logs. Here I find things that you found in the aforementioned log
4. VBox.23.04 is the results of an Ubuntu 23.04 installation. It does not have Version 6.0.0 mentioned

As a result of 'apt install gcc make perl' I ended up losing the shared folders

Best Regards
Rui
Attachments
Logs.zip
(76.72 KiB) Downloaded 397 times
fth0
Volunteer
Posts: 5690
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by fth0 »

I'd suggest to try the current VirtualBox 7.0.12 first. The background reason is that VirtualBox 7.0.10 is older than Ubuntu 23.10, so problems can be expected. Additionally, the support for Linux kernels 6.5 and 6.6 was enhanced in VirtualBox 7.0.12.
Jaime643
Posts: 4
Joined: 17. Oct 2023, 09:03

Re: Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by Jaime643 »

@fth0: That flies. Tnx.
Rui Baptista
Posts: 61
Joined: 23. Dec 2010, 05:03
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, ...

Re: Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by Rui Baptista »

@fth0:

Thank you for your attention, it resolved my problem!

Rui
AlexisWilke
Posts: 28
Joined: 11. Mar 2021, 19:25

Re: Ubuntu 23.10 fails to open shared folders with 'sudo apt install g++ make'

Post by AlexisWilke »

I'd like to mention that I had some issues with 23.10 and in my case, the installation did not work properly until I setup my settings to use a single CPU while installing. I still have to test SMP now that it was successfully installed. I think I have had that issue before. Rather strange that the OS could not be properly installed with 16 CPUs.
Post Reply