LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-05-2010, 01:25 AM   #1
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Rep: Reputation: 17
Question Installing Parallels on Linux (Slackware 13)


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?

System: Slackware 13
Kernel: 2.6.29.6

i386 platform

Any suggestions ?
 
Old 06-05-2010, 01:42 AM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
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.
 
1 members found this post helpful.
Old 06-05-2010, 01:52 AM   #3
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
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).
 
1 members found this post helpful.
Old 06-05-2010, 02:17 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,311

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
Say you did :
make CC="gcc -I/usr/src/linux-2.6.29.6/include -I/usr/include"
... there is no asm/semaphore.h in or for this kernel.

(The file '/usr/src/linux-2.6.29.6/include/linux/semaphore.h'
is present.)

So you have more than on reason for it not to work,
as already said in #2 and #3.

Last edited by knudfl; 06-06-2010 at 02:45 AM.
 
1 members found this post helpful.
Old 06-05-2010, 02:18 AM   #5
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Original Poster
Rep: Reputation: 17
Ok. Will go for VirtualBox then.
 
  


Reply

Tags
parallels


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Linux on a Mac with parallels jerraldo Linux - Newbie 1 06-09-2008 11:04 PM
Parallels Desktop and Linux vvkozmenko Linux - Software 0 03-02-2007 02:17 PM
For anyone installing Ubuntu on Parallels Desktop for Mac Locura Ubuntu 0 12-18-2006 07:09 PM
Linux on Parallels 2.2 - Virtualisation caulfiek Linux - Hardware 1 11-03-2006 05:34 PM
Slackware On Parallels Desktop nephalem Slackware 7 06-17-2006 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration