Bug#446062: zaptel-source: Module build fails for cross compile

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Feb 9 12:18:04 UTC 2008


On Wed, Oct 10, 2007 at 07:45:57PM +0100, Stuart Teasdale wrote:
> 
> On 10 Oct 2007, at 18:07, Tzafrir Cohen wrote:
> 
> >On Wed, Oct 10, 2007 at 10:13:15AM +0100, Stuart Teasdale wrote:
> >
> >>While trying to build this package on i386 to create an AMD64 capable
> >>module the build fails with:
> >>
> >>make[3]: -gcc-4.1: Command not found
> >>
> >>This occurs with both make-kpkg and module-assistant, and seems to be
> >>down to the build system not uderstanding how to deal with
> >>$CROSS-COMPILE being set to "-" (as is documented to do in the  
> >>make-kpkg
> >>man page).
> >
> >What build command and relevant setup have you used?
> 
> For make-kpkg, I used the following (with pretty much the stock  
> kernel config from linux-image-2.6.22-2-amd64_2.6.22-4_i386.deb):
> 
>  make-kpkg -revision=1.tp --append-to-version=-amd64 --arch amd64 -- 
> cross-compile - --initrd kernel-image
> 
> and
> 
>  make-kpkg -revision=1.tp --append-to-version=-amd64 --arch amd64 -- 
> cross-compile - --initrd modules

Sorry, but I still fail to see how this is relevant to zaptel-source .
I looked at some other module packages and failed to figure out one of
them that does handle this.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list