View Single Post
Old 08-23-2012, 12:53 PM   #18
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@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? ? ?
knc1 is offline   Reply With Quote