[OpenAFS] Cross compiling openafs modules in Debian stable works with 1.4.7 but fail with 1.4.11 or 1.4.12
Mon, 03 May 2010 19:05:04 -0700
Jose Calhariz <firstname.lastname@example.org> writes:
> I used to cross compile openafs modules to amd64/x86_64 linux kernel
> from a i386 userland. I am using the kernel-package command to produce
> a debian package with the openafs modules. The last time I compiled new
> modules was with openafs 1.4.7, for kernel 2.6.26.
> Now I try to do the same with openafs modules 1.4.11 or 1.4.12 for
> Linux kernel 2.6.26. But it fails with what seams to be typical cross
> compiling problems. I Have looked into the code and logs from
> openafs-modules-source and kernel-package. And I found nothing wrong,
> or different from openafs 1.4.7. The proper flags for cross-compiling
> seams to be correct, the generated .o files are for x86_64. The full
> error messages are in the end of the email.
It doesn't work because make libafs_tree only includes the files required
for the architecture one runs it on. The OpenAFS Debian packages switched
from a full copy of the source tree to using libafs_tree in that time
frame. I haven't had a chance to try to fix it yet. If someone else beat
me to it, I definitely wouldn't complain.
Russ Allbery (email@example.com) <http://www.eyrie.org/~eagle/>