On Sunday 07 January 2007 19:11, Eduard Bloch wrote: > #include <hallo.h> > > * David Baron [Sun, Jan 07 2007, 05:49:00PM]: > > Package: module-assistant > > Version: 0.10.8 > > Severity: normal > > > > The following scenarios render further builds quite problematic, usually > > necessistating reuntar of kernel source (note that building against > > source, not installed headers): > > 1. build for current running kernel, linux->another kernel source > > 2. build for another kernel, linux->current kernel cource > > Once this is done, even if the build is perfectly fine, installable, > > modprobable, the linux-> source is not tainted and attempts to build the > > module for this source will build for the choice somehow recorded. > > > > If I am using --kernel-dir=/path/to/kernel/source, the linux pointer > > should be IGNORED since I have specified what I want. Same for set > > KERNELDIRS env. > > > > If I am building for the current running kernel, it should also be > > ignored if it points to a different kernel source. > > What exactly is your problem? Describe symptoms, not your guessings > please. > > The value is passed to your module-source package as $KSRC. If its build > system does ignore the value and blindly chooses /usr/src/linux, I > cannot do much for you.
I believe that the build is correct but the kernel version is taken from the symlinked sources. This somehow gets set !!! in the target kernel sources which is why I must replace the source tree to get the module built for the kernel version. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

