Can't compile on Ubuntu 6.10 (no rule to make interrupt.o

LaVache

Bit poster
Installed Parallels debian package on Ubuntu 6.10, dealt with the /bin/sh -> dash/bash dealio, now running into compilation errors when running parallels-config.

Tail of the error log:

make[1]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
make -C /lib/modules/2.6.17-10-generic/build SUBDIRS=/usr/lib/parallels/drivers/hypervisor SRCROOT=/usr/lib/parallels/drivers/hypervisor modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /usr/lib/parallels/drivers/hypervisor/hypmain.o
CC [M] /usr/lib/parallels/drivers/hypervisor/hdevice.o
CC [M] /usr/lib/parallels/drivers/hypervisor/hioctls.o
/usr/lib/parallels/drivers/hypervisor/hioctls.c: In function ‘hypIoctl’:
/usr/lib/parallels/drivers/hypervisor/hioctls.c:59: warning: unused variable ‘iVtxSupport’
CC [M] /usr/lib/parallels/drivers/hypervisor/hypvmstate.o
/usr/lib/parallels/drivers/hypervisor/hypvmstate.c: In function ‘hypVMStateAllocate’:
/usr/lib/parallels/drivers/hypervisor/hypvmstate.c:81: warning: passing argument 1 of ‘mmEnableExecution’ makes integer from pointer without a cast
make[3]: *** No rule to make target `/usr/lib/parallels/drivers/hypervisor/interrupt.o', needed by `/usr/lib/parallels/drivers/hypervisor/hypervisor.o'. Stop.
make[2]: *** [_module_/usr/lib/parallels/drivers/hypervisor] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
make: *** [hypervisor] Error 2


I've already got the appropriate kernel headers installed, as well as the build-essential packages. This is a development machine, and I successfully compile a lot of things, just not parallels (?).

Thanks for your help
 
I had the same errors installing things (mainly QEMU) I had to add these:

gcc-3.4
libsdl1.2-dev
checkinstall

Just a stab in the dark but worth a try.

Thanks
 
Try linux-kernel-devel

I had no problems getting parallels-config to build and install. I did also install the linux-kernel-devel and linux-libc-dev packages. You might give those a shot.

Ryan

LaVache said:
Installed Parallels debian package on Ubuntu 6.10, dealt with the /bin/sh -> dash/bash dealio, now running into compilation errors when running parallels-config.

Tail of the error log:

make[1]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
make -C /lib/modules/2.6.17-10-generic/build SUBDIRS=/usr/lib/parallels/drivers/hypervisor SRCROOT=/usr/lib/parallels/drivers/hypervisor modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /usr/lib/parallels/drivers/hypervisor/hypmain.o
CC [M] /usr/lib/parallels/drivers/hypervisor/hdevice.o
CC [M] /usr/lib/parallels/drivers/hypervisor/hioctls.o
/usr/lib/parallels/drivers/hypervisor/hioctls.c: In function ‘hypIoctl’:
/usr/lib/parallels/drivers/hypervisor/hioctls.c:59: warning: unused variable ‘iVtxSupport’
CC [M] /usr/lib/parallels/drivers/hypervisor/hypvmstate.o
/usr/lib/parallels/drivers/hypervisor/hypvmstate.c: In function ‘hypVMStateAllocate’:
/usr/lib/parallels/drivers/hypervisor/hypvmstate.c:81: warning: passing argument 1 of ‘mmEnableExecution’ makes integer from pointer without a cast
make[3]: *** No rule to make target `/usr/lib/parallels/drivers/hypervisor/interrupt.o', needed by `/usr/lib/parallels/drivers/hypervisor/hypervisor.o'. Stop.
make[2]: *** [_module_/usr/lib/parallels/drivers/hypervisor] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
make: *** [hypervisor] Error 2


I've already got the appropriate kernel headers installed, as well as the build-essential packages. This is a development machine, and I successfully compile a lot of things, just not parallels (?).

Thanks for your help
 
Solved!

Problem was solved by installing linux-kernel-devel package; interrupt.o is now built, resulting in a successful Parallels build.

Thanks Ryan, your post helped to resolve the issue.
 
Back
Top