Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well I get error when it compile drivers and things. Here it is.
Code:
cd drivers && make KSRC=/lib/modules/2.6.29.6-smp/build 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 wrapper && make clean && cd ..
make[1]: Entering directory `/usr/lib/parallels/wrapper'
rm -f parallels-wrapper
make[1]: Leaving directory `/usr/lib/parallels/wrapper'
cd drivers && make KSRC=/lib/modules/2.6.29.6-smp/build 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 KSRC=/lib/modules/2.6.29.6-smp/build && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_main'
make -C /lib/modules/2.6.29.6-smp/build SUBDIRS=/usr/lib/parallels/drivers/drv_main SRCROOT=/usr/lib/parallels/drivers/drv_main modules
make[3]: Entering directory `/usr/src/linux-2.6.29.6'
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:193: error: field 'pmmAccSem' has incomplete type
/usr/lib/parallels/drivers/drv_main/vmmain.h:206: error: field 'wsSem' has incomplete type
In file included from /usr/lib/parallels/drivers/drv_main/vmmain.h:228,
from /usr/lib/parallels/drivers/drv_main/vmmain.c:29:
/usr/lib/parallels/drivers/drv_main/mm/mm.h:25:27: error: asm/semaphore.h: No such file or directory
In file included from /usr/lib/parallels/drivers/drv_main/vmmain.h:228,
from /usr/lib/parallels/drivers/drv_main/vmmain.c:29:
/usr/lib/parallels/drivers/drv_main/mm/mm.h:99: error: field 'accSem' has incomplete type
/usr/lib/parallels/drivers/drv_main/mm/mm.h: In function 'vmWsetSetup':
/usr/lib/parallels/drivers/drv_main/mm/mm.h:207: error: implicit declaration of function 'sema_init'
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.6'
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
And as per "/usr/lib/parallels/drivers/drv_main/mm/mm.h:25:27: error: asm/semaphore.h: No such file or directory" I believe there's some header file not in my machine?
You might have a good reason to want parallel, but normally, VMware and VirtualBox are better supported. Your problem come from the fact that the kernel API is not totally frozen, so software have to adapt their build to every new kernel, your don't look to be supported, so it is the first error of probably 7-15. Even if you patch the code, you will get a new one.
KVM is the only one you can be sure it will work, but it is not the fastest or the most friendly. VirtualBox and Vmware server are usually easy to install, and work with mor kernel version.
You're missing a few assembler libraries. And also, as other members have said, Parallels won't work on most distros (AFAIK, they sync to the ubuntu kernel).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.