<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Century Gothic">Hello Everyone,<br>
<br>
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 :<br>
 <br>
Redhat AS 4' installation running as 'amd64' <br>
kernel 2.6.9-89.0.16.EL<br>
<br>
Kernel Packages installed:<br>
kernel-devel-2.6.9-89.0.16.EL (Headers Included)<br>
<br>
Hoping one of you have seen and can help me with problem below<br>
<br>
Compilation Error:<br>
[root@cadredlinux cdrom]# cat /var/log/vboxadd-install.log <br>
<br>
Installing VirtualBox 3.0.10 Guest Additions, built Mon Nov  2 14:11:46
CET 2009<br>
Testing the setup of the guest system  Building test kernel module
vboxadd_test...<br>
 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<br>
mkdir -p /tmp/selfgz798724695/module/test/.tmp_versions<br>
make -f scripts/Makefile.build obj=/tmp/selfgz798724695/module/test<br>
  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<br>
In file included from include/asm/system.h:5,<br>
                 from include/asm/processor.h:18,<br>
                 from include/asm/thread_info.h:16,<br>
                 from include/linux/thread_info.h:21,<br>
                 from include/linux/spinlock.h:12,<br>
                 from include/linux/capability.h:45,<br>
                 from include/linux/sched.h:7,<br>
                 from include/linux/module.h:10,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/linux/kernel.h:106: warning: conflicting types for built-in
function `snprintf'<br>
include/linux/kernel.h:107: warning: conflicting types for built-in
function `vsnprintf'<br>
In file included from include/linux/bitmap.h:8,<br>
                 from include/linux/cpumask.h:78,<br>
                 from include/linux/sched.h:15,<br>
                 from include/linux/module.h:10,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/linux/string.h:18: warning: conflicting types for built-in
function `strspn'<br>
include/linux/string.h:19: warning: conflicting types for built-in
function `strcspn'<br>
In file included from include/linux/string.h:26,<br>
                 from include/linux/bitmap.h:8,<br>
                 from include/linux/cpumask.h:78,<br>
                 from include/linux/sched.h:15,<br>
                 from include/linux/module.h:10,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/asm/string.h:312: warning: conflicting types for built-in
function `memmove'<br>
In file included from include/linux/bitmap.h:8,<br>
                 from include/linux/cpumask.h:78,<br>
                 from include/linux/sched.h:15,<br>
                 from include/linux/module.h:10,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/linux/string.h:88: warning: conflicting types for built-in
function `__builtin_memcmp'<br>
In file included from include/asm/smp.h:18,<br>
                 from include/linux/smp.h:99,<br>
                 from include/linux/sched.h:23,<br>
                 from include/linux/module.h:10,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory<br>
In file included from include/asm/smp.h:18,<br>
                 from include/linux/smp.h:99,<br>
                 from include/linux/sched.h:23,<br>
                 from include/linux/module.h:10,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in
a function)<br>
include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in
a function)<br>
include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in
a function)<br>
include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in
a function)<br>
include/asm/mpspec.h:21: error: `MAX_MP_BUSSES' undeclared here (not in
a function)<br>
include/asm/mpspec.h:21: error: conflicting types for
`mp_bus_id_to_type'<br>
include/asm/mpspec.h:8: error: previous declaration of
`mp_bus_id_to_type'<br>
include/asm/mpspec.h:23: error: `MAX_IRQ_SOURCES' undeclared here (not
in a function)<br>
include/asm/mpspec.h:25: error: `MAX_MP_BUSSES' undeclared here (not in
a function)<br>
include/asm/mpspec.h:25: error: conflicting types for
`mp_bus_id_to_pci_bus'<br>
include/asm/mpspec.h:12: error: previous declaration of
`mp_bus_id_to_pci_bus'<br>
In file included from include/asm/smp.h:20,<br>
                 from include/linux/smp.h:99,<br>
                 from include/linux/sched.h:23,<br>
                 from include/linux/module.h:10,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/asm/io_apic.h:163: error: `MAX_IRQ_SOURCES' undeclared here
(not in a function)<br>
include/asm/io_apic.h:163: error: conflicting types for `mp_irqs'<br>
include/asm/mpspec.h:23: error: previous declaration of `mp_irqs'<br>
In file included from include/asm/elf.h:12,<br>
                 from include/linux/elf.h:5,<br>
                 from include/linux/module.h:17,<br>
                 from /tmp/selfgz798724695/module/test/test.c:11:<br>
include/asm/desc.h: In function `__set_tss_desc':<br>
include/asm/desc.h:55: warning: cast from pointer to integer of
different size<br>
include/asm/desc.h: In function `set_ldt_desc':<br>
include/asm/desc.h:62: warning: cast from pointer to integer of
different size<br>
make[2]: *** [/tmp/selfgz798724695/module/test/test.o] Error 1<br>
make[1]: *** [_module_/tmp/selfgz798724695/module/test] Error 2<br>
make: *** [vboxadd_test] Error 2<br>
<br>
Building the test kernel module vboxadd_test failed.<br>
Giving up due to the problems mentioned above.<br>
</font></font><br>
Jose<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.05020601.06050501@sun.com" border="0"></div>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part2.00080108.04040005@sun.com" border="0"></div>
</body>
</html>