|
Hello Everyone, l hope l am sending this to the right location. l have been investigating a compilation problem with the 'VBox Guest Addition' software, details on the installation : Redhat AS 4' installation running as 'amd64' kernel 2.6.9-89.0.16.EL Kernel Packages installed: kernel-devel-2.6.9-89.0.16.EL (Headers Included) Hoping one of you have seen and can help me with problem below Compilation Error: [r...@cadredlinux cdrom]# cat /var/log/vboxadd-install.log Installing VirtualBox 3.0.10 Guest Additions, built Mon Nov 2 14:11:46 CET 2009 Testing the setup of the guest system Building test kernel module vboxadd_test... make KBUILD_VERBOSE=1 -C /lib/modules/2.6.9-89.0.16.EL/build SUBDIRS=/tmp/selfgz798724695/module/test SRCROOT=/tmp/selfgz798724695/module/test modules mkdir -p /tmp/selfgz798724695/module/test/.tmp_versions make -f scripts/Makefile.build obj=/tmp/selfgz798724695/module/test gcc -Wp,-MD,/tmp/selfgz798724695/module/test/.test.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fno-delete-null-pointer-checks -Os -fomit-frame-pointer -g -Wdeclaration-after-statement -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -I/lib/modules/2.6.9-89.0.16.EL/build/include -I/tmp/selfgz798724695/module/test/ -I/tmp/selfgz798724695/module/test/include -I/tmp/selfgz798724695/module/test/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_WITH_HGCM -DMODULE -DKBUILD_BASENAME=test -DKBUILD_MODNAME=vboxadd_test -c -o /tmp/selfgz798724695/module/test/.tmp_test.o /tmp/selfgz798724695/module/test/test.c In file included from include/asm/system.h:5, from include/asm/processor.h:18, from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from /tmp/selfgz798724695/module/test/test.c:11: include/linux/kernel.h:106: warning: conflicting types for built-in function `snprintf' include/linux/kernel.h:107: warning: conflicting types for built-in function `vsnprintf' In file included from include/linux/bitmap.h:8, from include/linux/cpumask.h:78, from include/linux/sched.h:15, from include/linux/module.h:10, from /tmp/selfgz798724695/module/test/test.c:11: include/linux/string.h:18: warning: conflicting types for built-in function `strspn' include/linux/string.h:19: warning: conflicting types for built-in function `strcspn' In file included from include/linux/string.h:26, from include/linux/bitmap.h:8, from include/linux/cpumask.h:78, from include/linux/sched.h:15, from include/linux/module.h:10, from /tmp/selfgz798724695/module/test/test.c:11: include/asm/string.h:312: warning: conflicting types for built-in function `memmove' In file included from include/linux/bitmap.h:8, from include/linux/cpumask.h:78, from include/linux/sched.h:15, from include/linux/module.h:10, from /tmp/selfgz798724695/module/test/test.c:11: include/linux/string.h:88: warning: conflicting types for built-in function `__builtin_memcmp' In file included from include/asm/smp.h:18, from include/linux/smp.h:99, from include/linux/sched.h:23, from include/linux/module.h:10, from /tmp/selfgz798724695/module/test/test.c:11: include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory In file included from include/asm/smp.h:18, from include/linux/smp.h:99, from include/linux/sched.h:23, from include/linux/module.h:10, from /tmp/selfgz798724695/module/test/test.c:11: include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function) include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function) include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function) include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function) include/asm/mpspec.h:21: error: `MAX_MP_BUSSES' undeclared here (not in a function) include/asm/mpspec.h:21: error: conflicting types for `mp_bus_id_to_type' include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type' include/asm/mpspec.h:23: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) include/asm/mpspec.h:25: error: `MAX_MP_BUSSES' undeclared here (not in a function) include/asm/mpspec.h:25: error: conflicting types for `mp_bus_id_to_pci_bus' include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus' In file included from include/asm/smp.h:20, from include/linux/smp.h:99, from include/linux/sched.h:23, from include/linux/module.h:10, from /tmp/selfgz798724695/module/test/test.c:11: include/asm/io_apic.h:163: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) include/asm/io_apic.h:163: error: conflicting types for `mp_irqs' include/asm/mpspec.h:23: error: previous declaration of `mp_irqs' In file included from include/asm/elf.h:12, from include/linux/elf.h:5, from include/linux/module.h:17, from /tmp/selfgz798724695/module/test/test.c:11: include/asm/desc.h: In function `__set_tss_desc': include/asm/desc.h:55: warning: cast from pointer to integer of different size include/asm/desc.h: In function `set_ldt_desc': include/asm/desc.h:62: warning: cast from pointer to integer of different size make[2]: *** [/tmp/selfgz798724695/module/test/test.o] Error 1 make[1]: *** [_module_/tmp/selfgz798724695/module/test] Error 2 make: *** [vboxadd_test] Error 2 Building the test kernel module vboxadd_test failed. Giving up due to the problems mentioned above. Jose --
![]() --
![]() |
_______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev


