VirtualBox

Ticket #1304 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

vboxvfs error

Reported by: zdavatz Owned by:
Priority: major Component: other
Version: VirtualBox 1.5.6 Keywords: vboxvfs error
Cc: Guest type: other
Host type: other

Description

when doing kmk in my Vobx-1.5.6-directory I get the following error:

kBuild: Compiling vboxvfs - vfsmod.c In file included from /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/vfsmod.c:94: /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/dirops.c: In function 'sf_lookup': /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/dirops.c:289: warning: implicit declaration of function 'iget' /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/dirops.c:289: warning: assignment makes pointer from integer without a cast /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/dirops.c: In function 'sf_instantiate': /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/dirops.c:341: warning: assignment makes pointer from integer without a cast /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/vfsmod.c: In function 'sf_read_super_aux': /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/vfsmod.c:260: warning: assignment makes pointer from integer without a cast /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/vfsmod.c: At top level: /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/vfsmod.c:373: error: unknown field 'read_inode' specified in initializer /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/vfsmod.c:373: warning: initialization from incompatible pointer type kmk[5]: * home/zeno/.software/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/Additions/linux/sharedfolders/vboxvfs/vfsmod.o Error 1 The failing command:

@gcc -c -O2 -nostdinc -iwithprefix include -O2 -Wall -Wstrict-prototypes -Wno-trigraphs -Wno-pointer-sign -fno-stack-protector -fno-strict-aliasing -fno-common -mpreferred-stack-boundary=2 -msoft-float -fshort-wchar -I../../common/VBoxGuestLib -I/home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Runtime/r0drv/linux -I/lib/modules/2.6.25-rc2/build/include -I/lib/modules/2.6.25-rc2/build/include/asm-i386/mach-default -I/lib/modules/2.6.25-rc2/build/include/asm-x86/mach-default -I/home/zeno/.software/VirtualBox-1.5.6_OSE/include -I/home/zeno/.software/VirtualBox-1.5.6_OSE/out/linux.x86/release -DVBOX -DVBOX_WITHOUT_IDT_PATCHING -DVBOX_OSE -DRT_OS_LINUX -DLINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -DX86 -DKBUILD_MODNAME=KBUILD_STR\(vboxadd\) -DKBUILD_BASENAME=KBUILD_STR\(vboxadd\) -DMODULE -DIN_RING0 -DIN_RT_R0 -DVBOXGUEST -DVBOX_HGCM -DKERNEL -DMODULE -DIN_GUEST -DIN_GUEST_R0 -DIN_RING0 -DIN_RT_R0 -Wp,-MD,/home/zeno/.software/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/Additions/linux/sharedfolders/vboxvfs/vfsmod.o.dep -Wp,-MT,/home/zeno/.software/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/Additions/linux/sharedfolders/vboxvfs/vfsmod.o -Wp,-MP -o /home/zeno/.software/VirtualBox-1.5.6_OSE/out/linux.x86/release/obj/src/VBox/Additions/linux/sharedfolders/vboxvfs/vfsmod.o /home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders/vfsmod.c

kmk[5]: Leaving directory `/home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux/sharedfolders' kmk[4]: * [pass_binaries_before] Error 2 kmk[4]: Leaving directory `/home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions/linux' kmk[3]: * [pass_binaries_before] Error 2 kmk[3]: Leaving directory `/home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox/Additions' kmk[2]: * [pass_binaries_before] Error 2 kmk[2]: Leaving directory `/home/zeno/.software/VirtualBox-1.5.6_OSE/src/VBox' kmk[1]: * [pass_binaries_before] Error 2 kmk[1]: Leaving directory `/home/zeno/.software/VirtualBox-1.5.6_OSE/src' kmk: * [pass_binaries_before] Error 2

Thank you for your Feedback.

Zeno

Change History

comment:1 Changed 6 years ago by frank

I assume that you try to compile the modules against a Linux 2.6.25 kernel which is not yet supported.

comment:2 Changed 6 years ago by frank

Compiling against 2.6.25-rc6 should work now. Please could you check the SVN version?

comment:3 Changed 6 years ago by mgunay

i tried to compile 2.6.25-rc8 and VirtualBox_OSE svn revision 7749 but;

c/moc_VBoxNetworkFramework.cpp kBuild: uic VirtualBox - ui/VBoxDiskImageManagerDlg.ui kBuild: uic VirtualBox - ui/VBoxNewHDWzd.ui kBuild: uic VirtualBox - ui/VBoxDiskImageManagerDlg.ui kmk[4]: * var/pisi/virtualbox-1.5.6.1-21/work/VirtualBox-1.5.6-1_OSE/out/linux.x86/release/obj/src/VBox/Frontends/VirtualBox/VirtualBox/ui/VBoxDiskImageManagerDlg.cpp Parçalama arızası kmk[4]: * Deleting file `/var/pisi/virtualbox-1.5.6.1-21/work/VirtualBox-1.5.6-1_OSE/out/linux.x86/release/obj/src/VBox/Frontends/VirtualBox/VirtualBox/ui/VBoxDiskImageManagerDlg.cpp' kmk[4]: Leaving directory `/var/pisi/virtualbox-1.5.6.1-21/work/VirtualBox-1.5.6-1_OSE/src/VBox/Frontends/VirtualBox' kmk[3]: * [pass_binaries_after] Error 2 kmk[3]: Leaving directory `/var/pisi/virtualbox-1.5.6.1-21/work/VirtualBox-1.5.6-1_OSE/src/VBox/Frontends' kmk[2]: * [pass_binaries_before] Error 2 kmk[2]: Leaving directory `/var/pisi/virtualbox-1.5.6.1-21/work/VirtualBox-1.5.6-1_OSE/src/VBox' kmk[1]: * [pass_binaries_before] Error 2 kmk[1]: Leaving directory `/var/pisi/virtualbox-1.5.6.1-21/work/VirtualBox-1.5.6-1_OSE/src' kmk: * [pass_binaries_before] Error 2 DEBUG: "source env.sh && kmk" için dönüş değeri 2 Sistem Hatası: Program Sonlandırıldı. exceptions.OSError: [Errno 2] Böyle bir dosya ya da dizin yok: 'out/linux.x86/release/bin/src'

comment:4 Changed 6 years ago by frank

The last error is not related to vboxvfs. Next time please use the vbox-users mailing list to report compile problems. Please could you translate the messages into English?

comment:5 Changed 6 years ago by frank

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

Please retry with 1.6.0 and reopen if necessary.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use