On Fri, Mar 05, 2004 at 09:56:33AM +0100, Richard Lyons wrote: > On Friday 05 March 2004 01:39, CW Harris wrote: > > On Thu, Mar 04, 2004 at 09:34:27PM +0100, Richard Lyons wrote: <snip> > > Maybe I'm misunderstanding. You do: > > cd /usr/src/linux-2.4.22 > > make-kpkg modules-image > > > > and you get the error: > > > > > > "We do not seem to be in a top level linux kernel source > > > > > > directory tree..." > > Exactly so. > > > > > And yet /usr/src/linux-2.4.22 contains your kernel source? > > Is this correct? > > well, I just discovered that when I installed kernel-source package, it > only put a .tar.bz2 file there. So I unpacked it and now there are > thousands (? hundreds, anyway) of .c and .h and other files in a tree > there. > > Now I am not qualified to know if the right things are > there. /usr/src/linux-2.4.22 contains 'Makefile', 'Rules.make' and > 'acpi-20030916-2.4.22.diff' and the capitalized files, and directories: > -/debian/ -- buildinfo, changelog, control, files, rules > -/include/ -- linux, asm-i386 and 6 other dirs full of .h files > -/scripts/ -- 30-ish .pl .tk .c .h and other files > Is that what I should be seeing? > > Anyway, the result of 'make-kpkg modules-image' is still the same.
So you cd /usr/src/linux-2.4.22/, it contains "Makefile" and Rules.make, and when you issue "make-kpkg modules-image" it still says: > > "We do not seem to be in a top level linux kernel source > > directory tree..." That sounds strange. I suppose the modules-image target might require that you build the kernel first, but if that is the case I would expect a different error message than that. I took a quick look at the kernel-package docs, including the README.modules, and I didn't get any clues from that. The only other thing I can suggest is to look for documentation in the thinkpad module directory that suggests other steps required. > > > > > It seems strange, but if that is so I would check that > > /usr/src/modules contains your modules you are trying to install. > > I checked and they seem to me to be there. There > is /usr/src/modules/thinkpad/2.4/drivers/ containing a Makefile and > 6 .c files and /usr/src/modules/thinkpad/2.4/include containing 8 .h > files, and similar for 2.2 and 2.6. > Also /usr/src/modules/thinkpad/debian/ containing some .sed files and > 'buildpkg' and 'rules'. Does that sound right? > > > If that is so, then I'm stumped. > > Not half so stumped as I am :-( > > -- > richard > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Chris Harris <[EMAIL PROTECTED]> ------------------------------------------- GNU/Linux --- The best things in life are free. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]