[OpenAFS] Cross compiling openafs modules in Debian stable
works with 1.4.7 but fail with 1.4.11 or 1.4.12
Jose Calhariz
jose.calhariz@tagus.ist.utl.pt
Tue, 4 May 2010 03:14:12 +0100
On Mon, May 03, 2010 at 07:05:04PM -0700, Russ Allbery wrote:
> Jose Calhariz <jose.calhariz@tagus.ist.utl.pt> 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.
>
How hard is to fix the Debian packages? I can try to fix it.
Jose Calhariz
--
--
So mesmo um grande esnobismo espiritual faz com que as
pessoas acreditem que podem ser felizes sem
dinheiro.
-- Albert Camus