Re: how-to compile 64 bit modules on 32 bit system with m-a ?
В пн, 2007-07-02 в 14:26 +0200, Goswin von Brederlow написа:
> Jamil Djadala <jambo@datamax.bg> writes:
>
> > Hi all,
> > I have 32 bit debian(testing) with 64 bit stock kernel
> > (linux-image-2.6.18-4-amd64)
> >
> > (of course i have 64 bit processor)
> >
> > is there standard way to build 64 bit modules (nvidia, rt2500) with
> > module-assistant ?
> >
> > i guess 64bit chroot may be solution, but any other ?
>
> Doesn't it just work? Works for the kernel as it automatically adds
> -m64 as needed.
it doesn't work.
after some testing i discover these results:
under 32 bit kernel, command
m-a -l 2.6.21-2-k7 a-i kqemu
end successfully, but
m-a -l 2.6.21-2-amd64 a-i kqemu
end with error:
make[4]: *** No rule to make target
`/usr/src/modules/kqemu/kqemu-mod-x86_64.o', needed by
`/usr/src/modules/kqemu/kqemu-mod.o'. Stop.
under 64 bit kernel, both
m-a -l 2.6.21-2-k7 a-i kqemu
m-a -l 2.6.21-2-amd64 a-i kqemu
fail to compile.
--
Jamil Djadala <jambo@datamax.bg>
Reply to: