On 17/03/2014 12:34, Jose Vidal wrote: > target thumb C++: clatd_test <= external/android-clat/clatd_test.cpp > external/android-clat/clatd_test.cpp: In function 'void > do_translate_packet(const uint8_t*, size_t, uint8_t*, size_t*, char const*)': > external/android-clat/clatd_test.cpp:424:25: error: 'SOCK_NONBLOCK' was not > declared in this scope
SOCK_NONBLOCK is not defined in older versions of bionic, it's been added only recently: https://android-review.googlesource.com/#/c/68291/ Since the underlying kernel supports it you have two options: either tweak the code not to use it (you can fallback have it fall back to fcntl() to set that parameter) or define it yourself to the appropriate value (which is O_NONBLOCK). The latter is a hack but should work. Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
