Re: kernel source tree
On Thursday 04 March 2004 19:40, CW Harris wrote:
> On Thu, Mar 04, 2004 at 09:47:38AM -0700, Monique Y. Herman wrote:
> > On 2004-03-04, Richard Lyons penned:
> > > Another really dim question coming up...
> > >
> > > I'm trying to install thinkpad drivers for Debian. Instructions
> > > say to unpack the thinkpad.tar.gz (no problem there) and then to
> > > "cd to the root of the source tree for the kernel for which you
> > > want to compile modules, e.g., /usr/src/linux. Run 'make-kpkg
> > > --rootcmd=fakeroot modules-image'..." I innocently assumed the
> > > root of the source tree would be /usr/src/linux-2.4.22. But when
> > > I do 'make-kpkg modules-image', I get:
> > > "We do not seem to be in a top level linux kernel source
> > > directory tree..."
> > > So I am evidently wrong. I tried installing (via aptitude) the
> > > kernel-source-2.4.22 package, and also
> > > kernel-headers-2.4.22-xfs-386, but that didn't help.
> > >
> > > Can someone kindly tell me what is meant by "the root of the
> > > source tree"?
>
> The top level directory of the kernel source. E.g.
> /usr/src/linux-2.4.22/ or /home/me/src/linux-2.4.25/
That means it ought to be in /usr/src/linux-2.4.22, as there is no ~/src
directory. It is a new install of Mepis, so perhaps Mepis has
configured things oddly. But how do I find the correct location? What
is in it that make-kpkg is looking for. I could use locate to find it
if I knew what it wanted.
--
richard
Reply to: