On Wed, Nov 23, 2005 at 01:05:47PM -0600, Moshe Yudkowsky wrote:
> Package: linux-headers-2.6.14-2-k7
> Version: 2.6.14-3
> Severity: serious
> Justification: no longer builds from source

linux-headers-2.6.14-2-k7 is no source package, so it can't fail to
build.

> 
> I am attempting to build my modules for 2.6.14-2-k7, and this fails. The 
> failure is because the Makefile in <headers>/scripts/basic attempts, 
> incorrectly (AFAICT) to build "fixdep" instead of using the "fixdep" that is 
> already in the directory:
> 
> linux# make-kpkg modules
> /usr/bin/make    \
>                                  ARCH=i386 oldconfig
> make[1]: Entering directory `/usr/src/linux-headers-2.6.14-2-k7'
>   HOSTCC  scripts/basic/fixdep
> gcc: scripts/basic/fixdep.c: No such file or directory
> gcc: no input files
> make[2]: *** [scripts/basic/fixdep] Error 1
> make[1]: *** [scripts_basic] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.14-2-k7'
> make: *** [stamp-kernel-configure] Error 2

oldconfig is not called by kbuild to build modules, what do you do? It
is not even appropriate to call it as the config is always uptodate in
the headers package and this will probably invalidate the symbol version
files.

> Please note that I'm simply following the same procedure I've always followed 
> to build modules. Previous versions of linux-headers did NOT have a Makefile 
> in the scripts/basic directory. I realize that there's probably a simple fix 
> for this, but unravelling the *intent* of a Makefile is a little tricky at 
> times...

What happens if you compile it with "make -C /usr/src/$bla M=$(pwd)"?

Bastian

-- 
Punishment becomes ineffective after a certain point.  Men become insensitive.
                -- Eneg, "Patterns of Force", stardate 2534.7

Reply via email to