Quote:
Originally Posted by NiLuJe
@twobob:
> configure:8146: checking that the C compiler understands negative enum values
> configure:8153: error: in `/usr/local/src/samba-3.6.7/source3':
> configure:8155: error: cannot run test program while cross compiling
Checking the configure at said place reveals:
8169 > if ac_fn_c_try_run "$LINENO"; then :
8170 > samba_cv_CC_NEGATIVE_ENUM_VALUES=yes
8171 > else
8172 > samba_cv_CC_NEGATIVE_ENUM_VALUES=no
8173 > fi
As for the proper value, that probably depends on your TC, you'll have to check the compiled test yourself manually  .
|
The configure script detects cross_compiling={yes,no} but the define of ac_fn_c_try_run is not conditionalized by "cross_compiling" (it says so in the function's comments and code).
Duh...
So if Scratchbox-2 can't do, it will have to wait until I have an emulator image that can build it.
Note: This one also checks for **both** python and perl.
Who wrote that Samba would be cross-compile friendly? ? ?