VirtualBox

Ticket #10501 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Building the shared folder support module fails

Reported by: Urhixidur Owned by:
Priority: major Component: guest additions
Version: VirtualBox 4.1.4 Keywords: shared folder support module
Cc: Guest type: Linux
Host type: Windows

Description

This is for a fresh Ubuntu 12.04 install (64-bits) (kernel 3.2.0-23-generic):

Uncompressing VirtualBox 4.1.4 Guest Additions for Linux......... VirtualBox Guest Additions installer add_symlink: link file /usr/src/vboxguest-4.1.4 already exists Removing existing VirtualBox DKMS kernel modules ...done. Removing existing VirtualBox non-DKMS kernel modules ...done. Building the VirtualBox Guest Additions kernel modules The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason.

Building the main Guest Additions module ...done. Building the shared folder support module ...fail! (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions ...done. Installing the Window System drivers Installing X.Org Server 1.11 modules ...done. Setting up the Window System to use the Guest Additions ...done. You may need to restart the hal service and the Window System (or just restart the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services components ...done. Press Return to close this window...

The aforementioned log file ends with:

gcc -Wp,-MD,/tmp/vbox.0/.utils.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6/include -I/usr/src/linux-headers-3.2.0-23-generic/arch/x86/include -Iarch/x86/include/generated -Iinclude -include /usr/src/linux-headers-3.2.0-23-generic/include/linux/kconfig.h -Iubuntu/include -DKERNEL -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -fshort-wchar -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -I/lib/modules/3.2.0-23-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxsf/ -I/tmp/vbox.0/vboxsf/include -I/tmp/vbox.0/vboxsf/r0drv/linux -DKERNEL -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DIN_MODULE -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(utils)" -D"KBUILD_MODNAME=KBUILD_STR(vboxsf)" -c -o /tmp/vbox.0/.tmp_utils.o /tmp/vbox.0/utils.c

/tmp/vbox.0/utils.c: In function ‘sf_init_inode’: /tmp/vbox.0/utils.c:113:9: erreur: assignment of read-only member ‘i_nlink’ /tmp/vbox.0/utils.c:122:9: erreur: assignment of read-only member ‘i_nlink’ /tmp/vbox.0/utils.c:132:9: erreur: assignment of read-only member ‘i_nlink’ /tmp/vbox.0/utils.c: In function ‘sf_nlscpy’: /tmp/vbox.0/utils.c:563:13: attention : passing argument 3 of ‘utf8_to_utf32’ from incompatible pointer type [enabled by default] include/linux/nls.h:53:12: note: expected ‘unicode_t *’ but argument is of type ‘wchar_t *’ make[2]: * tmp/vbox.0/utils.o Erreur 1 make[1]: * [_module_/tmp/vbox.0] Erreur 2 make: * [vboxsf] Erreur 2 Creating user for the Guest Additions. Creating udev rule for the Guest Additions kernel module.

I will now try to upgrade my Virtual Box to see if this goes away, as there are similar bug reports (regarding OpenGL build failure, though).

Change History

comment:1 Changed 2 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

VirtualBox 4.1.4 was released in October 2011, Ubuntu 12.04 was released in April 2012! Please upgrade to VirtualBox 4.1.14, in particular the Guest Additions. The Guest Additions can be downloaded as a separate .iso image, see  here.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use