Cross compiling samba 4.1

Gustavo Zacarias gustavo at
Fri Jan 17 06:47:07 MST 2014

On 01/15/2014 04:48 PM, Andrew Bartlett wrote:

>> At the moment i've got this building with buildroot, so it's very
>> BR-specific to document i think.
>> But yes, once the details are ironed out i can update the wiki.
>> Regards.
> Thank you so much for taking this challenge on.  This has become quite a
> serious issue for an important set of users, but sadly not one we have
> been able to get stuck into ourselves.  We really appreciate this being
> fixed up.
> I wonder if it would be possible to create some kind of test for this,
> that works (some of) the cross-compile code path without needing a full
> build-root?  That would help avoid regressions in this area.

Hi Andrew.
Buildroot isn't hard to use, for automated tests you could use external
toolchains since that's outside the scope and just say "hey build me
samba4" - it uses Kconfig so a simple enough defconfig is enough for that.
It will automatically download anything that's required.
You'd just need to switch to samba git master instead of a tarball to
test the latest, but that's just a simple patch/override away once the
samba4 package is up in buildroot git/release.

More information about the samba-technical mailing list