uname : Linux 2.6.25-1.fc9.i686'
gcc -v : gcc version 4.3.0 20080416 (Red Hat 4.3.0-7) (GCC)
./VBoxLinuxAdditions.run :
Verifying archive integrity... All good.
Uncompressing VirtualBox 1.5.7 Guest Additions for Linux installation.......
VirtualBox 1.5.7 Guest Additions installation
Building the VirtualBox Guest Additions kernel module...
Building the shared folder support kernel module...
Unable to build the kernel module. See the log file /var/log/vboxadd-install.log
for more details.
tail -30 /var/log/vboxadd-install.log :
gcc -Wp,-MD,/tmp/vbox.1/.vfsmod.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.3.0/include -DKERNEL -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-generic -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fshort-wchar -I/lib/modules/2.6.25-1.fc9.i686/build/include -I/tmp/vbox.1/ -I/tmp/vbox.1/include -I/tmp/vbox.1/r0drv/linux -DKERNEL -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBOX_HGCM -DLOG_TO_BACKDOOR -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vfsmod)" -D"KBUILD_MODNAME=KBUILD_STR(vboxvfs)" -c -o /tmp/vbox.1/vfsmod.o /tmp/vbox.1/vfsmod.c
In file included from /tmp/vbox.1/vfsmod.c:95:
/tmp/vbox.1/dirops.c: In function ‘sf_lookup’:
/tmp/vbox.1/dirops.c:289: error: implicit declaration of function ‘iget’
/tmp/vbox.1/dirops.c:289: warning: assignment makes pointer from integer without a cast
/tmp/vbox.1/dirops.c: In function ‘sf_instantiate’:
/tmp/vbox.1/dirops.c:341: warning: assignment makes pointer from integer without a cast
/tmp/vbox.1/vfsmod.c: In function ‘sf_read_super_aux’:
/tmp/vbox.1/vfsmod.c:260: warning: assignment makes pointer from integer without a cast
/tmp/vbox.1/vfsmod.c: At top level:
/tmp/vbox.1/vfsmod.c:373: error: unknown field ‘read_inode’ specified in initializer
/tmp/vbox.1/vfsmod.c:373: warning: initialization from incompatible pointer type
make[2]: *** /tmp/vbox.1/vfsmod.o Error 1
make[1]: *** [_module_/tmp/vbox.1] Error 2
make: *** [vboxvfs] Error 2
Hope this helps.
Best regards.