Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222745 - parallels-workstation-2.2.2112-r1 module fails to build
Summary: parallels-workstation-2.2.2112-r1 module fails to build
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-18 23:17 UTC by G. Gibson
Modified: 2015-06-12 01:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description G. Gibson 2008-05-18 23:17:32 UTC
parallels-config


     Compiling Parallels Workstation 2.2 drivers...

Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
and follow instructions specified in this document.

Compilation log is available at /usr/lib/parallels/comp.log.20377.error

Reproducible: Always

Steps to Reproduce:
1.  parallels-config
2.
3.

Actual Results:  
parallels-config


     Compiling Parallels Workstation 2.2 drivers...

Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
and follow instructions specified in this document.

Compilation log is available at /usr/lib/parallels/comp.log.20377.error

Expected Results:  
ready to run

log file content (module build):

more /usr/lib/parallels/comp.log.20377.error 
cd drivers && make clean && cd ../
make[1]: Entering directory `/usr/lib/parallels/drivers'
cd drv_main/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_main'
rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
cd common; rm -rf *.o .*.cmd .tmp_versions; cd ..
cd mm; rm -rf *.o .*.cmd .tmp_versions; cd ..
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_main'
cd hypervisor/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
cd drv_net/linux/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_net/linux'
rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_net/linux'
cd drv_virtualnic/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_virtualnic'
rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_virtualnic'
make[1]: Leaving directory `/usr/lib/parallels/drivers'
cd drivers && make all && cd ../
make[1]: Entering directory `/usr/lib/parallels/drivers'
cd drv_main/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_main'
rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
cd common; rm -rf *.o .*.cmd .tmp_versions; cd ..
cd mm; rm -rf *.o .*.cmd .tmp_versions; cd ..
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_main'
cd hypervisor/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
cd drv_net/linux/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_net/linux'
rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_net/linux'
cd drv_virtualnic/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_virtualnic'
rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_virtualnic'
cd drv_main/ && make && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_main'
make -C /lib/modules/2.6.24-gentoo-r3/build SUBDIRS=/usr/lib/parallels/drivers/drv_main SRCROOT=/usr/lib/parallels/drivers/drv_main modul
es
make[3]: Entering directory `/usr/src/linux-2.6.24-gentoo-r3'
  CC [M]  /usr/lib/parallels/drivers/drv_main/vmmain.o
In file included from /usr/lib/parallels/drivers/drv_main/vmmain.c:29:
/usr/lib/parallels/drivers/drv_main/vmmain.h:192: error: field 'pmmAccSem' has incomplete type
/usr/lib/parallels/drivers/drv_main/vmmain.h:196: error: expected specifier-qualifier-list before 'kmem_cache_t'
/usr/lib/parallels/drivers/drv_main/vmmain.h:205: error: field 'wsSem' has incomplete type
/usr/lib/parallels/drivers/drv_main/vmmain.c: In function 'init_module':
/usr/lib/parallels/drivers/drv_main/vmmain.c:82: error: 'struct <anonymous>' has no member named 'totalMem'
make[4]: *** [/usr/lib/parallels/drivers/drv_main/vmmain.o] Error 1
make[3]: *** [_module_/usr/lib/parallels/drivers/drv_main] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_main'
make[1]: *** [vmmain] Error 2
make[1]: Leaving directory `/usr/lib/parallels/drivers'
make: *** [build] Error 2
Comment 1 Andrey V. Romanchev 2008-05-20 12:37:03 UTC
Please, try to emerge 2.2.2112-r2.
Comment 2 G. Gibson 2008-05-21 15:37:55 UTC
attempted to install 2.2.2112-r2, but the patch failed (as per bug # 214719)

I've used parallels on the Mac and its great.  I look forward to it actually working on gentoo.  At present, it seems impossible to get it built much less tested.

Thanks.
Comment 3 Andrey V. Romanchev 2008-05-21 15:46:15 UTC
Unfortunately PD for Mac and PW 2.2 for Linux is completely different products.
Old version of PW often fails to build on new Linux kernels. You should use latest version.
Comment 4 Andrey V. Romanchev 2008-05-21 15:48:41 UTC
I've mentioned about 2.2.2222, when it will be available in portage.
Comment 5 Fire Crow 2009-07-15 03:35:13 UTC
(In reply to comment #0)
> parallels-config

> In file included from /usr/lib/parallels/drivers/drv_main/vmmain.c:29:
> /usr/lib/parallels/drivers/drv_main/vmmain.h:192: error: field 'pmmAccSem' has
> incomplete type

I'm having a similar issue with the parallels-config command

install appears to be fine but the config says:


$tail /usr/lib/parallels/comp.log.4813.error
make[3]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5'
  CC [M]  /usr/lib/parallels/drivers/drv_main/vmmain.o
In file included from /usr/lib/parallels/drivers/drv_main/vmmain.c:29:
/usr/lib/parallels/drivers/drv_main/vmmain.h:192: error: field 'pmmAccSem' has incomplete type
/usr/lib/parallels/drivers/drv_main/vmmain.h:196: error: expected specifier-qualifier-list before 'kmem_cache_t'
/usr/lib/parallels/drivers/drv_main/vmmain.h:205: error: field 'wsSem' has incomplete type
/usr/lib/parallels/drivers/drv_main/vmmain.c: In function 'init_module':
/usr/lib/parallels/drivers/drv_main/vmmain.c:82: error: 'struct <anonymous>' has no member named 'totalMem'
make[4]: *** [/usr/lib/parallels/drivers/drv_main/vmmain.o] Error 1
make[3]: *** [_module_/usr/lib/parallels/drivers/drv_main] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_main'
make[1]: *** [vmmain] Error 2
make[1]: Leaving directory `/usr/lib/parallels/drivers'
make: *** [build] Error 2


Comment 6 Alex Xu (Hello71) 2015-06-12 01:14:05 UTC
this package has since been dropped.