Re: (vmware) /usr/include/linux and /usr/include/asm?
My bad. the install.pl, IIRC, suggests unpacking vmnet-only.tar and/or
vmmon-only.tar and making the modules by hand if it can't autobuild them.
You'll get vmnet-only/Makefile and vmmon-only/Makefile. Again, IIRC. My
vmware box is currently in M$ mode so I can play a game. :>
On Mon, 28 Jun 1999, Bob Nielsen wrote:
> I just looked in vmware-distrib and there ISN'T any Makefile (?). It
> looks like install.pl handles it (somehow, it's beyond my grasp of
> perl).
>
> Bob
>
> On Mon, Jun 28, 1999 at 06:00:50PM -0700, ferret@phonewave.net wrote:
> >
> > What I've done is put my kernel source's include path in the vmware
> > Makefile's include path (FI -I/usr/src/linux-2.3.6/include) and it has
> > worked fine for me.
> >
> > I've also compiled the modules (and my kernel) with egcs (I'm running
> > Slink - have had troubles upgrading to Potato; wanted to see what USB
> > stuff breaks, if any) and -mpentium, and only have framebuffer conflicts
> > so far.
> >
> > On Mon, 28 Jun 1999, Bob Nielsen wrote:
> >
> > > On Mon, Jun 28, 1999 at 11:24:55AM -0400, Paul D. Smith wrote:
> > > > I tried to install vmware over the weekend and it wanted to compile a
> > > > kernel module for my 2.2.10 kernel. It complained because my linux
> > > > kernel header version was still 2.2.9. I looked and sure enough,
> > > > /usr/include/linux and /usr/include/asm were both real directories with
> > > > real files.
> > > >
> > > > Aren't these typically supposed to be symlinks to /usr/src/linux/...?
> > > >
> > > > Also, how did the headers there get up to 2.2.9? I haven't done
> > > > anything fancy to copy headers into those directories, and I've been
> > > > downloading kernel patches from www.linuxhq.com etc, not the Debian
> > > > packages. Does the normal kernel build usually install these? I wonder
> > > > why it didn't for 2.2.10?
> > >
> > > In Debian, the headers in /usr/include/linux and /usr/include/asm are
> > > not symlinks to the kernel source, but are supplied by libc6-dev. As
> > > this is periodically upgraded, they may be based on newer kernels--the
> > > current potato version comes from 2.2.9.
> > >
> > > What I did to compile the vmware modules is to mv /usr/lib/linux to some
> > > other location and replace it with a symlink to the headers in my 2.2.10
> > > kernel source. You can probably use symlinks all the time, but you
> > > should read /usr/doc/libc6-dev/FAQ.Debian.gz to understand the rationale
> > > as to why the headers are packaged this way.
> > >
> > > Bob
> > >
> > > --
> > > Bob Nielsen Internet: nielsen@primenet.com
> > > Tucson, AZ AMPRnet: w6swe@w6swe.ampr.org
> > > DM42nh http://www.primenet.com/~nielsen
> > >
> > >
> > > --
> > > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> > >
> >
>
> --
> Bob Nielsen Internet: nielsen@primenet.com
> Tucson, AZ AMPRnet: w6swe@w6swe.ampr.org
> DM42nh http://www.primenet.com/~nielsen
>
Reply to: