Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-08-2010, 08:00 AM
|
#1
|
|
Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 645
Rep:
|
Slackware64 multi-lib from AlienBOB 13.1 can't compile VMware Server 2.0.2 b-203138
Slackware64 multi-lib from AlienBOB 13.1 can't compile VMware Server 2.0.2 build-203138
1. It does run wine 32 bit version ( a package called "64" bit, but there ain't no 64bit wine, right?)
2. It runs 32 bit programs in that wine.
3. It is vanilla 2.6.33.4 kernel 64bit so far.
Shall I go for VirtualBox or can I get VMWare to work any soon?
I already did the
VMware-server-2.0.2-203138-update-2.patch
and got a bit further, but the build of the vmmon just "goes to pieces"?
Code:
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.33.4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.33.4'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:20:
/tmp/vmware-config3/vmmon-only/./include/driver-config.h:35:28: error: linux/autoconf.h: No such file or directory
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:31:
/tmp/vmware-config3/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:70: note: previous declaration of 'poll_initwait' was here
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/tmp/vmware-config3/vmmon-only/linux/driver.c:1424: error: too many arguments to function 'smp_call_function'
/tmp/vmware-config3/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/vmware-config3/vmmon-only/linux/driver.c:2008: error: too many arguments to function 'smp_call_function'
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33.4'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".
Execution aborted.
bash-4.1#
|
|
|
|
07-08-2010, 11:01 AM
|
#2
|
|
Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,295
|
This appears to be it
Quote:
|
/tmp/vmware-config3/vmmon-only/./include/driver-config.h:35:28: error: linux/autoconf.h: No such file or directory
|
/usr/include/linux/autoconf.h sounds like a kernel header. Want to go and check that out?
|
|
|
|
07-08-2010, 11:33 AM
|
#3
|
|
Senior Member
Registered: May 2006
Posts: 3,012
|
In newer kernels, some headers were moved from include/linux/ to include/generated/ . Simply symlinking them to include/linux/ should work.
Adam
|
|
|
|
07-08-2010, 02:24 PM
|
#4
|
|
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
|
As adamk75 says, this is because certain headers have been moved in the newer kernels. I had this problem with some module building apps. To fix it run this as root:
Code:
cd /usr/src/linux/include/linux && ln -s ../generated/autoconf.h
|
|
|
|
07-08-2010, 02:58 PM
|
#5
|
|
Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 645
Original Poster
Rep:
|
the file has been moved since vmware is reldased. symlinkig won't do away with it (as it didn't, i tried that)
i hoped for something like that patch?
as i wrote, i got pretty far from vanilla vmware. the server seems to be falling behind the station package, which seems to be running on s64_13.1 ?
|
|
|
|
07-08-2010, 10:25 PM
|
#6
|
|
Member
Registered: Apr 2008
Distribution: Gentoo
Posts: 198
Rep:
|
Unless you have a specific reason for using VMWare server, try VMWare player 3.0.1. It will let you create virtual machines just like VMWare server does, but with a lot less overhead. I used it a few months back when I found out I couldn't run DirectX on a Windows virtual machine with VMWare server and had good luck with it.
Otherwise there should be a patch available somewhere to get it working with your newer kernel...
Last edited by vik; 07-08-2010 at 10:32 PM.
|
|
|
|
07-09-2010, 05:57 AM
|
#7
|
|
Member
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 513
Rep: 
|
Quote:
Originally Posted by SCerovec
Shall I go for VirtualBox or can I get VMWare to work any soon?
|
Actually, the only times that Sun VirtualBox hasn't worked out for me is when trying to use it in virtualizing w/pfSense.
I looked and tried everything I could and ended up using VMware instead - problem solved, but wrt that particular BSD firewall system there were networking issues that I just could not overcome in VirtualBox, and at the urging of others, eventually caved and implemented as a VMware applicance.
But otherwise, I still kinda prefer VirtualBox in General.
If you use it I recommend the PUEL, not the OSE version, and also to compile from scratch instead of trying to use the OSE SlackBuild. Just my prefs, and pretty much the consensus I got from HERE
Last edited by tallship; 07-09-2010 at 06:03 AM.
|
|
|
|
07-09-2010, 06:04 AM
|
#8
|
|
Senior Member
Registered: May 2006
Posts: 3,012
|
Maybe I'm missing something, but do either of these files exist?
/lib/modules/2.6.33.4/build/include/linux/autoconf.h
/lib/modules/2.6.33.4/build/include/generated/autoconf.h
Adam
|
|
|
|
07-09-2010, 06:56 AM
|
#9
|
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,756
|
Quote:
|
Originally Posted by SCerovec
Slackware64 multi-lib from AlienBOB 13.1 can't compile VMware Server 2.0.2 build-203138
|
At the risk of being obnoxious, you did get the VMware server 64 bit package, didn't you? I've got that build running on my Slackware64 13.1 system by using the same patch you found and making the symlinks in the kernel source (by the way, I followed the process here). Once those two things were done, it compiled fine against the stock hugesmp kernel.
|
|
|
|
07-09-2010, 02:54 PM
|
#10
|
|
Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 645
Original Poster
Rep:
|
They are (missing)
Quote:
Originally Posted by adamk75
Maybe I'm missing something, but do either of these files exist?
/lib/modules/2.6.33.4/build/include/linux/autoconf.h
/lib/modules/2.6.33.4/build/include/generated/autoconf.h
Adam
|
To get the later, You have to
Code:
make && make modules && make bzImage
as the sources are made
so they are "clean"
The former is undergone development and migrated to the later.
The script can be modified to reflect this, but I'm no developer (tried and failed at this)
For the record:
I tried to install the i386 package on a 12.2 32bit system (same machine multi boot) and it wen *flawlessly* -one shot=one kill.
So what gives?
Stevan C.
Last edited by SCerovec; 07-09-2010 at 02:56 PM.
Reason: yikes! I made an error! :)
|
|
|
|
07-09-2010, 03:01 PM
|
#11
|
|
Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 645
Original Poster
Rep:
|
Quote:
Originally Posted by Hangdog42
At the risk of being obnoxious, you did get the VMware server 64 bit package, didn't you? I've got that build running on my Slackware64 13.1 system by using the same patch you found and making the symlinks in the kernel source (by the way, I followed the process here). Once those two things were done, it compiled fine against the stock hugesmp kernel.
|
As far as I understand it, it's about some change in the delay structures of the kernel?
Yes I did download the 64bit version in the title (copy->pasted the build just in case)
And Yes i did "step by step" the HOWTO of the patch You referred to 
And then i went even further and maybe (just maybe) i should make a clean start over?
Have no time until next weekend now 
Meanwhile a patch or a script would be "life saver"
Do You had BOB's multilib on Your system too when You installed?
Will this require "do this before that" procedure in the end?
Stevan C.
|
|
|
|
07-10-2010, 08:55 AM
|
#12
|
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,756
|
Quote:
|
As far as I understand it, it's about some change in the delay structures of the kernel?
|
From VMware's point of view I'm not so sure it is a change in the way the kernel operates as a change in the location of some of the files in the kernel source tree.
Quote:
|
Do You had BOB's multilib on Your system too when You installed?
|
Yeah I did. Basically I upgraded 13.0 to 13.1, upgraded the video drivers and then upgraded the multilib packages. Then I re-installed vmware and it bombed out. After doing some research, I found that the move of several files from /usr/src/linux/include/linux to /usr/src/linux/include/generated was the most likely culprit. Making symlinks in /usr/src/linux/include/linux for /usr/src/linux/include/generated/autoconf.h and /usr/src/linux/include/generated/utsrelease.h allowed VMWare to compile (along with applying the patch).
Quote:
|
Will this require "do this before that" procedure in the end?
|
I think you have to have the patch applied and the autoconf.h/utsrelease.h links created before things go smoothly.
Quote:
|
And then i went even further and maybe (just maybe) i should make a clean start over?
|
I've found that when there is a kernel upgrade, re-installing seems to be the only way to go. That doesn't mean you have to re-create your virtual machines however. Running the vmware-uninstall.pl script and then the following the vmware install procedure does just fine in my case.
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|