Building an embedded Samba4

Tomasz Chmielewski mangoo at wpkg.org
Sun Feb 5 20:29:12 GMT 2006


Jeremy Allison schrieb:
> On Thu, Feb 02, 2006 at 08:50:50PM +0100, Tomasz Chmielewski wrote:
> 
>>- how to build it yourself - Samba doesn't cross-compile very well, in 
>>fact, its ./configure script refuses to run at some point when it 
>>detects we're gonna cross-compile
> 
> 
> If you want to send in fixes for that I'd be happy to review them.


Well, I described it here:

https://bugzilla.samba.org/show_bug.cgi?id=3424


More info:

When ./configure script detects that:

if test "$cross_compiling" = yes; then

it quits with:

   { echo "$as_me:$LINENO: WARNING: cannot run when cross-compiling" >&5

My ugly hack was to change '"$cross_compiling" = yes' to 
'"$cross_compiling" = blah' (in several places in ./configure).

However, I'm unable to produce a patch or resolve it in a better way.


-- 
Tomasz Chmielewski
http://wpkg.org


More information about the samba-technical mailing list