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

Stuart Teasdale stu at drogna.org.uk
Wed Oct 10 18:45:57 UTC 2007


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

Stu





More information about the Pkg-voip-maintainers mailing list