When trying to compile on the build environment on Squeeze 64 bit (installed with makedevenv-7) I found out a bug on the mktree.c (the code is assuming 32 bits for unsigned long which is not a case on 64 bit build environments). This is explained at:
http://lkml.indiana.edu/hypermail/linux/kernel/0408.0/0846.html
http://lkml.indiana.edu/hypermail/linux/kernel/0408.0/0865.html
Could Chris add the attached patch to kernel-1.tar.gz?
Done, in makedevenv-8 with kernel-3.tar.gz.
Thanks for your work.