I"m trying to install an older version of Linux (need to run some old software) under VBox.
This is RH version 7.1, the install went fine (except XWindows doesn't work), but the Guest Additions install fails with a cryptic message:
Installing VirtualBox 1.6.4 Guest Additions, built Tue Jul 29 20:13:59 CEST 2008
Testing the setup of the guest system
Building a test kernel module...
cc -DVBOX_LINUX_2_4 -I/lib/modules/2.4.2-2/build/include -I/tmp/selfgz962940/module/test/ -I/tmp/selfgz962940/module/test/include -I/tmp/selfgz962940/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_HGCM -c -o test.o test.c
test.c:15: parse error before string constant
test.c:15: warning: data definition has no type or storage class
make: *** [test.o] Error 1
Building the test kernel module failed.
Giving up due to the problems mentioned above.
Since it deletes the stuff in /tmp when it quits, as far as I can tell, I can't actually tell what the problem it's having on line 15.
Any ideas?