Hi,
I've had parallels-vm working before, but after a fresh install to a new drive, I can't seem to run parallels-config successfully: it terminates with
Code:
Configuring Parallels Workstation 2.1 drivers...
Compiling Parallels Workstation 2.1 drivers...
Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
and follow instructions specified in this document.
Configuration and compilation log is available at /usr/lib/parallels/comp.log.9170.error
Here's a snippet from /usr/lib/parallels/comp.log.9170.error, in which make seems to be trying to build the same object in some recursive loop:
Code:
<snip>
make[1]: Leaving directory `/usr/lib/parallels'
Making all in drivers
make[1]: Entering directory `/usr/lib/parallels/drivers'
Making all in .
make[2]: Entering directory `/usr/lib/parallels/drivers'
=> Patching modules makefiles for 2.6.x kernel ...
for i in hypervisor/Makefile drv_main/Makefile drv_net/linux/Makefile drv_virtualnic/Makefile; do \
sed s/CFLAGS\ =/CFLAGS\ :=\ \$\(CFLAGS\)/ $i | \
sed s/obj_m/obj-m/ | \
sed s/hypervisor_objs/hypervisor-objs/ | \
sed s/vm_main_objs/vm-main-objs/ | \
sed s/vm_bridge_objs/vm-bridge-objs/ | \
sed s/vmvirtualnic_objs/vmvirtualnic-objs/ | \
sed s/_extra_ldflags\ =/EXTRA_LDFLAGS+=/ | \
sed s/_extra_cflags\ =/EXTRA_CFLAGS+=/ | \
sed s/include\ .\\/\$\(DEPDIR\)/#/ > $i.t; mv -f $i.t $i;\
done
cp -f drv_main/common/md5.c hypervisor/;
cp -f drv_main/common/utils.c hypervisor/;
make[2]: Leaving directory `/usr/lib/parallels/drivers'
Making all in hypervisor
make[2]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
make -C /lib/modules/2.6.17-gentoo-r4/build SUBDIRS=/usr/lib/parallels/drivers/hypervisor SRCROOT=/usr/lib/parallels/drivers/hypervisor modules && mv -f
hypervisor.ko hypervisor.o
make[3]: Entering directory `/usr/src/linux-2.6.17-gentoo-r4'
make -C /lib/modules/2.6.17-gentoo-r4/build SUBDIRS=/usr/src/linux-2.6.17-gentoo-r4 SRCROOT=/usr/src/linux-2.6.17-gentoo-r4 modules && mv -f hypervisor.
ko hypervisor.o
make -C /lib/modules/2.6.17-gentoo-r4/build SUBDIRS=/usr/src/linux-2.6.17-gentoo-r4 SRCROOT=/usr/src/linux-2.6.17-gentoo-r4 modules && mv -f hypervisor.
ko hypervisor.o
<snip>
This is repeated several hundred times (with several hundred instances of make running during the compile), finally terminating with
Code:
<snip>
make -C /lib/modules/2.6.17-gentoo-r4/build SUBDIRS=/usr/src/linux-2.6.17-gentoo-r4 SRCROOT=/usr/src/linux-2.6.17-gentoo-r4 modules && mv -f hypervisor.
ko hypervisor.o
make -C /lib/modules/2.6.17-gentoo-r4/build SUBDIRS=/usr/src/linux-2.6.17-gentoo-r4 SRCROOT=/usr/src/linux-2.6.17-gentoo-r4 modules && mv -f hypervisor.
ko hypervisor.o
make -C /lib/modules/2.6.17-gentoo-r4/build SUBDIRS=/usr/src/linux-2.6.17-gentoo-r4 SRCROOT=/usr/src/linux-2.6.17-gentoo-r4 modules && mv -f hypervisor.
ko hypervisor.o
make[787]: execvp: /bin/sh: Argument list too long
make[787]: *** [/usr/src/linux-2.6.17-gentoo-r4/Module.symvers] Error 127
make[786]: *** [/usr/lib/parallels/drivers/hypervisor/hypmain.o] Error 2
make[785]: *** [_module_/usr/lib/parallels/drivers/hypervisor] Error 2
<snip>
make[8]: *** [/usr/lib/parallels/drivers/hypervisor/hypmain.o] Error 2
make[7]: *** [_module_/usr/lib/parallels/drivers/hypervisor] Error 2
make[6]: *** [/usr/lib/parallels/drivers/hypervisor/hypmain.o] Error 2
make[5]: *** [_module_/usr/lib/parallels/drivers/hypervisor] Error 2
make[4]: *** [/usr/lib/parallels/drivers/hypervisor/hypmain.o] Error 2
make[3]: *** [_module_/usr/lib/parallels/drivers/hypervisor] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.17-gentoo-r4'
make[2]: *** [hypervisor] Error 2
make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/parallels/drivers'
make: *** [all-recursive] Error 1
Am using gcc version 4.1.1 (Gentoo 4.1.1), glibc-2.4, binutils-2.16, with
Code:
# uname -a
Linux 2.6.17-gentoo-r4 #3 PREEMPT i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux
Anybody have any ideas on what the problem is?