[PATCH 0/4] Cross compile fixes
gustavo at zacarias.com.ar
Wed Apr 9 08:20:21 MDT 2014
On 04/09/2014 01:29 AM, Andrew Bartlett wrote:
> I'm sorry, on FreeBSD it gives:
> Couldn't determine size of '((struct utmp *)NULL)->ut_line'
That's because it's using CHECK_SIZEOF as a validation test instead of
what it was intended as (in source3/wscript).
> Can you please re-submit with that fixed, and the diff output on FreeBSD
> also? This stuff is incredibly tedious, but it will be better if you
> can do the testing locally.
> The command I ran was:
> ./configure --with-perl-vendorarch=/usr/local/perl
> --with-perl-vendorlib=/usr/local/perl --without-ldap --without-ads
Ok, i've added a 'critical' parameter to CHECK_SIZEOF with a default
value of True and patched that test to call it with False so it doesn't
fail critically, and cooked up a patch for this test to use that.
That makes the diff give no differences except for the WORDS_BIGENDIAN
undef comment as before.
I know it's tedious for both of us, i've got no problem in using more
test cases as long as i've got access to them (for example *BSD in qemu
works nice so no problem, other non-x86 unixes i can't help too much at
As long as you don't send me packing to some obscure place i'm fine :)
Relevant patches follow.
More information about the samba-technical