./configure script doesn't allow to cross-compile Samba. If it's run with options (in an environment that can cross-compile for that platform): ./configure.orig --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu It quits with the following error: configure.orig: error: cannot run test program while cross compiling See `config.log' for more details. There is no option in configure to disable "test program". It is necesary to edit ./configure manually to allow compilation for another platform.
If you have a patch for this, please post it to samba-technical@samba.org. No one else has this featuer on their radar.