[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I use the linux-headers with the linux-source?

Stephen Cormier ha scritto:
On Thursday 18 May 2006 16:59, Marco wrote:
#locate autoconf.h

Any idea?

Have you configured/compiled the source tree yet?

$ locate autoconf.h

The above is from my compiled and installed kernel tree whereas if I move it to a backup and untar a new tree the file does not exist.

$ ls /usr/src/linux-2.6.16/include/linux/autoconf.h
ls: /usr/src/linux-2.6.16/include/linux/autoconf.h: No such file or directory

$ ls /usr/src/linux-2.6.16.orig/include/linux/autoconf.h

I made some tests last night and I think i've found the problem.
here is the procedure I followed to compile the kernel:
#apt-get install linux-source-2.6.15
# tar -jxf /usr/src/linux-source-2.6.15.tar.bz2
# cd /usr/src/linux-source-2.6.15/
# make-kpkg clean
# make menuconfig
# make oldconfig
# make-kpkg --revision 'name.version' kernel_image modules_image
and after

As you can see, I think the problem is the final "make kpkg clean" command, isn't it? What should I type to clean up the code after the kernel is compiled, without deleting "the useful bits"?

Thanks a lot!

Reply to: