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

Adrian Bridgett adrian at smop.co.uk
Wed Apr 9 22:23:25 UTC 2008


the kernel-image builds just fine with this FWIW so there might be
some useful stuff there.

The information is certainly a little thin on the ground, drbd8 has
some stuff, but that then tries to call amd64-linux-gcc (which
admitedly I did actually have from
http://www.debian-administration.org/users/jonesy/weblog/1)

http://wiki.debian.org/DebianAMD64Faq says that this is how the kernel
should be built.  

What would be interesting is what the correct calls are (the
amdwrappers tarball from the first URL calls objcopy and objdump as
is, but adds "--target=elf64-x86-64" to nm, "-melf_x86_64" to ld and
adds "-m64" to gcc (removing -m32 if it is present).

Perhaps it's be worth asking the kernel maintainers for some guidance?

Adrian
-- 
Email: adrian at smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org





More information about the Pkg-voip-maintainers mailing list