> > 396220 has been around for almost a year. Before that the problem was
> > fixdep in 342248. I don't seem to generate this file for any of my
> > kernels, so I don't even know what it looks like.
>
> It's not generated, it's in the source tree (for recent kernels only).
I was speculating about generating the file upon make config, thinking
Bill had the full kernel source in order to build external modules, not
just the linux-headers package.
I cannot find any mention of modules.lds in kernel-package or the 2.6.21
Debian source package. I'll hack it into debian/rules.real. BTW, it's
already in there for 2.6.21, only in the
install-headers-$(ARCH)-$(SUBARCH)-$(FLAVOR)
target, and there it's only a symlink pointing to the nonexisting file in
/usr/src/linux-headers (that ought to have been installed by the
install-headers-$(ARCH)-$(SUBARCH) target) from /usr/src/... Complicated.
Christian: please apply the attached patch. Bill: please try to just add
module.lds like I posted. You might be missing arch/m68k/kernel/asm-offsets.s
as well; if so, you'd have to build the kernel from source and build the
modules against the kernel tree.
Michael
--- debian/rules.real.org 2007-05-18 09:44:45.000000000 +0200
+++ debian/rules.real 2007-06-21 17:30:03.000000000 +0200
@@ -259,7 +259,7 @@
find include/asm-generic -print; \
for i in $(KERNEL_HEADER_DIRS); do \
find arch/$$i \
- \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Rules.make' \)
-print; \
+ \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Rules.make' -o
-name 'module.lds' \) -print; \
find include/asm-$$i -print; \
done; \
) \