VirtualBox

Opened 18 years ago

Closed 18 years ago

#240 closed defect (fixed)

Installing VboxLinuxAdditions on CentOS5 (RHEL5 clone) guest fails

Reported by: rainbowbuilder Owned by:
Component: other Version: VirtualBox 1.3.8
Keywords: VboxLinuxAdditions Cc:
Guest type: other Host type: other

Description

When I try to install the VboxLinuxAdditions on the CentOS5 beta guest (this is a RHEL 5 clone) I get the following in the install log. Is this a problem that I need to report to CentOS or is this a VirtualBox problem.

Building the shared folder support kernel module.

make KBUILD_VERBOSE=1 -C /lib/modules/2.6.18-1.2747.el5/build SUBDIRS=/tmp/vbox.
0 SRCROOT=/tmp/vbox.0 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are 
missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix
 it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions
rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
  gcc -m32 -Wp,-MD,/tmp/vbox.0/.vfsmod.o.d  -nostdinc -isystem /usr/lib/gcc/i386
-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude  -include include/linux/autoc
onf.h  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fn
o-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -
pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts  -mpr
eferred-stack-boundary=2  -march=i686 -mtune=generic -mtune=generic -mregparm=3 
-ffreestanding -Iinclude/asm-i386/mach-generic -Iinclude/asm-i386/mach-default -
fomit-frame-pointer -fasynchronous-unwind-tables -g  -fno-stack-protector -Wdecl
aration-after-statement -Wno-pointer-sign -fshort-wchar -I/lib/modules/2.6.18-1.
2747.el5/build/include  -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv
/linux -D__KERNEL__ -DMODULE -D__LINUX__ -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_
R0 -DVBOX_HGCM -DLOG_TO_BACKDOOR   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASEN
AME=KBUILD_STR(vfsmod)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxvfs)" -c -o /tmp/vbox.
0/.tmp_vfsmod.o /tmp/vbox.0/vfsmod.c
In file included from /tmp/vbox.0/vfsmod.c:130:
/tmp/vbox.0/utils.c: In function ‘sf_init_inode’:
/tmp/vbox.0/utils.c:98: error: ‘struct inode’ has no member named ‘i_blksize’
/tmp/vbox.0/utils.c: In function ‘sf_inode_revalidate’:
/tmp/vbox.0/utils.c:157: error: ‘struct inode’ has no member named ‘u’
In file included from /tmp/vbox.0/vfsmod.c:131:
/tmp/vbox.0/dirops.c: In function ‘sf_dir_open’:
/tmp/vbox.0/dirops.c:30: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c: In function ‘sf_dir_release’:
/tmp/vbox.0/dirops.c:99: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c: In function ‘sf_lookup’:
/tmp/vbox.0/dirops.c:265: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c:300: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c: In function ‘sf_instantiate’:
/tmp/vbox.0/dirops.c:354: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c: In function ‘sf_create_aux’:
/tmp/vbox.0/dirops.c:376: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c: In function ‘sf_unlink_aux’:
/tmp/vbox.0/dirops.c:473: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c: In function ‘sf_rename’:
/tmp/vbox.0/dirops.c:537: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/dirops.c:538: error: ‘struct inode’ has no member named ‘u’
In file included from /tmp/vbox.0/vfsmod.c:132:
/tmp/vbox.0/regops.c: In function ‘sf_reg_write’:
/tmp/vbox.0/regops.c:119: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/regops.c: In function ‘sf_reg_open’:
/tmp/vbox.0/regops.c:197: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/vfsmod.c: In function ‘sf_read_super_aux’:
/tmp/vbox.0/vfsmod.c:305: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/vfsmod.c: In function ‘sf_clear_inode’:
/tmp/vbox.0/vfsmod.c:354: error: ‘struct inode’ has no member named ‘u’
/tmp/vbox.0/vfsmod.c:362: error: ‘struct inode’ has no member named ‘u’
make[2]: *** [/tmp/vbox.0/vfsmod.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvfs] Error 2

gary

Change History (1)

comment:1 by Frank Mehnert, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in svn, fix will be included in the next release. Problem is that redhat ported back some stuff from 2.6.19 to their 2.6.18 kernel.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette