On Mon, Nov 28, 2005 at 05:54:11AM -0600, Moshe Yudkowsky wrote: > > > > >> My current symlink is /usr/src/linux -> > >/usr/src/linux-headers.2.6.14-2-k7. > > > >Don do this, this is not supposed to be supported anymore. You need to set > >KSRC=/usr/src/linux-headers.2.6.14-2-k7, or even better > >KSRC=/lib/modules/2.6.14-2-k7, which is the default upstream way of > >handling > >this. > > > Could you please provide a reference to what the correct procedure is? I > can't find it in the Debian documentation, or from reading the Makefile.
It is upcomign, there is a wiki page by Jonas about this in the debian wiki (wiki.debian.org, search for kernel and modules). > While I used to use KSRC=<something> to build my modules, today KSRC > doesn't appear in any of the Makefiles in the linux-headers-2.6.14-2-k7 Well, the KSRC=/lib/modules/`uname -r`/build is the default build procedure of most out-of-tree kernel modules. > directory structure. (KBUILD_CHECKSRC does.) Using KSRC= and make-kpkg in > /usr/src gives me an error message -- "we do not seem to be in a top level > linux source tree." Sorry, forgot the /build part. > Instead, I tried to execute "make-kpkg modules" directly inside > /usr/src/linux-headers-2.6.14-2-k7, and it failed with the "fixdep.c" > complaint. If I remove scripts/basic/Makfile, I get a complaint about a > missing Makefile. Yeah, this is a bug we need to solve, i am not sure about what the issue is here though. > Again, please let me know if I can be of any further assistance. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]